Change Log
View SourceUnreleased
2.0.0
- Test against Elixir 1.18.
- Breaking change: Drop support for Elixir 1.15.
1.3.0
- require Elixir 1.15 or greater
- test against the latest version of Erlang and Elixir
1.2.2
- Updated dependencies.
1.2.1
- Relax version matching of
tzwhen present.
1.2.0
- Documentation TOC organization.
- Add
Ecto.DateTimeRange.NaiveDateTime.
1.1.0
Ecto.DateTimeRange.Time.contains?/2handlesDateTimeandNaiveDateTimevalues.
1.0.0
Breaking Changes
- Remove
Ecto.UTCDateTimeRangeandEcto.UTCTimeRange. - Changes
sigil_t:- Defaults to
Ecto.DateTimeRange.UTCDateTime. - Changes
Umodifier to returnEcto.DateTimeRange.UTCDateTime. - Changes
Tmodifier to returnEcto.DateTimeRange.Time.
- Defaults to
Upgrading
- Update to version
0.99.0. - Fix all deprecation warnings by switching code to use
Ecto.DateTimeRange.UTCDateTimeinstead ofEcto.UTCDateTimeRangeandEcto.DateTimeRange.Timeinstead ofEcto.UTCTimeRange. Important: when using time ranges,tzis ignored when provided in form params, and no time zone casting is applied. Any time zone logic must be applied in application code. - Switch usage of
sigil_tto use theuortmodifiers, specifying the new modules. - Update to version
1.0.0. - Switch usage of
sigil_tto use theUorTmodifiers.
0.99.0
- Deprecate
Ecto.UTCDateTimeRangeandEcto.UTCTimeRange. - Add
Ecto.DateTimeRange.UTCDateTimetype.
This release represents the last 0.x version.
0.4.0
- Add
Ecto.DateTimeRange.Timetype, representing a naive time range.
0.3.1
- Fix
Ecto.UTCTimeRange.contains?/2to handle ranges crossing day barrier.
0.3.0
- Add
Ecto.UTCDateTimeRange.contains?/2. - Add
Ecto.UTCTimeRange.contains?/2.
0.2.0
- Move
~ttoEcto.DateTimeRange. - Add
Ecto.UTCTimeRangetype. - Add
Ecto.RangeOperators.contains/2macro.
0.1.1
- Update docs regarding setup, form data.
- Clarify errors in UTCDateTimeRange's
sigil_tandparse.
0.1.0
- Initial release of
Ecto.UTCDateTimeRange.