Commit 2ff59a0 1 parent 324425c commit 2ff59a0 Copy full SHA for 2ff59a0
File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,48 @@ 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
+ ## [ 3.1.0] - 2025-02-16
9
+
10
+ ### Changed
11
+
12
+ - Restructured exports to make v3 the main API:
13
+ - v3 functionality now available at root level
14
+ - v2 functionality moved to ` v2 ` namespace
15
+ - Better organization of legacy exports
16
+ - Enhanced type safety and import experience
17
+
18
+ ### Improved
19
+
20
+ - Enhanced project organization:
21
+ - Cleaner export structure
22
+ - Better namespace organization
23
+ - Restored complete changelog history
24
+ - Improved test file organization
25
+
26
+ ### Migration Note
27
+
28
+ The v3 API is now available directly from the root:
29
+
30
+ ``` typescript
31
+ // Before
32
+ import { v3 } from ' @phr3nzy/rulekit' ;
33
+ const { TypedRuleEngine } = v3 ;
34
+
35
+ // After
36
+ import { TypedRuleEngine } from ' @phr3nzy/rulekit' ;
37
+ ```
38
+
39
+ Legacy v2 functionality remains available through the v2 namespace:
40
+
41
+ ``` typescript
42
+ // Before
43
+ import { RuleEngine } from ' @phr3nzy/rulekit' ;
44
+
45
+ // After
46
+ import { v2 } from ' @phr3nzy/rulekit' ;
47
+ const { RuleEngine } = v2 .ruleEngine ;
48
+ ```
49
+
8
50
## [ 3.0.0] - 2025-02-08
9
51
10
52
### Added
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @phr3nzy/rulekit" ,
3
- "version" : " 3.0 .0" ,
3
+ "version" : " 3.1 .0" ,
4
4
"description" : " A powerful and flexible toolkit for building rule-based matching and filtering systems" ,
5
5
"main" : " dist/index.js" ,
6
6
"module" : " dist/index.mjs" ,
You can’t perform that action at this time.
0 commit comments