Commit graph

396 commits

Author SHA1 Message Date
Zach Daniel
03d6d29cd0 chore: release version v0.5.16 2021-10-21 18:42:24 -04:00
Zach Daniel
be5c0de5f1 fix: fix some error transforming logic 2021-10-21 18:42:09 -04:00
Zach Daniel
8f5b0f9df7 fix: forms now receive an error if no nested path matches the error path 2021-10-21 18:13:33 -04:00
kernel-io
ed062a3007
bugfix: fix typo (#28) 2021-10-16 22:08:03 -04:00
Zach Daniel
9248548d4f chore: release version v0.5.15 2021-09-30 15:26:03 -04:00
Zach Daniel
5326b2d198 fix: ensure transform_errors is never unset
improvement: always pass errors to `transform_errors/2`
2021-09-30 15:24:46 -04:00
kernel-io
eacf05487b
improvement: improve typespec on errors/2 (#27)
Co-authored-by: kernel-io <git@omnium.co>
2021-09-30 15:24:40 -04:00
kernel-io
01720f931e
improvement: Allow Phoenix 1.6.0 (#25)
Co-authored-by: kernel-io <git@omnium.co>
2021-09-24 19:45:00 -04:00
Zach Daniel
c85818fd3a chore: release version v0.5.14 2021-09-15 12:56:37 -04:00
Zach Daniel
d6f5f3266f fix: only include primary key's in hidden 2021-09-15 12:55:23 -04:00
Zach Daniel
d707fc3884 improvement: work on LiveView being available for regular sockets
fix: don't show hidden primary keys
2021-09-14 17:17:21 -04:00
Zach Daniel
ed87f0b690 chore: add file to gitignore 2021-09-09 11:23:40 -04:00
Zach Daniel
4e077aa46f fix: don't add forms for remaining data 2021-09-06 22:43:06 -04:00
Zach Daniel
c34812f31e chore: release version v0.5.13 2021-09-06 14:27:28 -04:00
Zach Daniel
99405a3894 fix: don't guess on data matches w/ sparse?: true 2021-09-06 14:26:53 -04:00
Zach Daniel
fd1b8c7564 chore: release version v0.5.12 2021-09-06 13:18:44 -04:00
Zach Daniel
4a0ae07118 fix: handle forms for to_one relationships with data better 2021-09-06 13:18:22 -04:00
Zach Daniel
4b320007f6 chore: release version v0.5.11 2021-08-31 22:56:40 -04:00
Zach Daniel
16cf384e5e test: fix failing test cases 2021-08-27 13:21:48 -04:00
kernel-io
7fbe5a365f
improvement: add phoenix_html 3.x to allowed deps (#24)
Co-authored-by: kernel-io <git@omnium.co>
2021-08-27 11:48:26 -04:00
Zach Daniel
2075d4e975 improvement: experimental Form.params options
fix: don't allow embeds to be sparse
2021-08-27 01:46:21 -04:00
Zach Daniel
ce9e7fc639 chore: add back in sparse forms, but fix ordering issue 2021-08-25 00:58:57 -04:00
Zach Daniel
2bd8a09b64 Revert "fix: remove sparse lists"
This reverts commit 8e2c34d9d0.
2021-08-25 00:47:49 -04:00
Zach Daniel
8e2c34d9d0 fix: remove sparse lists 2021-08-25 00:21:36 -04:00
Zach Daniel
0fd1709f89 fix: don't fallback to list with index sort 2021-08-24 23:47:00 -04:00
Zach Daniel
5cb09cac87 fix: only access params["_touched"] w/ map params 2021-08-24 00:46:32 -04:00
Zach Daniel
71f12f6806 fix: don't check params in get_changing_value/2 2021-08-18 01:38:38 -04:00
Zach Daniel
f208edf6e8 fix: don't check params for attributes/arguments in input_value/2 2021-08-18 01:34:08 -04:00
Zach Daniel
deeea97049 improvement: add hidden option to params
improvement: implement error protocol for invalid relationship
2021-08-16 10:56:08 -04:00
Zach Daniel
f194e157ae improvement: undo some data tracking changes that didn't work
improvement: continue improving sparse forms
2021-08-15 11:30:46 -04:00
Zach Daniel
f5b1d56936 improvement: more work on sparse forms 2021-08-12 18:15:13 -04:00
Zach Daniel
f9a49bc3f5 chore: fix lint 2021-08-11 21:02:08 -04:00
Zach Daniel
942c69dafb improvement: track touched forms for saner removal cases
improvement: add `sparse?` option for list forms
improvement: add auto options, including sparse forms and relationship_fetcher
2021-08-11 18:48:52 -04:00
Zach Daniel
d88b96dda9 chore: release version v0.5.10 2021-08-11 10:43:36 -04:00
Zach Daniel
b7a61d78a0 fix: if data was nilled, don't make a form with it 2021-08-11 01:32:09 -04:00
Zach Daniel
48df4c1eb5 improvement: customize relationship fetcher (experimental)
fix: attempt to fix data removal for to_one relationships
2021-08-11 01:27:07 -04:00
Zach Daniel
c4aac1d132 chore: set ash version in CI 2021-08-05 02:08:20 -04:00
Zach Daniel
aa97ffe2f2 chore: release version v0.5.9 2021-08-05 02:07:36 -04:00
Darren Black
913947b457
test: Failing test (#23) 2021-08-05 00:45:09 -04:00
Zach Daniel
e43ab34f2a fix: don't return NotLoaded from input_value
improvement: add `Form.value/2`
2021-08-03 22:59:04 -04:00
Zach Daniel
74d9446f96 chore: fix the lockfile 2021-08-01 13:19:47 -04:00
Zach Daniel
56f7240da8 chore: release version v0.5.8 2021-08-01 13:19:11 -04:00
Zach Daniel
6c8e92bd65 improvement: retain original data for form submission
improvement: update to latest ash
2021-08-01 13:19:01 -04:00
Jason Axelson
2d024dc250
docs: Various doc fixes (#22) 2021-07-24 21:51:16 -04:00
Zach Daniel
2c664f12bd chore: release version v0.5.7 2021-07-23 13:20:49 -04:00
Zach Daniel
3ddc3793f7 fix: fix type signature of Form.errors/2 2021-07-23 13:20:26 -04:00
Zach Daniel
ae9f5b90f4 chore: release version v0.5.6 2021-07-23 12:15:36 -04:00
Zach Daniel
116b050269 improvement: looser ash version requirement 2021-07-23 12:15:22 -04:00
Zach Daniel
24cbc780de improvement: add Form.errors/2, deprecate Form.errors_for/3 2021-07-21 21:52:04 -04:00
Zach Daniel
03ed35c801 chore: release version v0.5.5 2021-07-21 01:01:04 -04:00