Current section
Files
Jump to
Current section
Files
swiss_schema
CHANGELOG.md
CHANGELOG.md
# Changelog
This document lists important changes between SwissSchema versions, in descending order.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [v0.7.0] - 2025-06-06
- feat: add callback `query!/2` (`e31ee72`)
- feat: add callback `query/2` (`d809572`)
## [v0.6.0] - 2024-05-22
### Added
- feat: global `:repo` opt through config `:default_repo` by [@danubiolima](http://github.com/danubiolima) (`eac9e91`)
- feat: support custom changesets thru a `:changeset` opt by [@zoedsoupe](https://github.com/zoedsoupe) (`dbca855`)
- chore: add a @callback for `changeset/2` (`14f83ed`)
### Changed
- build: downgrade Ecto dep version to ~> 3.0 (`7613030`)
- docs: reformats [CHANGELOG.md](CHANGELOG.md) based on [Keep a Changelog](https://keepachangelog.com) (`30c96ab`)
### 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](https://hexdocs.pm/elixir/compatibility-and-deprecations.html#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](PLAYBOOK.md) (`2b58a17`)
- docs: add a [FAQ.md](FAQ.md) (`ea03e14`)
### Changed
- docs: rewrite the [CONTRIBUTING.md](CONTRIBUTING.md) (`8371cec`)
## [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.
[Unreleased]: https://github.com/joeljuca/swiss_schema/compare/v0.7.0...HEAD
[v0.7.0]: https://github.com/joeljuca/swiss_schema/compare/v0.6.0...v0.7.0
[v0.6.0]: https://github.com/joeljuca/swiss_schema/compare/v0.5.1...v0.6.0
[v0.5.1]: https://github.com/joeljuca/swiss_schema/compare/v0.5.0...v0.5.1
[v0.5.0]: https://github.com/joeljuca/swiss_schema/compare/v0.4.1...v0.5.0
[v0.4.1]: https://github.com/joeljuca/swiss_schema/compare/v0.4.0...v0.4.1
[v0.4.0]: https://github.com/joeljuca/swiss_schema/compare/v0.3.2...v0.4.0
[v0.3.2]: https://github.com/joeljuca/swiss_schema/compare/v0.3.1...v0.3.2
[v0.3.1]: https://github.com/joeljuca/swiss_schema/compare/v0.3.0...v0.3.1
[v0.3.0]: https://github.com/joeljuca/swiss_schema/compare/v0.2.0...v0.3.0
[v0.2.0]: https://github.com/joeljuca/swiss_schema/compare/v0.1.1...v0.2.0
[v0.1.1]: https://github.com/joeljuca/swiss_schema/compare/v0.1.0...v0.1.1
[v0.1.0]: https://github.com/joeljuca/swiss_schema/releases/tag/v0.1.0