Skip to content

Latest commit

 

History

History
127 lines (73 loc) · 3.81 KB

CHANGELOG.md

File metadata and controls

127 lines (73 loc) · 3.81 KB

Changelog

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.6.0 - 2024-05-22

Added

  • feat: global :repo opt through config :default_repo by @danubiolima (eac9e91)
  • feat: support custom changesets thru a :changeset opt by @zoedsoupe (dbca855)
  • chore: add a @callback for changeset/2 (14f83ed)

Changed

Deprecated

  • fix: deprecate stream/1 (751f110)

Fixed

  • fix: stop raising Ecto.MultipleResultsError on get_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.

Added

  • docs: add basic docs to schema functions (0299e5b)

Changed

  • build: set min Elixir version to 1.12 (def2274)

v0.5.0 - 2023-11-13

Added

  • feat: accept custom Ecto repos thru a :repo opt (97c19b7)
  • docs: add a PLAYBOOK.md (2b58a17)
  • docs: add a FAQ.md (ea03e14)

Changed

v0.4.1 - 2023-09-15

Added

  • docs: add a contributing.md (a75fb49, 6b91439, c047b6c)

Fixed

  • fix: warning on missing callback aggregate/1 (e7ec963)

v0.4.0 - 2023-08-05

Added

  • docs: add setup and usage instructions to SwissSchema's @moduledoc (5a9f6ba, 9a1dea3)

Changed

  • refactor: turns SwissSchema into a behaviour (5347496)

v0.3.2 - 2023-07-19

Changed

  • fix: insert_or_update/2 and insert_or_update!/2 now accepts an Ecto changeset (5eaceb7)

v0.3.1 - 2023-07-16

Fixed

  • fix: Unknown type: Keyword.list/1 (fed13ed)

v0.3.0 - 2023-07-16

Added

  • feat: add create!/2 (0223118)
  • feat: add create/2 (44d9007)

v0.2.0 - 2023-07-14

Changed

  • chore!: return values in :ok/:error tuples from get_by/2 (40f0432)
  • chore!: return values in :ok/:error tuples from get/2 (5448d86)

Fixed

  • fix: use Repo.delete!/2 in delete!/2 (055a7e7)

v0.1.1 (retired) - 2023-07-11

Fixed

  • fix: Ecto.Repo Query API functions not being loaded (a461062)

v0.1.0 (retired) - 2023-07-10

First release.