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.get
andDx.get!
Dx.load
,Dx.load!
,Dx.get
andDx.get!
are now macros and must be required or imported when used.
- Support
defdp
: Privatedefd
functions with proper 'unused' warnings case
: Support carets, assigns and data loading in map keysfn
: Support multiple clauses- Consolidate and document extension API (
Dx.Defd_
)
- Translate
Enum.find/2
to SQL
- Fix passing function refs in Elixir 1.15+
- Fix cond compilation with complex conditions
- Support piping into
Dx.Defd
functionsload!
,load
,get!
andget
- Translate to SQL when used within
Enum.filter
function:>
,<
,or
,Enum.any?/2
,Enum.all?
- Fix passing function references to
Enum
supporting 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
:timeout
atom as error (#20) - @ftes
Initial release