Commit graph

692 commits

Author SHA1 Message Date
Zach Daniel
2b1e2bb7ac fix: various fixes around union forms
docs: add documentation for union forms

closes #173
closes #174
2024-04-30 13:37:38 -04:00
dependabot[bot]
c8326d772a
chore(deps): bump ash from 3.0.0-rc.31 to 3.0.0-rc.38 (#172) 2024-04-29 20:39:26 -04:00
Zach Daniel
453c96baa9 chore: release version v2.0.0-rc.8 2024-04-29 20:23:15 -04:00
Zach Daniel
38e9f89a7e fix: don't use public_attributes?, check for all accepted attributes
fix: show proper error message for accepted/non accepted missing forms

fixes #170
2024-04-29 20:21:11 -04:00
dependabot[bot]
a047e5dddc
chore(deps): bump ash from 3.0.0-rc.29 to 3.0.0-rc.31 (#169) 2024-04-26 09:07:01 -04:00
Zach Daniel
0682d37391 chore: update splode, handle new ets features 2024-04-25 22:35:57 -04:00
dependabot[bot]
e47eb38786
chore(deps): bump ash from 3.0.0-rc.27 to 3.0.0-rc.29 (#168)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.27 to 3.0.0-rc.29.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.27...v3.0.0-rc.29)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 08:49:32 -04:00
Jinkyou Son
94e17780ff
improvement: Remove domain opt from AshPhoenix.LiveView (#167) 2024-04-24 06:24:14 -04:00
Zach Daniel
b8c2d4034e chore: format 2024-04-23 10:32:24 -04:00
78f2206f8e
fix: Pass the tenant to Ash.can/3 and Ash.can?/3. (#165)
* fix: Pass the tenant to `Ash.can/3` and `Ash.can?/3`.

* Update lib/ash_phoenix/form/form.ex

* Update lib/ash_phoenix/form/form.ex

---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-04-23 10:25:41 -04:00
Zach Daniel
8bd42bd3d5 chore: release version v2.0.0-rc.7 2024-04-23 10:21:34 -04:00
Zach Daniel
055d20e930 fix: ensure nested form names are remapped on remove form 2024-04-23 10:14:38 -04:00
Minsub Kim
8ac1351f98
test: update nested form name correctly when remove form in the middle (#164) 2024-04-23 09:47:51 -04:00
Zach Daniel
b09f00059c chore: remove excoveralls 2024-04-22 11:32:18 -04:00
Zach Daniel
66ef3e5db8 fix: ensure nested forms included as params when adding forms get proper names 2024-04-22 11:00:35 -04:00
Minsub Kim
ffcba2e00b
test: add deeply nested form with params (#162) 2024-04-22 10:51:48 -04:00
Zach Daniel
df471717fc chore: add mix audit 2024-04-22 09:53:37 -04:00
dependabot[bot]
cf28b20ff0
chore(deps): bump ash from 3.0.0-rc.26 to 3.0.0-rc.27 (#163)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.26 to 3.0.0-rc.27.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.26...v3.0.0-rc.27)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:52:29 -04:00
Zach Daniel
f12da4cf18 docs: remove old message from docs 2024-04-20 15:21:32 +01:00
Aidan Gauland
952c81db1b
docs: update LiveView example in Getting Started guide (#160)
Since the current version of the Phoenix project generator sets the
phoenix_live_view dependency to 0.20.x, update to use the latest
comprehension syntax, and remove the mention of having to change some
code for versions of LiveView below 0.18.x.
2024-04-20 07:14:14 +01:00
Zach Daniel
832c10c870 chore: release version v2.0.0-rc.6 2024-04-19 14:29:43 +01:00
Zach Daniel
40b3f63dd3 fix: handle unions on initial form creation
closes #154
2024-04-19 14:29:26 +01:00
Robert Graff
676015a6b7
fix: always include domain on add_form (#157) 2024-04-18 02:51:46 +01:00
Robert Graff
47fa4d4ad1
Merge pull request #156 from ash-project/dependabot/hex/ash-3.0.0-rc.24
chore(deps): bump ash from 3.0.0-rc.21 to 3.0.0-rc.24
2024-04-17 17:59:03 -07:00
dependabot[bot]
038cadf348
chore(deps): bump ash from 3.0.0-rc.21 to 3.0.0-rc.24
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.21 to 3.0.0-rc.24.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.21...v3.0.0-rc.24)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 12:50:12 +00:00
Linus De Meyere
c8bcb1228f
docs: no need for public?: true for the attributes in the getting started guide. (#155) 2024-04-17 10:04:17 +01:00
Jinkyou Son
742df54da0
docs: Fix typo in doc for AshPhoenix.Form.add_form/3 (#153) 2024-04-17 07:49:46 +01:00
Zach Daniel
6d66acadd7 chore: release version v2.0.0-rc.5 2024-04-17 00:20:11 +01:00
Zach Daniel
c526768670 improvement: remove unknown keys option from embedded attributes
docs: update upgrade docs to reflect change of skip_unknown_attributes
2024-04-17 00:18:59 +01:00
Linus
8fb8b6aaf0
docs: Update instructions to be compatible with Ash 3.0. (#152) 2024-04-16 12:00:55 +01:00
dependabot[bot]
274cef309b
chore(deps): bump ash from 3.0.0-rc.19 to 3.0.0-rc.21 (#151)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.19 to 3.0.0-rc.21.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.19...v3.0.0-rc.21)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 14:49:46 +01:00
dependabot[bot]
494c802f32
chore(deps-dev): bump ex_doc from 0.32.0 to 0.32.1 (#150)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.32.0...v0.32.1)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 14:49:37 +01:00
dependabot[bot]
b2dbca7b60
chore(deps): bump phoenix from 1.7.11 to 1.7.12 (#149)
Bumps [phoenix](https://github.com/phoenixframework/phoenix) from 1.7.11 to 1.7.12.
- [Release notes](https://github.com/phoenixframework/phoenix/releases)
- [Changelog](https://github.com/phoenixframework/phoenix/blob/main/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix/compare/v1.7.11...v1.7.12)

---
updated-dependencies:
- dependency-name: phoenix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 09:13:36 -04:00
Zach Daniel
d7155040f4 fix: ensure domain is passed down to all child forms 2024-04-11 21:50:32 -04:00
Zach Daniel
1f511de8ca improvement: add error hints for NoFormConfigured errors 2024-04-11 18:47:31 -04:00
dependabot[bot]
9bb24372fe
chore(deps): bump ash from 3.0.0-rc.18 to 3.0.0-rc.19 (#148)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.18 to 3.0.0-rc.19.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.18...v3.0.0-rc.19)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 08:56:44 -04:00
dependabot[bot]
70c2f28564
chore(deps-dev): bump ex_doc from 0.31.2 to 0.32.0 (#145)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.31.2 to 0.32.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.31.2...v0.32.0)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 13:42:40 +12:00
dependabot[bot]
416581015c
chore(deps-dev): bump simple_sat from 0.1.1 to 0.1.3 (#147)
Bumps [simple_sat](https://github.com/ash-project/simple_sat) from 0.1.1 to 0.1.3.
- [Changelog](https://github.com/ash-project/simple_sat/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/simple_sat/compare/v0.1.1...v0.1.3)

---
updated-dependencies:
- dependency-name: simple_sat
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:38:54 -04:00
dependabot[bot]
9b072c88f5
chore(deps): bump ash from 3.0.0-rc.11 to 3.0.0-rc.18 (#146)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.11 to 3.0.0-rc.18.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.11...v3.0.0-rc.18)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:38:03 -04:00
dependabot[bot]
f05b471445
chore(deps-dev): bump excoveralls from 0.18.0 to 0.18.1 (#144)
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/parroty/excoveralls/releases)
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parroty/excoveralls/compare/v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: excoveralls
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:35:04 -04:00
c8c96a69ec
chore: enable dependabot for mix dependencies. 2024-04-11 09:32:18 +12:00
Zach Daniel
a495593f98 chore: release version v2.0.0-rc.4 2024-04-05 14:58:46 -04:00
Zach Daniel
925ff65b2e fix: handle cases where changesets/queries are not returned with errors 2024-04-05 14:58:23 -04:00
Zach Daniel
8796e67c99 chore: release version v2.0.0-rc.3 2024-04-04 14:07:34 -04:00
Zach Daniel
230275317d chore: fix upgrade guide 2024-04-04 14:06:38 -04:00
Zach Daniel
79092e8123 chore: format 2024-04-04 14:05:39 -04:00
Zach Daniel
0d606e9948 fix: undo the change of not returning hidden fields
this caused issues with setting ids for related entities. Instead,
we tell each changeset/query that they can ignore any unknown inputs
2024-04-04 14:03:20 -04:00
Zach Daniel
8dba194af2 chore: release version v2.0.0-rc.2 2024-04-02 12:29:15 -04:00
Zach Daniel
8761539eaa improvement: loosen release candidate dependency 2024-04-02 12:28:59 -04:00
Zach Daniel
bcd0f4916d chore: fix guide title 2024-03-29 17:01:07 -04:00