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