This document lists important changes between SwissSchema versions, in descending order.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.7.0 - 2025-06-06
- feat: add callback
query!/2(e31ee72) - feat: add callback
query/2(d809572)
v0.6.0 - 2024-05-22
- feat: global
:repoopt through config:default_repoby @danubiolima (eac9e91) - feat: support custom changesets thru a
:changesetopt by @zoedsoupe (dbca855) - chore: add a @callback for
changeset/2(14f83ed)
- build: downgrade Ecto dep version to ~> 3.0 (
7613030) - docs: reformats CHANGELOG.md based on Keep a Changelog (
30c96ab)
- fix: deprecate
stream/1(751f110)
- fix: stop raising
Ecto.MultipleResultsErroronget_by/2(2e70461)
v0.5.1 - 2023-11-14
The main thing being shipped by this release are the inline documentation for functions generated by SwissSchema.
Also, the project is now properly adjusted to support more environments by running tests on top of legacy Elixir versions down to v1.12 (along with all respective supported OTP versions; see: Compatibility between Elixir and Erlang/OTP) through a dedicated GitHub Actions workflow.
- docs: add basic docs to schema functions (
0299e5b)
- build: set min Elixir version to 1.12 (
def2274)
v0.5.0 - 2023-11-13
- feat: accept custom Ecto repos thru a
:repoopt (97c19b7) - docs: add a PLAYBOOK.md (
2b58a17) - docs: add a FAQ.md (
ea03e14)
- docs: rewrite the CONTRIBUTING.md (
8371cec)
v0.4.1 - 2023-09-15
- docs: add a contributing.md (
a75fb49,6b91439,c047b6c)
- fix: warning on missing callback
aggregate/1(e7ec963)
v0.4.0 - 2023-08-05
- docs: add setup and usage instructions to SwissSchema's
@moduledoc(5a9f6ba,9a1dea3)
- refactor: turns SwissSchema into a behaviour (
5347496)
v0.3.2 - 2023-07-19
- fix:
insert_or_update/2andinsert_or_update!/2now accepts an Ecto changeset (5eaceb7)
v0.3.1 - 2023-07-16
- fix: Unknown type: Keyword.list/1 (
fed13ed)
v0.3.0 - 2023-07-16
- feat: add create!/2 (
0223118) - feat: add create/2 (
44d9007)
v0.2.0 - 2023-07-14
- chore!: return values in :ok/:error tuples from get_by/2 (
40f0432) - chore!: return values in :ok/:error tuples from get/2 (
5448d86)
- fix: use Repo.delete!/2 in delete!/2 (
055a7e7)
v0.1.1 (retired) - 2023-07-11
- fix: Ecto.Repo Query API functions not being loaded (
a461062)
v0.1.0 (retired) - 2023-07-10
First release.