You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,59 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.0.0] - 2025-08-??
9
+
10
+
### Changed
11
+
12
+
#### Custom Function Architecture Overhaul
13
+
- **Breaking Change**: Removed global function registry system in favor of evaluation-time function parameters
14
+
- **New API**: Custom functions now passed via `functions:` option in `Predicator.evaluate/3` calls
15
+
- **Function Format**: Custom functions use `%{name => {arity, function}}` format where function takes `[args], context` and returns `{:ok, result}` or `{:error, message}`
16
+
- **Thread Safety**: Eliminated global state for improved concurrency and thread safety
17
+
- **Function Merging**: SystemFunctions always available with custom functions merged in, allowing overrides
18
+
- **Simplified Startup**: No application-level function registry initialization required
0 commit comments