Skip to content

Commit 2d62ca1

Browse files
authored
Releases v3.5.0 (#43)
1 parent 3688a3e commit 2d62ca1

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Add `predicator` to your list of dependencies in `mix.exs`:
3333
```elixir
3434
def deps do
3535
[
36-
{:predicator, "~> 3.4"}
36+
{:predicator, "~> 3.5"}
3737
]
3838
end
3939
```

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 [

0 commit comments

Comments
 (0)