All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Load defd functions via
Dx.load,Dx.load!,Dx.getandDx.get!
Dx.load,Dx.load!,Dx.getandDx.get!are now macros and must be required or imported when used.
- Support
defdp: Privatedefdfunctions case: Support carets, assigns and data loading in map keysfn: Support multiple clauses- Consolidate and document extension API (
Dx.Defd_)
- Removed dependency
typed_struct - Now tested against Elixir 1.18 and 1.19
- Translate
Enum.find/2to SQL
- Fix passing function refs in Elixir 1.15+
- Fix cond compilation with complex conditions
- Support piping into
Dx.Defdfunctionsload!,load,get!andget - Translate to SQL when used within
Enum.filterfunction:>,<,or,Enum.any?/2,Enum.all?
- Fix passing function references to
Enumsupporting scopes (translation to SQL)
- Introduce defd functions with automatic batched data loading (#22) - @arnodirlam
This is a fully backward-compatible preview version of the new Dx approach. See the README for an introduction and more details.
A breaking version will be released as v0.4.0
- Configure dataloader (#21) - @ftes
- Handle
:timeoutatom as error (#20) - @ftes
Initial release