File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 3.5.0] - 2025-09-09
11+
12+ ### Added
13+
14+ #### Adds milliseconds support to duration system
15+
16+ - New 'ms' unit support in lexer, parser, and evaluator
17+ - Duration.to_milliseconds/1 function for high-precision calculations
18+ - Pattern matching guards for automatic precision selection
19+ - Smart DateTime arithmetic (millisecond vs second precision)
20+ - Comprehensive test coverage with 89 new tests
21+ - Refactors evaluator to use Duration module functions (DRY)
22+
23+ #### Examples
24+
25+ - 500ms ago, 2s750ms from now
26+ - #2024 -01-15T10:30:00.000Z# + 1s500ms
27+ - Automatic precision: ms > 0 triggers millisecond precision
28+
1029## [ 3.4.0] - 2025-09-09
1130
1231### Added
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Add `predicator` to your list of dependencies in `mix.exs`:
3333``` elixir
3434def deps do
3535 [
36- {:predicator , " ~> 3.4 " }
36+ {:predicator , " ~> 3.5 " }
3737 ]
3838end
3939```
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule Predicator.MixProject do
22 use Mix.Project
33
44 @ app :predicator
5- @ version "3.4 .0"
5+ @ version "3.5 .0"
66 @ description "A secure, non-evaling condition (boolean predicate) engine for end users"
77 @ source_url "https://github.com/riddler/predicator-ex"
88 @ deps [
You can’t perform that action at this time.
0 commit comments