@flowcore/pathways 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +93 -58
- package/README.md +128 -124
- package/esm/common/index.d.ts.map +1 -1
- package/esm/contracts/index.d.ts.map +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/pathways/builder.d.ts +56 -4
- package/esm/pathways/builder.d.ts.map +1 -1
- package/esm/pathways/builder.js +59 -4
- package/esm/pathways/index.d.ts.map +1 -1
- package/esm/pathways/internal-pathway.state.d.ts.map +1 -1
- package/esm/pathways/kv/bun-kv-adapter.d.ts.map +1 -1
- package/esm/pathways/kv/kv-adapter.d.ts +2 -2
- package/esm/pathways/kv/kv-adapter.d.ts.map +1 -1
- package/esm/pathways/kv/node-kv-adapter.d.ts.map +1 -1
- package/esm/pathways/kv/node-kv-adapter.js +1 -1
- package/esm/pathways/logger.js +7 -7
- package/esm/pathways/postgres/index.d.ts.map +1 -1
- package/esm/pathways/postgres/postgres-adapter.d.ts.map +1 -1
- package/esm/pathways/postgres/postgres-adapter.js +3 -2
- package/esm/pathways/session-pathway.d.ts.map +1 -1
- package/esm/pathways/session-pathway.js +3 -3
- package/esm/router/index.d.ts.map +1 -1
- package/esm/router/index.js +4 -4
- package/package.json +1 -1
- package/script/common/index.d.ts.map +1 -1
- package/script/contracts/index.d.ts.map +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/pathways/builder.d.ts +56 -4
- package/script/pathways/builder.d.ts.map +1 -1
- package/script/pathways/builder.js +61 -5
- package/script/pathways/index.d.ts.map +1 -1
- package/script/pathways/internal-pathway.state.d.ts.map +1 -1
- package/script/pathways/kv/bun-kv-adapter.d.ts.map +1 -1
- package/script/pathways/kv/kv-adapter.d.ts +2 -2
- package/script/pathways/kv/kv-adapter.d.ts.map +1 -1
- package/script/pathways/kv/node-kv-adapter.d.ts.map +1 -1
- package/script/pathways/kv/node-kv-adapter.js +1 -1
- package/script/pathways/logger.js +7 -7
- package/script/pathways/postgres/index.d.ts.map +1 -1
- package/script/pathways/postgres/postgres-adapter.d.ts.map +1 -1
- package/script/pathways/postgres/postgres-adapter.js +3 -2
- package/script/pathways/session-pathway.d.ts.map +1 -1
- package/script/pathways/session-pathway.js +3 -3
- package/script/router/index.d.ts.map +1 -1
- package/script/router/index.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,147 +1,182 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.12.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.11.0...v0.12.0) (2025-04-15)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Features
|
|
7
7
|
|
|
8
|
-
*
|
|
9
|
-
* batch support ([4ccf19b](https://github.com/flowcore-io/flowcore-pathways/commit/4ccf19b73419589ddea56dfa13533c4e73947287))
|
|
8
|
+
* **pathways:** :sparkles: add SessionUserResolver for session-specific user resolvers ([87be987](https://github.com/flowcore-io/flowcore-pathways/commit/87be987825e6c1b465950644d8a3b9d6ed170a7d))
|
|
10
9
|
|
|
11
|
-
## [0.10.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.9.1...v0.10.0) (2025-04-09)
|
|
12
10
|
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* :rotating_light: fixed linting errors ([a4ed698](https://github.com/flowcore-io/flowcore-pathways/commit/a4ed69892ff604e8ef57e9eafae411c61ad235bb))
|
|
14
|
+
* **pathways:** :art: update SessionUser store to support unknown timeout types ([7330cbf](https://github.com/flowcore-io/flowcore-pathways/commit/7330cbfef35001bbb91b2072e6a35345549c7383))
|
|
15
|
+
* **pathways:** :bug: update session user resolvers to use enableSessionUserResolvers flag ([13623de](https://github.com/flowcore-io/flowcore-pathways/commit/13623de687db252c9ba89499d5ce3171783014ef))
|
|
16
|
+
|
|
17
|
+
## [0.11.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.10.0...v0.11.0) (2025-04-14)
|
|
13
18
|
|
|
14
19
|
### Features
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
- batch support
|
|
22
|
+
([32b641e](https://github.com/flowcore-io/flowcore-pathways/commit/32b641e4f181d9ff747a1f0b2bab85a9aea48504))
|
|
23
|
+
- batch support
|
|
24
|
+
([4ccf19b](https://github.com/flowcore-io/flowcore-pathways/commit/4ccf19b73419589ddea56dfa13533c4e73947287))
|
|
18
25
|
|
|
26
|
+
## [0.10.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.9.1...v0.10.0) (2025-04-09)
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- allow to chain handle, subscribe, onError and onAnyError
|
|
31
|
+
([a560142](https://github.com/flowcore-io/flowcore-pathways/commit/a560142b940c61626a69d41b6c64dcad7947c957))
|
|
32
|
+
- allow to chain handle, subscribe, onError and onAnyError
|
|
33
|
+
([4ac4fdb](https://github.com/flowcore-io/flowcore-pathways/commit/4ac4fdb245ede9ef6c7bcf7e79918a9744bec611))
|
|
19
34
|
|
|
20
35
|
### Bug Fixes
|
|
21
36
|
|
|
22
|
-
|
|
37
|
+
- only create table if it doesn't exist
|
|
38
|
+
([828d584](https://github.com/flowcore-io/flowcore-pathways/commit/828d58499067d6a46fa6e293b0c4eac67be840c7))
|
|
23
39
|
|
|
24
40
|
## [0.9.1](https://github.com/flowcore-io/flowcore-pathways/compare/v0.9.0...v0.9.1) (2025-04-08)
|
|
25
41
|
|
|
26
|
-
|
|
27
42
|
### Bug Fixes
|
|
28
43
|
|
|
29
|
-
|
|
44
|
+
- force bun-sqlite-key-value only as optional dependency
|
|
45
|
+
([c8a4ce5](https://github.com/flowcore-io/flowcore-pathways/commit/c8a4ce523def84e33c8986da04b758ab0b45ac17))
|
|
30
46
|
|
|
31
47
|
## [0.9.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.8.0...v0.9.0) (2025-03-18)
|
|
32
48
|
|
|
33
|
-
|
|
34
49
|
### Features
|
|
35
50
|
|
|
36
|
-
|
|
37
|
-
|
|
51
|
+
- **pathways:** :sparkles: Introduce Session Pathways for session management
|
|
52
|
+
([5ad1f1d](https://github.com/flowcore-io/flowcore-pathways/commit/5ad1f1d706dcfb4ba517c38a2748274d43762cb6))
|
|
38
53
|
|
|
39
54
|
### Bug Fixes
|
|
40
55
|
|
|
41
|
-
|
|
56
|
+
- **pathways:** :art: Change import of KvAdapter to type import
|
|
57
|
+
([732da2d](https://github.com/flowcore-io/flowcore-pathways/commit/732da2d191b87781b2be3adf9efa150e2eaab3ef))
|
|
42
58
|
|
|
43
59
|
## [0.8.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.7.0...v0.8.0) (2025-03-18)
|
|
44
60
|
|
|
45
|
-
|
|
46
61
|
### Features
|
|
47
62
|
|
|
48
|
-
|
|
63
|
+
- **pathways:** :sparkles: Add session-specific user resolver functionality
|
|
64
|
+
([0e0c074](https://github.com/flowcore-io/flowcore-pathways/commit/0e0c074b451b15d3a83ea49f0d838ed559306290))
|
|
49
65
|
|
|
50
66
|
## [0.7.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.6.0...v0.7.0) (2025-03-18)
|
|
51
67
|
|
|
52
|
-
|
|
53
68
|
### Features
|
|
54
69
|
|
|
55
|
-
|
|
70
|
+
- **pathways:** :sparkles: Add cloning functionality to PathwaysBuilder
|
|
71
|
+
([674c72a](https://github.com/flowcore-io/flowcore-pathways/commit/674c72a085c9e8805d127ebd2ae70c0279d990e4))
|
|
56
72
|
|
|
57
73
|
## [0.6.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.5.0...v0.6.0) (2025-03-18)
|
|
58
74
|
|
|
59
|
-
|
|
60
75
|
### Features
|
|
61
76
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
77
|
+
- **pathways:** :sparkles: Add auditMode option to PathwayWriteOptions
|
|
78
|
+
([f2db7f3](https://github.com/flowcore-io/flowcore-pathways/commit/f2db7f34382ccb618c24d54af74294b3d005dca3))
|
|
79
|
+
- **pathways:** :sparkles: Add user ID resolver configuration to PathwaysBuilder
|
|
80
|
+
([9faef35](https://github.com/flowcore-io/flowcore-pathways/commit/9faef35a76764b9419938ac8d372fbbaa4438a23))
|
|
65
81
|
|
|
66
82
|
### Bug Fixes
|
|
67
83
|
|
|
68
|
-
|
|
84
|
+
- **pathways:** :art: Refactor audit handler to use user resolver method
|
|
85
|
+
([a63e673](https://github.com/flowcore-io/flowcore-pathways/commit/a63e673fb3c0718ce9eb1f3491b41d800d85dee3))
|
|
69
86
|
|
|
70
87
|
## [0.5.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.4.0...v0.5.0) (2025-03-17)
|
|
71
88
|
|
|
72
|
-
|
|
73
89
|
### Features
|
|
74
90
|
|
|
75
|
-
|
|
91
|
+
- **pathways:** :sparkles: Add event payload validation and improve handler typings
|
|
92
|
+
([228e262](https://github.com/flowcore-io/flowcore-pathways/commit/228e262527a9e1d26aaa68f959480b3a3d2ef70e))
|
|
76
93
|
|
|
77
94
|
## [0.4.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.3.0...v0.4.0) (2025-03-15)
|
|
78
95
|
|
|
79
|
-
|
|
80
96
|
### Features
|
|
81
97
|
|
|
82
|
-
|
|
98
|
+
- **postgres:** :sparkles: Add support for connection string and individual parameters in PostgreSQL configuration
|
|
99
|
+
([881fba2](https://github.com/flowcore-io/flowcore-pathways/commit/881fba26485349a3d4253cdb112928b9a9c31996))
|
|
83
100
|
|
|
84
101
|
## [0.3.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.2.4...v0.3.0) (2025-03-15)
|
|
85
102
|
|
|
86
|
-
|
|
87
103
|
### Features
|
|
88
104
|
|
|
89
|
-
|
|
105
|
+
- **postgres:** :sparkles: Enhance PostgreSQL configuration with connection string support
|
|
106
|
+
([9b51155](https://github.com/flowcore-io/flowcore-pathways/commit/9b51155eaa8f11c5ca3e8f6422d2b4268c4f27ea))
|
|
90
107
|
|
|
91
108
|
## [0.2.4](https://github.com/flowcore-io/flowcore-pathways/compare/v0.2.3...v0.2.4) (2025-03-15)
|
|
92
109
|
|
|
93
|
-
|
|
94
110
|
### Bug Fixes
|
|
95
111
|
|
|
96
|
-
|
|
112
|
+
- **logger:** :art: Update error method signatures and improve JSDoc documentation
|
|
113
|
+
([07ab772](https://github.com/flowcore-io/flowcore-pathways/commit/07ab77237c7aa88f6bc5999ff95148873c2e45d0))
|
|
97
114
|
|
|
98
115
|
## [0.2.3](https://github.com/flowcore-io/flowcore-pathways/compare/v0.2.2...v0.2.3) (2025-03-15)
|
|
99
116
|
|
|
100
|
-
|
|
101
117
|
### Bug Fixes
|
|
102
118
|
|
|
103
|
-
|
|
119
|
+
- **dependencies:** :art: Update deno.lock with new package versions and metadata
|
|
120
|
+
([62d85f5](https://github.com/flowcore-io/flowcore-pathways/commit/62d85f56a05c49fdc43c66781901197868e0dc29))
|
|
104
121
|
|
|
105
122
|
## [0.2.2](https://github.com/flowcore-io/flowcore-pathways/compare/v0.2.1...v0.2.2) (2025-03-15)
|
|
106
123
|
|
|
107
|
-
|
|
108
124
|
### Bug Fixes
|
|
109
125
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
126
|
+
- **deno.json:** :memo: Update library description to specify TypeScript
|
|
127
|
+
([014f1fc](https://github.com/flowcore-io/flowcore-pathways/commit/014f1fc88d5e5545dd92ff78fa0aae86a9aceebb))
|
|
128
|
+
- **mod:** :memo: Add module declaration comments to pathways and mod files
|
|
129
|
+
([275f41a](https://github.com/flowcore-io/flowcore-pathways/commit/275f41ac9d75b2f2509ddf78ddbd31fc8cd3914a))
|
|
130
|
+
- **types:** :memo: Add module declaration comments and improve JSDoc formatting
|
|
131
|
+
([21781f2](https://github.com/flowcore-io/flowcore-pathways/commit/21781f2ab8b8064935d831dfc9f2965f703af343))
|
|
113
132
|
|
|
114
133
|
## [0.2.1](https://github.com/flowcore-io/flowcore-pathways/compare/v0.2.0...v0.2.1) (2025-03-15)
|
|
115
134
|
|
|
116
|
-
|
|
117
135
|
### Bug Fixes
|
|
118
136
|
|
|
119
|
-
|
|
137
|
+
- **dependencies:** :art: Update package versions in deno.lock and import statements
|
|
138
|
+
([e47298e](https://github.com/flowcore-io/flowcore-pathways/commit/e47298e565743ebc7381d7d9683ddc7f33b98bf0))
|
|
120
139
|
|
|
121
140
|
## [0.2.0](https://github.com/flowcore-io/flowcore-pathways/compare/v0.1.0...v0.2.0) (2025-03-15)
|
|
122
141
|
|
|
123
|
-
|
|
124
142
|
### Features
|
|
125
143
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
144
|
+
- :sparkles: Add support for file-based pathways and multi-event writes
|
|
145
|
+
([e9d9bcc](https://github.com/flowcore-io/flowcore-pathways/commit/e9d9bcc8d4f6ff8959f99760c736671ba422e4a5))
|
|
146
|
+
- :sparkles: Allow non-async pathway handlers in PathwaysBuilder
|
|
147
|
+
([4313e63](https://github.com/flowcore-io/flowcore-pathways/commit/4313e635c04a6bd9a395f9df782482a0c18d0f37))
|
|
148
|
+
- :sparkles: Enhance PathwaysBuilder with improved type safety and writable pathway support
|
|
149
|
+
([a2c1c36](https://github.com/flowcore-io/flowcore-pathways/commit/a2c1c36aa5537be2aeec9b8e7bb744ed9a1243a8))
|
|
150
|
+
- :sparkles: Initialize core Flowcore Pathways library with essential components
|
|
151
|
+
([dfa32f1](https://github.com/flowcore-io/flowcore-pathways/commit/dfa32f1601b1c6851d87fb749fd9688b13fe398e))
|
|
152
|
+
- Add pathway state management with key-value storage support
|
|
153
|
+
([c717a2e](https://github.com/flowcore-io/flowcore-pathways/commit/c717a2e3757445cfb52b580c0ca67c746a16a622))
|
|
154
|
+
- **pathways:** :sparkles: Add audit functionality to PathwaysBuilder
|
|
155
|
+
([bdc68fe](https://github.com/flowcore-io/flowcore-pathways/commit/bdc68fe36d49c8b1827d63ee686f15afd76769bb))
|
|
156
|
+
- **pathways:** :sparkles: Implement error handling and retry mechanism in PathwaysBuilder
|
|
157
|
+
([5300036](https://github.com/flowcore-io/flowcore-pathways/commit/5300036370ce573a06dac65fc5b0fdf1ee9f3ffd))
|
|
158
|
+
- **pathways:** :sparkles: Introduce logging functionality in PathwaysBuilder
|
|
159
|
+
([9cef56a](https://github.com/flowcore-io/flowcore-pathways/commit/9cef56a8111336d2cfd26e72edbc01784cc0ef1a))
|
|
160
|
+
- **postgres:** :sparkles: Integrate PostgreSQL support for pathway state management
|
|
161
|
+
([710ab3f](https://github.com/flowcore-io/flowcore-pathways/commit/710ab3f24e4865f5259f773a73cbae12fe3f8795))
|
|
162
|
+
- **router:** :sparkles: Add secret key validation for PathwayRouter
|
|
163
|
+
([3a6a70a](https://github.com/flowcore-io/flowcore-pathways/commit/3a6a70a194ac8589ea6cc56cae741f2902befcf0))
|
|
164
|
+
- **tests:** :sparkles: Add comprehensive tests for pathways and router functionality
|
|
165
|
+
([ae032fd](https://github.com/flowcore-io/flowcore-pathways/commit/ae032fdec6c2f9c58c95dd1153c951d0d9915b2c))
|
|
138
166
|
|
|
139
167
|
### Bug Fixes
|
|
140
168
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
169
|
+
- **deno.json:** :art: Update test commands to remove unstable flag
|
|
170
|
+
([7fb6dd2](https://github.com/flowcore-io/flowcore-pathways/commit/7fb6dd22e4cf7f778725fb53a84b0f3ab222fa0a))
|
|
171
|
+
- **deno.lock:** :wrench: Fixed the npm building by updating the imports to be consisten
|
|
172
|
+
([5700b20](https://github.com/flowcore-io/flowcore-pathways/commit/5700b20ee2b93dca88ce3d4cc3d826ffe6db2cc4))
|
|
173
|
+
- **readme:** :fire: Remove Example Projects section from README
|
|
174
|
+
([bd27270](https://github.com/flowcore-io/flowcore-pathways/commit/bd27270ae0f80c46074def5ef3a08410677ebb68))
|
|
175
|
+
- **readme:** :memo: Update library description and installation instructions in README
|
|
176
|
+
([cbd3d33](https://github.com/flowcore-io/flowcore-pathways/commit/cbd3d330a8e6809c9cbb1bc8582598d3cd1992d5))
|
|
177
|
+
- **readme:** :memo: Update README with detailed usage examples and core concepts
|
|
178
|
+
([5e26e9b](https://github.com/flowcore-io/flowcore-pathways/commit/5e26e9b8f2b06c56e0c65dbce09d6c7e2fe36edd))
|
|
179
|
+
- **router:** :bug: Improve error handling in PathwayRouter processing
|
|
180
|
+
([56a00eb](https://github.com/flowcore-io/flowcore-pathways/commit/56a00eb9c9d8b056b40398eb40c213fd876e4226))
|
|
181
|
+
- **router:** :bug: Update processEvent method to include return type
|
|
182
|
+
([af5b821](https://github.com/flowcore-io/flowcore-pathways/commit/af5b821187404d72c1566f2ebdb9c7fbcbb0bb3b))
|