@mrxsys/mrx-core 2.11.0-1-and-279-20251103 โ 2.11.0-1-and-280-20251103
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
CHANGED
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
## v2.11.0-1-and-269-20251003
|
|
3
|
-
|
|
4
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.10.0...v2.11.0-1-and-269-20251003)
|
|
5
|
-
|
|
6
|
-
### ๐ Enhancements
|
|
7
|
-
|
|
8
|
-
- **๐:** [Add microservice success keys for responses] ## Features - Introduced `MICROSERVICE_SUCCESS_KEYS` for consistent success messages. ([c8031f41](https://github.com/MRX-Systems/MRX-Core/commit/c8031f41))
|
|
9
|
-
- **๐:** [Add CRUD success keys enumeration] ([f7df540b](https://github.com/MRX-Systems/MRX-Core/commit/f7df540b))
|
|
10
|
-
- **๐:** [Integrate CRUD success keys into response messages] ([863a601e](https://github.com/MRX-Systems/MRX-Core/commit/863a601e))
|
|
11
|
-
- **๐:** [Add new entrypoints] ([ee80b6a0](https://github.com/MRX-Systems/MRX-Core/commit/ee80b6a0))
|
|
12
|
-
- **๐:** [Add status code] ([8bb890c3](https://github.com/MRX-Systems/MRX-Core/commit/8bb890c3))
|
|
13
|
-
|
|
14
|
-
### ๐ง Fixes
|
|
15
|
-
|
|
16
|
-
- **๐ง:** [Correct expiration calculation in signJWT function] ## Bug Fixes - Fixed the expiration time calculation in the `signJWT` function to ensure it correctly adds the parsed human-readable time to the current timestamp. ([3493f499](https://github.com/MRX-Systems/MRX-Core/commit/3493f499))
|
|
17
|
-
- **๐ง:** [Update error response structure to use 'content' instead of 'cause'] ## Bug Fixes - Changed the error response property from 'cause' to 'content' for consistency. ([77bb785b](https://github.com/MRX-Systems/MRX-Core/commit/77bb785b))
|
|
18
|
-
- **๐ง:** [Add missing error handling for 'PARSE' case] ## Bug Fixes - Added error handling for the 'PARSE' case in the error plugin. ([c1aaa0e7](https://github.com/MRX-Systems/MRX-Core/commit/c1aaa0e7))
|
|
19
|
-
- **๐ง:** [Update error keys to include 'mrx-core' prefix] ([aa611054](https://github.com/MRX-Systems/MRX-Core/commit/aa611054))
|
|
20
|
-
- **๐ง:** [Refactor error handling to use ERROR_KEYS constants] ## Bug Fixes - Updated error messages to utilize constants from ERROR_KEYS. ([00690808](https://github.com/MRX-Systems/MRX-Core/commit/00690808))
|
|
21
|
-
- **๐ง:** [WTF] ([46a23ff2](https://github.com/MRX-Systems/MRX-Core/commit/46a23ff2))
|
|
22
|
-
- **๐ง:** [Correct authorization error key typos] ([e6a3693b](https://github.com/MRX-Systems/MRX-Core/commit/e6a3693b))
|
|
23
|
-
- **๐ง:** [Correct typos in database error keys] ([b8621308](https://github.com/MRX-Systems/MRX-Core/commit/b8621308))
|
|
24
|
-
|
|
25
|
-
### ๐ฆ Build
|
|
26
|
-
|
|
27
|
-
- **๐ฆ:** [Update peer dependencies for elysia and ioredis] Updated the peer dependencies for `elysia` to version `^1.4.7` and `ioredis` to version `^5.8.0` in package.json to ensure compatibility with the latest features and improvements. ([b2aa92d0](https://github.com/MRX-Systems/MRX-Core/commit/b2aa92d0))
|
|
28
|
-
- **๐ฆ:** [Update dependencies in package.json for improved stability] ([bbc02f9d](https://github.com/MRX-Systems/MRX-Core/commit/bbc02f9d))
|
|
29
|
-
- **๐ฆ:** [Add new entrypoits] ([a99dcc77](https://github.com/MRX-Systems/MRX-Core/commit/a99dcc77))
|
|
30
|
-
- **๐ฆ:** [Update dependencies in package.json] ([683a1a68](https://github.com/MRX-Systems/MRX-Core/commit/683a1a68))
|
|
31
|
-
- **๐ฆ:** [Update mssql dependency version] ([a6084d4a](https://github.com/MRX-Systems/MRX-Core/commit/a6084d4a))
|
|
32
|
-
|
|
33
|
-
### ๐ฆ Chore
|
|
34
|
-
|
|
35
|
-
- **๐ฆ:** V2.10.1-1-and-263-20250924 ([20aaf4f3](https://github.com/MRX-Systems/MRX-Core/commit/20aaf4f3))
|
|
36
|
-
- **๐ฆ:** V2.11.0-1-and-267-20250925 ([f3ab1a0b](https://github.com/MRX-Systems/MRX-Core/commit/f3ab1a0b))
|
|
37
|
-
|
|
38
|
-
### ๐งช Tests
|
|
39
|
-
|
|
40
|
-
- **๐งช:** [Enhance JWT expiration tests with additional scenarios] ## Tests - Added new test cases for various expiration scenarios including: - Date expiration for 30 minutes and 1 day. - Human-readable time expressions for 15 minutes, 2 hours, and 30 minutes. - Additional checks for past expiration handling. - Improved tolerance checks for expiration validation. ([eefe5aca](https://github.com/MRX-Systems/MRX-Core/commit/eefe5aca))
|
|
41
|
-
- **๐งช:** [Update unreachable expectation in signJWT test case] ([82a6c71d](https://github.com/MRX-Systems/MRX-Core/commit/82a6c71d))
|
|
42
|
-
- **๐งช:** [Refactor expiration checks in signJWT test case] ([fe75f283](https://github.com/MRX-Systems/MRX-Core/commit/fe75f283))
|
|
43
|
-
- **๐งช:** [Update error response structure to use 'content' instead of 'cause'] ([f1b36d38](https://github.com/MRX-Systems/MRX-Core/commit/f1b36d38))
|
|
44
|
-
- **๐งช:** [Update error handling for static database not found] ([c0514d1c](https://github.com/MRX-Systems/MRX-Core/commit/c0514d1c))
|
|
45
|
-
- **๐งช:** [Update error messages to include 'mrx-core' prefix] ## Tests - Updated error messages in the `parseHumanTimeToSeconds` tests to include the 'mrx-core' prefix. ([2c6a0bab](https://github.com/MRX-Systems/MRX-Core/commit/2c6a0bab))
|
|
46
|
-
- **๐งช:** [Update error message to include 'mrx-core' prefix] ## Tests - Updated the error message for rate limit exceeded response. ([55f1ee7e](https://github.com/MRX-Systems/MRX-Core/commit/55f1ee7e))
|
|
47
|
-
- **๐งช:** [Integrate success keys for microservice responses] ([966a9097](https://github.com/MRX-Systems/MRX-Core/commit/966a9097))
|
|
48
|
-
- **๐งช:** [Add test for onError handling of PARSE code] ([9f671fb2](https://github.com/MRX-Systems/MRX-Core/commit/9f671fb2))
|
|
49
|
-
- **๐งช:** [Refactor HTTP status code references in tests] ([3d6fef78](https://github.com/MRX-Systems/MRX-Core/commit/3d6fef78))
|
|
50
|
-
|
|
51
|
-
### ๐ค CI
|
|
52
|
-
|
|
53
|
-
- **๐ค:** [Refactor CI/CD workflows and actions] ([404d76da](https://github.com/MRX-Systems/MRX-Core/commit/404d76da))
|
|
54
|
-
- **๐ค:** [Update CI configuration for MSSQL secrets management] ([6987886a](https://github.com/MRX-Systems/MRX-Core/commit/6987886a))
|
|
55
|
-
- **๐ค:** [Add Bun version input to CI workflows] ([a0ecbb82](https://github.com/MRX-Systems/MRX-Core/commit/a0ecbb82))
|
|
56
|
-
|
|
57
|
-
### โค๏ธ Contributors
|
|
58
|
-
|
|
59
|
-
- Ruby <necrelox@proton.me>
|
|
60
|
-
- Github-actions <maxime.meriaux@mrxsys.com>
|
|
61
|
-
|
|
62
|
-
## v2.11.0-1-and-267-20250925
|
|
63
|
-
|
|
64
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.10.1-1-and-263-20250924...v2.11.0-1-and-267-20250925)
|
|
65
|
-
|
|
66
|
-
### ๐ Enhancements
|
|
67
|
-
|
|
68
|
-
- **๐:** [Add microservice success keys for responses] ## Features - Introduced `MICROSERVICE_SUCCESS_KEYS` for consistent success messages. ([1e8020c6](https://github.com/MRX-Systems/MRX-Core/commit/1e8020c6))
|
|
69
|
-
- **๐:** [Add CRUD success keys enumeration] ([98c53251](https://github.com/MRX-Systems/MRX-Core/commit/98c53251))
|
|
70
|
-
- **๐:** [Integrate CRUD success keys into response messages] ([a0d20b27](https://github.com/MRX-Systems/MRX-Core/commit/a0d20b27))
|
|
71
|
-
- **๐:** [Add new entrypoints] ([eae4a1c6](https://github.com/MRX-Systems/MRX-Core/commit/eae4a1c6))
|
|
72
|
-
|
|
73
|
-
### ๐ง Fixes
|
|
74
|
-
|
|
75
|
-
- **๐ง:** [Update error response structure to use 'content' instead of 'cause'] ## Bug Fixes - Changed the error response property from 'cause' to 'content' for consistency. ([2fd8fab3](https://github.com/MRX-Systems/MRX-Core/commit/2fd8fab3))
|
|
76
|
-
- **๐ง:** [Add missing error handling for 'PARSE' case] ## Bug Fixes - Added error handling for the 'PARSE' case in the error plugin. ([395f2265](https://github.com/MRX-Systems/MRX-Core/commit/395f2265))
|
|
77
|
-
- **๐ง:** [Update error keys to include 'mrx-core' prefix] ([0dd9ba3d](https://github.com/MRX-Systems/MRX-Core/commit/0dd9ba3d))
|
|
78
|
-
- **๐ง:** [Refactor error handling to use ERROR_KEYS constants] ## Bug Fixes - Updated error messages to utilize constants from ERROR_KEYS. ([e1a2e9d2](https://github.com/MRX-Systems/MRX-Core/commit/e1a2e9d2))
|
|
79
|
-
- **๐ง:** [WTF] ([9e33e9dc](https://github.com/MRX-Systems/MRX-Core/commit/9e33e9dc))
|
|
80
|
-
|
|
81
|
-
### ๐ฆ Build
|
|
82
|
-
|
|
83
|
-
- **๐ฆ:** [Add new entrypoits] ([8815abfb](https://github.com/MRX-Systems/MRX-Core/commit/8815abfb))
|
|
84
|
-
|
|
85
|
-
### ๐งช Tests
|
|
86
|
-
|
|
87
|
-
- **๐งช:** [Update error response structure to use 'content' instead of 'cause'] ([7071a151](https://github.com/MRX-Systems/MRX-Core/commit/7071a151))
|
|
88
|
-
- **๐งช:** [Update error handling for static database not found] ([f3f89593](https://github.com/MRX-Systems/MRX-Core/commit/f3f89593))
|
|
89
|
-
- **๐งช:** [Update error messages to include 'mrx-core' prefix] ## Tests - Updated error messages in the `parseHumanTimeToSeconds` tests to include the 'mrx-core' prefix. ([6898c33a](https://github.com/MRX-Systems/MRX-Core/commit/6898c33a))
|
|
90
|
-
- **๐งช:** [Update error message to include 'mrx-core' prefix] ## Tests - Updated the error message for rate limit exceeded response. ([8e2e2f79](https://github.com/MRX-Systems/MRX-Core/commit/8e2e2f79))
|
|
91
|
-
- **๐งช:** [Integrate success keys for microservice responses] ([ab39a2d5](https://github.com/MRX-Systems/MRX-Core/commit/ab39a2d5))
|
|
92
|
-
|
|
93
|
-
### โค๏ธ Contributors
|
|
94
|
-
|
|
95
|
-
- Ruby <necrelox@proton.me>
|
|
96
|
-
|
|
97
|
-
## v2.10.1-1-and-263-20250924
|
|
98
|
-
|
|
99
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.10.0-and-262-20250924...v2.10.1-1-and-263-20250924)
|
|
100
|
-
|
|
101
|
-
### ๐ง Fixes
|
|
102
|
-
|
|
103
|
-
- **๐ง:** [Correct expiration calculation in signJWT function] ## Bug Fixes - Fixed the expiration time calculation in the `signJWT` function to ensure it correctly adds the parsed human-readable time to the current timestamp. ([3493f499](https://github.com/MRX-Systems/MRX-Core/commit/3493f499))
|
|
104
|
-
|
|
105
|
-
### ๐ฆ Build
|
|
106
|
-
|
|
107
|
-
- **๐ฆ:** [Update peer dependencies for elysia and ioredis] Updated the peer dependencies for `elysia` to version `^1.4.7` and `ioredis` to version `^5.8.0` in package.json to ensure compatibility with the latest features and improvements. ([b2aa92d0](https://github.com/MRX-Systems/MRX-Core/commit/b2aa92d0))
|
|
108
|
-
|
|
109
|
-
### ๐ฆ Chore
|
|
110
|
-
|
|
111
|
-
- **๐ฆ:** V2.10.0 ([b99a11ce](https://github.com/MRX-Systems/MRX-Core/commit/b99a11ce))
|
|
112
|
-
|
|
113
|
-
### ๐งช Tests
|
|
114
|
-
|
|
115
|
-
- **๐งช:** [Enhance JWT expiration tests with additional scenarios] ## Tests - Added new test cases for various expiration scenarios including: - Date expiration for 30 minutes and 1 day. - Human-readable time expressions for 15 minutes, 2 hours, and 30 minutes. - Additional checks for past expiration handling. - Improved tolerance checks for expiration validation. ([eefe5aca](https://github.com/MRX-Systems/MRX-Core/commit/eefe5aca))
|
|
116
|
-
|
|
117
|
-
### โค๏ธ Contributors
|
|
118
|
-
|
|
119
|
-
- Ruby <necrelox@proton.me>
|
|
120
|
-
- Github-actions <maxime.meriaux@mrxsys.com>
|
|
121
|
-
|
|
122
|
-
## v2.10.0
|
|
123
|
-
|
|
124
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.10.0-and-262-20250924...v2.10.0)
|
|
125
|
-
|
|
126
|
-
## v2.10.0-and-262-20250924
|
|
127
|
-
|
|
128
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.9.0-1-and-259-20250918...v2.10.0-and-262-20250924)
|
|
129
|
-
|
|
130
|
-
### ๐ Enhancements
|
|
131
|
-
|
|
132
|
-
- **๐:** [Refactor CRUD operations to use getDbInjection utility] ([13eac707](https://github.com/MRX-Systems/MRX-Core/commit/13eac707))
|
|
133
|
-
|
|
134
|
-
### ๐ฆ Build
|
|
135
|
-
|
|
136
|
-
- **๐ฆ:** [Update elysia dependency version in package.json] ([54db5ba5](https://github.com/MRX-Systems/MRX-Core/commit/54db5ba5))
|
|
137
|
-
|
|
138
|
-
### ๐ Types
|
|
139
|
-
|
|
140
|
-
- **๐:** [Enhance RenameKey type definition for clarity] ([41c26e24](https://github.com/MRX-Systems/MRX-Core/commit/41c26e24))
|
|
141
|
-
- **๐:** [Add AddPrefixToAllKeys type definition] ([d2c0544d](https://github.com/MRX-Systems/MRX-Core/commit/d2c0544d))
|
|
142
|
-
|
|
143
|
-
### ๐ฆ Chore
|
|
144
|
-
|
|
145
|
-
- **๐ฆ:** V2.9.0 ([2a7532dc](https://github.com/MRX-Systems/MRX-Core/commit/2a7532dc))
|
|
146
|
-
|
|
147
|
-
### โค๏ธ Contributors
|
|
148
|
-
|
|
149
|
-
- Ruby <necrelox@proton.me>
|
|
150
|
-
- Github-actions <maxime.meriaux@mrxsys.com>
|
|
151
|
-
|
|
152
|
-
## v2.9.0
|
|
153
|
-
|
|
154
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.9.0-1-and-259-20250918...v2.9.0)
|
|
155
|
-
|
|
156
|
-
### ๐ Enhancements
|
|
157
|
-
|
|
158
|
-
- **๐:** [Refactor CRUD operations to use getDbInjection utility] ([13eac707](https://github.com/MRX-Systems/MRX-Core/commit/13eac707))
|
|
159
|
-
|
|
160
|
-
### ๐ฆ Build
|
|
161
|
-
|
|
162
|
-
- **๐ฆ:** [Update elysia dependency version in package.json] ([54db5ba5](https://github.com/MRX-Systems/MRX-Core/commit/54db5ba5))
|
|
163
|
-
|
|
164
|
-
### โค๏ธ Contributors
|
|
165
|
-
|
|
166
|
-
- Ruby <necrelox@proton.me>
|
|
167
|
-
|
|
168
|
-
## v2.9.0-1-and-259-20250918
|
|
169
|
-
|
|
170
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.8.0...v2.9.0-1-and-259-20250918)
|
|
171
|
-
|
|
172
|
-
### ๐ Enhancements
|
|
173
|
-
|
|
174
|
-
- **๐:** [Add new CrudSchema] ([5820a1d0](https://github.com/MRX-Systems/MRX-Core/commit/5820a1d0))
|
|
175
|
-
- **๐:** [Add flatten utility for nested union types] ([f856ebb2](https://github.com/MRX-Systems/MRX-Core/commit/f856ebb2))
|
|
176
|
-
- **๐:** [Add CRUD operations for count, delete, find, insert, and update] ([71a03b21](https://github.com/MRX-Systems/MRX-Core/commit/71a03b21))
|
|
177
|
-
- **๐:** [Add crud plugin] ([913bcdba](https://github.com/MRX-Systems/MRX-Core/commit/913bcdba))
|
|
178
|
-
- **๐:** [Add CRUD module exports and type definitions] ([abd8d243](https://github.com/MRX-Systems/MRX-Core/commit/abd8d243))
|
|
179
|
-
- **๐:** [Add db-resolver module export] ([2bbcfead](https://github.com/MRX-Systems/MRX-Core/commit/2bbcfead))
|
|
180
|
-
|
|
181
|
-
### โก Performance
|
|
182
|
-
|
|
183
|
-
- **โก:** [Replace TypeGuard with KindGuard in adaptive where clause schema] ([039baae5](https://github.com/MRX-Systems/MRX-Core/commit/039baae5))
|
|
184
|
-
|
|
185
|
-
### ๐ง Fixes
|
|
186
|
-
|
|
187
|
-
- **๐ง:** [Fix entrypoint and other] ([ef213c5f](https://github.com/MRX-Systems/MRX-Core/commit/ef213c5f))
|
|
188
|
-
- **๐ง:** [Fix pr] ([1f951675](https://github.com/MRX-Systems/MRX-Core/commit/1f951675))
|
|
189
|
-
- **๐ง:** [Fix pr 2] ([8c4509ff](https://github.com/MRX-Systems/MRX-Core/commit/8c4509ff))
|
|
190
|
-
- **๐ง:** [Update test/unit/modules/jwt/jwt.spec.ts] ([e88996fc](https://github.com/MRX-Systems/MRX-Core/commit/e88996fc))
|
|
191
|
-
- **๐ง:** [Update source/modules/elysia/crud-schema/utils/create-response-200-schema.ts] ([524f94cb](https://github.com/MRX-Systems/MRX-Core/commit/524f94cb))
|
|
192
|
-
- **๐ง:** [fix handling of selectedFields in query builder] ([1e6aea40](https://github.com/MRX-Systems/MRX-Core/commit/1e6aea40))
|
|
193
|
-
- **๐ง:** [Fix update & delete method to exec query with option throwIfNoResult] ([569fc41e](https://github.com/MRX-Systems/MRX-Core/commit/569fc41e))
|
|
194
|
-
- **๐ง:** [PR Correction] ([0ea07dae](https://github.com/MRX-Systems/MRX-Core/commit/0ea07dae))
|
|
195
|
-
- **๐ง:** [Update path for find operation to '/find'] ## Bug Fixes - Corrected the default path for the find operation from '/search' to '/find'. ([45c6085e](https://github.com/MRX-Systems/MRX-Core/commit/45c6085e))
|
|
196
|
-
- **๐ง:** [Change deprecated response parameter to responseValue in afterHandle] ([b6bb9580](https://github.com/MRX-Systems/MRX-Core/commit/b6bb9580))
|
|
197
|
-
- **๐ง:** [Update db-resolver, add prefix in cause] ([cd1351a8](https://github.com/MRX-Systems/MRX-Core/commit/cd1351a8))
|
|
198
|
-
|
|
199
|
-
### ๐งน Refactors
|
|
200
|
-
|
|
201
|
-
- **๐งน:** [error module rename files to kebab-case and refacto BaseError] ([51334872](https://github.com/MRX-Systems/MRX-Core/commit/51334872))
|
|
202
|
-
- **๐งน:** [error module rename files to kebab-case and refacto BaseError] ([84cb8951](https://github.com/MRX-Systems/MRX-Core/commit/84cb8951))
|
|
203
|
-
- **๐งน:** [database module rename files to kebab-case and refacto BaseError] ([7ed791ac](https://github.com/MRX-Systems/MRX-Core/commit/7ed791ac))
|
|
204
|
-
- **๐งน:** [repository module rename files to kebab-case and refacto BaseError] ([f8ffde81](https://github.com/MRX-Systems/MRX-Core/commit/f8ffde81))
|
|
205
|
-
- **๐งน:** [totp module rename files to kebab-case and refacto BaseError] ([64656932](https://github.com/MRX-Systems/MRX-Core/commit/64656932))
|
|
206
|
-
- **๐งน:** [typed-event-emitter module rename files to kebab-case and refacto BaseError] ([767b024f](https://github.com/MRX-Systems/MRX-Core/commit/767b024f))
|
|
207
|
-
- **๐งน:** [singleton-manager module rename files to kebab-case and refacto BaseError] ([0f44c222](https://github.com/MRX-Systems/MRX-Core/commit/0f44c222))
|
|
208
|
-
- **๐งน:** [mailer module rename files to kebab-case and refacto BaseError] ([9191f7a4](https://github.com/MRX-Systems/MRX-Core/commit/9191f7a4))
|
|
209
|
-
- **๐งน:** [logger module rename files to kebab-case and refacto BaseError] ([0e88299e](https://github.com/MRX-Systems/MRX-Core/commit/0e88299e))
|
|
210
|
-
- **๐งน:** [kv-store module rename files to kebab-case and refacto BaseError] ([5240ebe8](https://github.com/MRX-Systems/MRX-Core/commit/5240ebe8))
|
|
211
|
-
- **๐งน:** [jwt module rename files to kebab-case and refacto BaseError] ([59d38869](https://github.com/MRX-Systems/MRX-Core/commit/59d38869))
|
|
212
|
-
- **๐งน:** [ratelimit module rename files to kebab-case and refacto BaseError] ([18383311](https://github.com/MRX-Systems/MRX-Core/commit/18383311))
|
|
213
|
-
- **๐งน:** [db-resolver module rename files to kebab-case and refacto BaseError] ([493dd447](https://github.com/MRX-Systems/MRX-Core/commit/493dd447))
|
|
214
|
-
- **๐งน:** [crud schema module rename files to kebab-case and refacto BaseError] ([1ee9af34](https://github.com/MRX-Systems/MRX-Core/commit/1ee9af34))
|
|
215
|
-
- **๐งน:** [crud module rename files to kebab-case and refacto BaseError] ([7282132c](https://github.com/MRX-Systems/MRX-Core/commit/7282132c))
|
|
216
|
-
- **๐งน:** [cache module rename files to kebab-case and refacto BaseError] ([2a229985](https://github.com/MRX-Systems/MRX-Core/commit/2a229985))
|
|
217
|
-
- **๐งน:** [refactor imports and clean up code structure] ([e0ca7178](https://github.com/MRX-Systems/MRX-Core/commit/e0ca7178))
|
|
218
|
-
- **๐งน:** [Remove old crud-schema module] ([76e1975b](https://github.com/MRX-Systems/MRX-Core/commit/76e1975b))
|
|
219
|
-
- **๐งน:** [Remove old crud] ([72423e48](https://github.com/MRX-Systems/MRX-Core/commit/72423e48))
|
|
220
|
-
- **๐งน:** [rename crud-models-type to crud-schema-models-type] ([b3269ea7](https://github.com/MRX-Systems/MRX-Core/commit/b3269ea7))
|
|
221
|
-
- **๐งน:** [Rename global utils to shared for types enums and utils] ([42b57652](https://github.com/MRX-Systems/MRX-Core/commit/42b57652))
|
|
222
|
-
- **๐งน:** [Refactor isDateFromElysiaTypeBox for clarity and consistency] ## Refactoring - Updated the import statements for clarity. - Replaced direct property access with KindGuard methods for better readability and maintainability. ([1461fb40](https://github.com/MRX-Systems/MRX-Core/commit/1461fb40))
|
|
223
|
-
- **๐งน:** [Refactor createPropertiesSchema for improved clarity] ## Refactoring - Updated the type definition for `clauseSchema` to use `TFlatten` for better type handling. - Replaced direct usage of `t.Union` with `flatten(t.Union(...))` to enhance readability and maintainability. ([6664fbc3](https://github.com/MRX-Systems/MRX-Core/commit/6664fbc3))
|
|
224
|
-
- **๐งน:** [Refactor TFlatten] ([2816c18c](https://github.com/MRX-Systems/MRX-Core/commit/2816c18c))
|
|
225
|
-
- **๐งน:** [Update import paths for shared utilities] ([115298e7](https://github.com/MRX-Systems/MRX-Core/commit/115298e7))
|
|
226
|
-
- **๐งน:** [Refactor response schema handling for clarity] ([995ff541](https://github.com/MRX-Systems/MRX-Core/commit/995ff541))
|
|
227
|
-
- **๐งน:** [Refactor type exports in index files] - Updated type exports in `source/shared/types/index.ts` to include `TFlatten`. - Corrected export statement in `source/shared/utils/index.ts` for `flatten`. ([a5495345](https://github.com/MRX-Systems/MRX-Core/commit/a5495345))
|
|
228
|
-
- **๐งน:** [Update CRUD and crud-schema module imports] ([7a3b4226](https://github.com/MRX-Systems/MRX-Core/commit/7a3b4226))
|
|
229
|
-
- **๐งน:** [Uncomment params in CRUD operations] ([94251627](https://github.com/MRX-Systems/MRX-Core/commit/94251627))
|
|
230
|
-
- **๐งน:** [Improve SingletonManager registration logic] ([1d2fb5f8](https://github.com/MRX-Systems/MRX-Core/commit/1d2fb5f8))
|
|
231
|
-
- **๐งน:** [use new prototype of SingletonManager.register] ([1b7055cb](https://github.com/MRX-Systems/MRX-Core/commit/1b7055cb))
|
|
232
|
-
- **๐งน:** [Update error keys for SingletonManager] Refactored error keys in SingletonManager to use more accurate terminology. - Changed CLASS_CONSTRUCTOR_ALREADY_REGISTERED to CLASS_INSTANCE_ALREADY_REGISTERED - Changed CLASS_CONSTRUCTOR_NOT_REGISTERED to CLASS_INSTANCE_NOT_REGISTERED Updated corresponding tests to reflect these changes. ([6b4368eb](https://github.com/MRX-Systems/MRX-Core/commit/6b4368eb))
|
|
233
|
-
- **๐งน:** [Simplify dbResolver implementation and remove unused code] ## Refactoring - Removed unused imports and types related to dynamic database options. - Simplified the `dbResolver` function by eliminating unnecessary complexity. - Streamlined the error handling for static database resolution. ## Description This commit refactors the `dbResolver` implementation by removing unused code and simplifying the logic. The changes enhance readability and maintainability while ensuring that the core functionality remains intact. ([2ce26419](https://github.com/MRX-Systems/MRX-Core/commit/2ce26419))
|
|
234
|
-
- **๐งน:** [Refactor CRUD operations to use new dbResolver] ([2070b4d1](https://github.com/MRX-Systems/MRX-Core/commit/2070b4d1))
|
|
235
|
-
|
|
236
|
-
### ๐ Documentation
|
|
237
|
-
|
|
238
|
-
- **๐:** [Update tsdoc singleton-manager.register] ([ec420015](https://github.com/MRX-Systems/MRX-Core/commit/ec420015))
|
|
239
|
-
- **๐:** [Update tsdoc singleton-manager.unregister] ([e97233b4](https://github.com/MRX-Systems/MRX-Core/commit/e97233b4))
|
|
240
|
-
|
|
241
|
-
### ๐ฆ Build
|
|
242
|
-
|
|
243
|
-
- **๐ฆ:** [update error module import path] Changed the import path for error types from 'types/index.ts' to 'utils/index.ts' to better reflect the structure and purpose of the files. ([d3adc500](https://github.com/MRX-Systems/MRX-Core/commit/d3adc500))
|
|
244
|
-
- **๐ฆ:** [update exports path for error utilities] Updated the exports path for error utilities in package.json to point to the correct utils directory. This change ensures that the application correctly references the utility functions for error handling. ([d38ec275](https://github.com/MRX-Systems/MRX-Core/commit/d38ec275))
|
|
245
|
-
- **๐ฆ:** [Update test timeout values in package.json] ([84128961](https://github.com/MRX-Systems/MRX-Core/commit/84128961))
|
|
246
|
-
- **๐ฆ:** [Update dependencies in package.json] ([d782c873](https://github.com/MRX-Systems/MRX-Core/commit/d782c873))
|
|
247
|
-
- **๐ฆ:** [Update package dependencies and exports] ([3cadc25a](https://github.com/MRX-Systems/MRX-Core/commit/3cadc25a))
|
|
248
|
-
- **๐ฆ:** [Update elysia dependency to version 1.4.5] ([18320d6d](https://github.com/MRX-Systems/MRX-Core/commit/18320d6d))
|
|
249
|
-
- **๐ฆ:** [Update typescript-eslint dependency to version 8.44.0] ([92bcd88f](https://github.com/MRX-Systems/MRX-Core/commit/92bcd88f))
|
|
250
|
-
- **๐ฆ:** [Remove old entrypoint] ([56bb697c](https://github.com/MRX-Systems/MRX-Core/commit/56bb697c))
|
|
251
|
-
|
|
252
|
-
### ๐ Types
|
|
253
|
-
|
|
254
|
-
- **๐:** [Improve return type with conditionnal header] ([1f304cec](https://github.com/MRX-Systems/MRX-Core/commit/1f304cec))
|
|
255
|
-
- **๐:** [Add TFlatten type for flattening nested union types] ([b3771d09](https://github.com/MRX-Systems/MRX-Core/commit/b3771d09))
|
|
256
|
-
- **๐:** [Refactor PropertiesSchema] ([39635ee5](https://github.com/MRX-Systems/MRX-Core/commit/39635ee5))
|
|
257
|
-
- **๐:** [Add CRUD operation interfaces for count, delete, find, insert, and update] ([0ea2c52b](https://github.com/MRX-Systems/MRX-Core/commit/0ea2c52b))
|
|
258
|
-
- **๐:** [Update LocalHook to Elysia 1.4.5 types] ([5fe24ecb](https://github.com/MRX-Systems/MRX-Core/commit/5fe24ecb))
|
|
259
|
-
|
|
260
|
-
### ๐ฆ Chore
|
|
261
|
-
|
|
262
|
-
- **๐ฆ:** [Update Dependabot schedule to weekly] ([3bd835bb](https://github.com/MRX-Systems/MRX-Core/commit/3bd835bb))
|
|
263
|
-
- **๐ฆ:** [For the moment remove old db-resolver] ([19aaa85b](https://github.com/MRX-Systems/MRX-Core/commit/19aaa85b))
|
|
264
|
-
|
|
265
|
-
### ๐งช Tests
|
|
266
|
-
|
|
267
|
-
- **๐งช:** [error module rename files to kebab-case and refacto BaseError] ([76c8c3e7](https://github.com/MRX-Systems/MRX-Core/commit/76c8c3e7))
|
|
268
|
-
- **๐งช:** [add test for CrudSchema and its utilities] ([4f61f4a2](https://github.com/MRX-Systems/MRX-Core/commit/4f61f4a2))
|
|
269
|
-
- **๐งช:** [Refactor tests for createAdaptiveWhereClauseSchema] ([2c1200f7](https://github.com/MRX-Systems/MRX-Core/commit/2c1200f7))
|
|
270
|
-
- **๐งช:** [Refactor tests for createCountResponse200Schema] Updated tests for createCountResponse200Schema to improve clarity and accuracy. - Removed unnecessary checks for 'type' and 'kind'. - Utilized KindGuard for type validation of schema properties. ([129dbe14](https://github.com/MRX-Systems/MRX-Core/commit/129dbe14))
|
|
271
|
-
- **๐งช:** [Refactor createCountSchema tests for clarity and consistency] - Updated test descriptions for better clarity. - Replaced direct property checks with KindGuard assertions for type validation. - Removed unnecessary checks related to Kind and OptionalKind. ([9f5e67d2](https://github.com/MRX-Systems/MRX-Core/commit/9f5e67d2))
|
|
272
|
-
- **๐งช:** [Refactor createDeleteSchema tests for clarity and consistency] Refactored tests for createDeleteSchema to improve clarity and consistency. - Removed unnecessary checks for 'type' and 'kind' properties. - Utilized KindGuard for type verification in tests. - Enhanced test descriptions for better understanding. ([f4bb606b](https://github.com/MRX-Systems/MRX-Core/commit/f4bb606b))
|
|
273
|
-
- **๐งช:** [Refactor createFiltersSchema tests for clarity and consistency] ([cb8112ea](https://github.com/MRX-Systems/MRX-Core/commit/cb8112ea))
|
|
274
|
-
- **๐งช:** [Refactor createFindSchema tests for clarity and consistency] Refactored the tests for createFindSchema to improve clarity and consistency. - Replaced usage of `Kind` and `OptionalKind` with `KindGuard` for better type checking. - Simplified test descriptions to focus on the core functionality being tested. - Ensured all optional properties are validated using `KindGuard`. ([3c35bdb9](https://github.com/MRX-Systems/MRX-Core/commit/3c35bdb9))
|
|
275
|
-
- **๐งช:** [Refactor createIdParamSchema tests for clarity and consistency] ([4bcec05c](https://github.com/MRX-Systems/MRX-Core/commit/4bcec05c))
|
|
276
|
-
- **๐งช:** [Refactor createInsertSchema tests for clarity and consistency] Refactored the tests for createInsertSchema to improve clarity and consistency. - Removed redundant checks for type and kind. - Utilized KindGuard for type validation. - Simplified test descriptions for better readability. ([594e4688](https://github.com/MRX-Systems/MRX-Core/commit/594e4688))
|
|
277
|
-
- **๐งช:** [Refactor createOrderSchema tests for clarity and consistency] ([60dd45f0](https://github.com/MRX-Systems/MRX-Core/commit/60dd45f0))
|
|
278
|
-
- **๐งช:** [Refactor createPropertiesSchema tests for clarity and consistency] Refactored the tests for createPropertiesSchema to improve clarity and consistency. - Updated test descriptions for better understanding. - Replaced direct property checks with KindGuard assertions for type validation. - Removed redundant checks related to 'kind' to streamline the tests. ([297e4fec](https://github.com/MRX-Systems/MRX-Core/commit/297e4fec))
|
|
279
|
-
- **๐งช:** [Refactor createQSchema tests for improved clarity and consistency] ([2fd71132](https://github.com/MRX-Systems/MRX-Core/commit/2fd71132))
|
|
280
|
-
- **๐งช:** [Refactor createResponse200Schema tests for improved validation] - Updated tests to utilize KindGuard for type validation. - Removed direct type checks and replaced with guard functions for better clarity. - Enhanced readability and consistency across schema property validations. ([271c022c](https://github.com/MRX-Systems/MRX-Core/commit/271c022c))
|
|
281
|
-
- **๐งช:** [Refactor createSelectedFieldsSchema tests for improved validation] Refactored tests for createSelectedFieldsSchema to utilize KindGuard for type validation. This enhances clarity and ensures accurate type checking for union, literal, and array elements in the schema. ([b046d270](https://github.com/MRX-Systems/MRX-Core/commit/b046d270))
|
|
282
|
-
- **๐งช:** [Refactor createUpdateOneSchema tests for improved validation] Refactored tests for createUpdateOneSchema to enhance validation checks. - Replaced direct property checks with KindGuard assertions for better type validation. - Ensured all schema properties are validated against expected types and structures. ([43d17a61](https://github.com/MRX-Systems/MRX-Core/commit/43d17a61))
|
|
283
|
-
- **๐งช:** [Refactor createUpdateSchema tests for improved clarity] - Updated test descriptions for better clarity and consistency. - Replaced direct property checks with type guard assertions for validation. - Ensured all schema properties are validated using KindGuard methods. ([08b9bd68](https://github.com/MRX-Systems/MRX-Core/commit/08b9bd68))
|
|
284
|
-
- **๐งช:** [Add error handling tests for various error types] ([4db818ba](https://github.com/MRX-Systems/MRX-Core/commit/4db818ba))
|
|
285
|
-
- **๐งช:** [Add tests for flatten utility functionality] ([1c2cead5](https://github.com/MRX-Systems/MRX-Core/commit/1c2cead5))
|
|
286
|
-
- **๐งช:** [Add test for handling union types in createPropertiesSchema] ([15786d56](https://github.com/MRX-Systems/MRX-Core/commit/15786d56))
|
|
287
|
-
- **๐งช:** [Refactor tests for createResponse200Schema] ([ba8f4f39](https://github.com/MRX-Systems/MRX-Core/commit/ba8f4f39))
|
|
288
|
-
- **๐งช:** [Delete timeout to "should connect to the SMTP server successfully"] ([51b56fe8](https://github.com/MRX-Systems/MRX-Core/commit/51b56fe8))
|
|
289
|
-
- **๐งช:** [add tests for repository methods with selectedFields set to "*"] ([111bc580](https://github.com/MRX-Systems/MRX-Core/commit/111bc580))
|
|
290
|
-
- **๐งช:** [Update SingletonManager registration to use instances] ([f3a8d91e](https://github.com/MRX-Systems/MRX-Core/commit/f3a8d91e))
|
|
291
|
-
- **๐งช:** [Refactor db-resolver tests for improved clarity and structure] ([a77ec879](https://github.com/MRX-Systems/MRX-Core/commit/a77ec879))
|
|
292
|
-
- **๐งช:** [Update injectDynamicDB macro cleanup process] ## Refactoring - Changed `beforeEach` in `injectDynamicDB` to be asynchronous. - Ensured proper disconnection of the database before each test. ([2b4d3491](https://github.com/MRX-Systems/MRX-Core/commit/2b4d3491))
|
|
293
|
-
- **๐งช:** [Improve dynamic database cleanup process] ([c18a0902](https://github.com/MRX-Systems/MRX-Core/commit/c18a0902))
|
|
294
|
-
|
|
295
|
-
### ๐จ Styles
|
|
296
|
-
|
|
297
|
-
- **๐จ:** Auto-fix lint issues ([d85bca25](https://github.com/MRX-Systems/MRX-Core/commit/d85bca25))
|
|
298
|
-
|
|
299
|
-
### ๐ค CI
|
|
300
|
-
|
|
301
|
-
- **๐ค:** [update CI workflows and add Dependabot configuration] ## CI Changes - Removed specific Bun version from setup in integration and unit test workflows. - Added a new Dependabot configuration file for automatic updates. ([60b1ebf6](https://github.com/MRX-Systems/MRX-Core/commit/60b1ebf6))
|
|
302
|
-
- **๐ค:** [Add bun-version specification to integration and unit test jobs] - Added `bun-version: 1.2.21` to the setup steps in both job-integration-test.yml and job-unit-test.yml to ensure consistent Bun version usage during CI runs. ([f4b7826d](https://github.com/MRX-Systems/MRX-Core/commit/f4b7826d))
|
|
303
|
-
- **๐ค:** [Specify bun version to 1.2.20 for the moment] ([63cf4c1b](https://github.com/MRX-Systems/MRX-Core/commit/63cf4c1b))
|
|
304
|
-
|
|
305
|
-
### โค๏ธ Contributors
|
|
306
|
-
|
|
307
|
-
- Ruby <necrelox@proton.me>
|
|
308
|
-
- Necrelox ([@Necrelox](https://github.com/Necrelox))
|
|
309
|
-
- Komiroko <komiriko@pm.me>
|
|
310
|
-
|
|
311
|
-
## v2.8.0
|
|
312
|
-
|
|
313
|
-
[compare changes](https://github.com/MRX-Systems/MRX-Core/compare/v2.7.0...v2.8.0)
|
|
314
|
-
|
|
315
|
-
### ๐ Enhancements
|
|
316
|
-
|
|
317
|
-
- **๐:** [Add tags support to CRUD options] ([f38ec111](https://github.com/MRX-Systems/MRX-Core/commit/f38ec111))
|
|
318
|
-
- **๐:** [Add prefix option to CRUD options] ([6305bcf3](https://github.com/MRX-Systems/MRX-Core/commit/6305bcf3))
|
|
319
|
-
- **๐:** [Add JWT error keys enumeration] ([5fce607d](https://github.com/MRX-Systems/MRX-Core/commit/5fce607d))
|
|
320
|
-
- **๐:** [Add parseHumanTimeToSeconds utility function] ([829511bc](https://github.com/MRX-Systems/MRX-Core/commit/829511bc))
|
|
321
|
-
- **๐:** [Add JWT signing and verification functions] ([82fe48c3](https://github.com/MRX-Systems/MRX-Core/commit/82fe48c3))
|
|
322
|
-
- **๐:** [Add error keys for human time parsing] ([d566df3e](https://github.com/MRX-Systems/MRX-Core/commit/d566df3e))
|
|
323
|
-
- **๐:** [Enhance query returning with trigger modifications] ([c5b62b91](https://github.com/MRX-Systems/MRX-Core/commit/c5b62b91))
|
|
324
|
-
- **๐:** [Add KV_STORE_ERROR_KEYS enum for error handling] ## Features - Introduced `KV_STORE_ERROR_KEYS` enum to standardize error messages. ([45fc7119](https://github.com/MRX-Systems/MRX-Core/commit/45fc7119))
|
|
325
|
-
- **๐:** [Add IoRedisStore class for Redis-based key-value store] ([0181be2b](https://github.com/MRX-Systems/MRX-Core/commit/0181be2b))
|
|
326
|
-
- **๐:** [Add MemoryStore class for in-memory key-value storage] ([4342e1f7](https://github.com/MRX-Systems/MRX-Core/commit/4342e1f7))
|
|
327
|
-
- **๐:** [Add RATE_LIMIT_ERROR_KEYS export] ([1b819bea](https://github.com/MRX-Systems/MRX-Core/commit/1b819bea))
|
|
328
|
-
- **๐:** [Add generateCacheKey utility for caching requests] ## Features - Introduced `generateCacheKey` function to create a unique cache key based on request properties. ([b80bd5e2](https://github.com/MRX-Systems/MRX-Core/commit/b80bd5e2))
|
|
329
|
-
- **๐:** [Add caching functionality with cache utility] ([a54cd86f](https://github.com/MRX-Systems/MRX-Core/commit/a54cd86f))
|
|
330
|
-
- **๐:** [Enhance caching mechanism with route tracking and metadata] ## Features - Implemented route tracking to cache responses based on request method and URL. - Enhanced cache storage to include metadata alongside the response. - Updated cache control headers to reflect cache hits and misses. ([1e77647f](https://github.com/MRX-Systems/MRX-Core/commit/1e77647f))
|
|
331
|
-
|
|
332
|
-
### ๐ง Fixes
|
|
333
|
-
|
|
334
|
-
- **๐ง:** [Improve error handling in Repository class] ([af8b8ef2](https://github.com/MRX-Systems/MRX-Core/commit/af8b8ef2))
|
|
335
|
-
- **๐ง:** [fix add x-cache MISS to the first request] - Added a check to ensure 'x-cache' header is set to 'MISS' if not already defined. - This change enhances the clarity of cache status in responses. ([26eb7929](https://github.com/MRX-Systems/MRX-Core/commit/26eb7929))
|
|
336
|
-
- **๐ง:** [Update cache control headers to use metadata TTL] ([d70ce44a](https://github.com/MRX-Systems/MRX-Core/commit/d70ce44a))
|
|
337
|
-
|
|
338
|
-
### ๐งน Refactors
|
|
339
|
-
|
|
340
|
-
- **๐งน:** [Totp module little clean] ([701c9a3b](https://github.com/MRX-Systems/MRX-Core/commit/701c9a3b))
|
|
341
|
-
- **๐งน:** [Enhance error handling structure in error plugin] ## Refactoring - Improved the structure of the error handling in the error plugin. - Updated the validation error response to include detailed error information. ([883a17d2](https://github.com/MRX-Systems/MRX-Core/commit/883a17d2))
|
|
342
|
-
- **๐งน:** [Remove JWT plugin and related files for cleanup] ([4805d0d0](https://github.com/MRX-Systems/MRX-Core/commit/4805d0d0))
|
|
343
|
-
- **๐งน:** [Rename ResolveDbHeader to dbResolverHeader for consistency] ([239b7898](https://github.com/MRX-Systems/MRX-Core/commit/239b7898))
|
|
344
|
-
- **๐งน:** [Refactor like operator to use where clause] ## Refactoring - Changed the implementation of the `$like` operator to use `where` instead of `whereLike`. (for non case sensitive) ([a2cf66d2](https://github.com/MRX-Systems/MRX-Core/commit/a2cf66d2))
|
|
345
|
-
- **๐งน:** [Change 'like' operator to use uppercase syntax] ## Refactoring - Updated the 'like' operator in the query builder to use uppercase 'LIKE'. ([19057d82](https://github.com/MRX-Systems/MRX-Core/commit/19057d82))
|
|
346
|
-
- **๐งน:** [Remove return await in ioredisStore] ([2019a41c](https://github.com/MRX-Systems/MRX-Core/commit/2019a41c))
|
|
347
|
-
- **๐งน:** [Remove rate limiting store implementation] ([aec26501](https://github.com/MRX-Systems/MRX-Core/commit/aec26501))
|
|
348
|
-
- **๐งน:** [Refactor rate limiting to use kvStore] ([1d42fb97](https://github.com/MRX-Systems/MRX-Core/commit/1d42fb97))
|
|
349
|
-
|
|
350
|
-
### ๐ Documentation
|
|
351
|
-
|
|
352
|
-
- **๐:** [fix tsdoc CoreError to BaseError] ([8db68847](https://github.com/MRX-Systems/MRX-Core/commit/8db68847))
|
|
353
|
-
|
|
354
|
-
### ๐ฆ Build
|
|
355
|
-
|
|
356
|
-
- **๐ฆ:** [update dependencies in package.json] ([2c69bbb5](https://github.com/MRX-Systems/MRX-Core/commit/2c69bbb5))
|
|
357
|
-
- **๐ฆ:** [Update nodemailer type definitions to version 7.0.1] ([387ac697](https://github.com/MRX-Systems/MRX-Core/commit/387ac697))
|
|
358
|
-
- **๐ฆ:** [Refactor JWT module paths for better organization] ([9f504873](https://github.com/MRX-Systems/MRX-Core/commit/9f504873))
|
|
359
|
-
- **๐ฆ:** [Update JWT module paths and dependencies] ([71eaca98](https://github.com/MRX-Systems/MRX-Core/commit/71eaca98))
|
|
360
|
-
- **๐ฆ:** [Update package.json for improved dependency management] ([f48a7fa6](https://github.com/MRX-Systems/MRX-Core/commit/f48a7fa6))
|
|
361
|
-
- **๐ฆ:** [Add kvStore module paths to builder] ([3020bf8a](https://github.com/MRX-Systems/MRX-Core/commit/3020bf8a))
|
|
362
|
-
- **๐ฆ:** [Update dependencies and add kvStore module paths] ([056c4b2b](https://github.com/MRX-Systems/MRX-Core/commit/056c4b2b))
|
|
363
|
-
- **๐ฆ:** [Remove kvStore module from build process] ## Build Changes - Removed './source/modules/kvStore/index.ts' from the build configuration. ([502e25a2](https://github.com/MRX-Systems/MRX-Core/commit/502e25a2))
|
|
364
|
-
- **๐ฆ:** [Remove kvStore module from exports] ([b2a02bc6](https://github.com/MRX-Systems/MRX-Core/commit/b2a02bc6))
|
|
365
|
-
- **๐ฆ:** [Add cache module to builder configuration] ## Build - Included cache module paths in the builder configuration. ([63681c8b](https://github.com/MRX-Systems/MRX-Core/commit/63681c8b))
|
|
366
|
-
- **๐ฆ:** [Add cache module exports to package.json] ([ef662af9](https://github.com/MRX-Systems/MRX-Core/commit/ef662af9))
|
|
367
|
-
|
|
368
|
-
### ๐ Types
|
|
369
|
-
|
|
370
|
-
- **๐:** [Update throwIfNoResult type in QueryOptions interface] Updated the `throwIfNoResult` property in the `QueryOptions` interface to accept an object with optional `message` and `code` properties, enhancing error handling capabilities. ([644ff8be](https://github.com/MRX-Systems/MRX-Core/commit/644ff8be))
|
|
371
|
-
- **๐:** [Add KvStore interface for key-value store operations] ([ec2c8dea](https://github.com/MRX-Systems/MRX-Core/commit/ec2c8dea))
|
|
372
|
-
- **๐:** [Add CacheOptions type definition and index export] ([7f17d79b](https://github.com/MRX-Systems/MRX-Core/commit/7f17d79b))
|
|
373
|
-
- **๐:** [Add CacheItem type definition for caching mechanism] ([a10a15f7](https://github.com/MRX-Systems/MRX-Core/commit/a10a15f7))
|
|
374
|
-
|
|
375
|
-
### ๐ฆ Chore
|
|
376
|
-
|
|
377
|
-
- **๐ฆ:** [Clean up CHANGELOG.md for better readability] ([d66fac36](https://github.com/MRX-Systems/MRX-Core/commit/d66fac36))
|
|
378
|
-
|
|
379
|
-
### ๐งช Tests
|
|
380
|
-
|
|
381
|
-
- **๐งช:** [totp tests little clean] ([238ac25b](https://github.com/MRX-Systems/MRX-Core/commit/238ac25b))
|
|
382
|
-
- **๐งช:** [Add test to hande custom code and refacto custom message] ([c7737572](https://github.com/MRX-Systems/MRX-Core/commit/c7737572))
|
|
383
|
-
- **๐งช:** [Update validation error handling tests for new structure] ([42184d86](https://github.com/MRX-Systems/MRX-Core/commit/42184d86))
|
|
384
|
-
- **๐งช:** [Remove JWT tests for cleanup] ([08ca9a71](https://github.com/MRX-Systems/MRX-Core/commit/08ca9a71))
|
|
385
|
-
- **๐งช:** [[Add comprehensive tests for parseHumanTimeToSeconds function] ([8d2c37c1](https://github.com/MRX-Systems/MRX-Core/commit/8d2c37c1))
|
|
386
|
-
- **๐งช:** [Add comprehensive tests for JWT signing and verification] ([6c281486](https://github.com/MRX-Systems/MRX-Core/commit/6c281486))
|
|
387
|
-
- **๐งช:** [Add tests for parseHumanTimeToSeconds utility function] ([6bf5dbca](https://github.com/MRX-Systems/MRX-Core/commit/6bf5dbca))
|
|
388
|
-
- **๐งช:** [Rename ResolveDbHeader to dbResolverHeader for consistency] ([8a5a4dd2](https://github.com/MRX-Systems/MRX-Core/commit/8a5a4dd2))
|
|
389
|
-
- **๐งช:** [Add case insensitive Q operator filter test] ## Tests - Introduced a new test case for the Q operator to ensure it is case insensitive. ([fccfb182](https://github.com/MRX-Systems/MRX-Core/commit/fccfb182))
|
|
390
|
-
- **๐งช:** [Refactor MSSQL test setup and enhance findByNamePattern] ([e1dcea34](https://github.com/MRX-Systems/MRX-Core/commit/e1dcea34))
|
|
391
|
-
- **๐งช:** [Add comprehensive tests for MemoryStore functionality] ([25c165ec](https://github.com/MRX-Systems/MRX-Core/commit/25c165ec))
|
|
392
|
-
- **๐งช:** [Refactor rate limit tests to use MemoryStore] ([1311cd07](https://github.com/MRX-Systems/MRX-Core/commit/1311cd07))
|
|
393
|
-
- **๐งช:** [Remove MemoryStore test suite] ([e0fe6f39](https://github.com/MRX-Systems/MRX-Core/commit/e0fe6f39))
|
|
394
|
-
- **๐งช:** [Add tests for generateCacheKey utility function] ## Tests - Implement unit tests for the `generateCacheKey` function. - Cover scenarios for requests with and without bodies. - Validate that identical requests produce the same cache key. - Ensure different bodies generate different cache keys. ([90562c7a](https://github.com/MRX-Systems/MRX-Core/commit/90562c7a))
|
|
395
|
-
- **๐งช:** [Add comprehensive tests for cache module functionality] ([28d28d3d](https://github.com/MRX-Systems/MRX-Core/commit/28d28d3d))
|
|
396
|
-
- **๐งช:** [Add test for specific TTL handling in cache logic] - Implemented a test to verify that the cache correctly handles specific TTL values in the `isCached` option. - The test checks that the cache returns a MISS header on the first request and verifies the cache-control header. - It also ensures that after the TTL expires, the cache still returns a MISS header on subsequent requests. ([9ca8a99c](https://github.com/MRX-Systems/MRX-Core/commit/9ca8a99c))
|
|
397
|
-
- **๐งช:** [fix test name CoreError to BaseError] ([c02afec2](https://github.com/MRX-Systems/MRX-Core/commit/c02afec2))
|
|
398
|
-
|
|
399
|
-
### ๐จ Styles
|
|
400
|
-
|
|
401
|
-
- **๐จ:** [fix import order in HOTP tests] Rearranged the import statements in the HOTP test file for consistency and improved readability. ([a66d34d6](https://github.com/MRX-Systems/MRX-Core/commit/a66d34d6))
|
|
402
|
-
- **๐จ:** [Remove unnecessary blank line in signJWT function] Removed an extra blank line in the signJWT function for improved code readability and consistency. ([8ea44aef](https://github.com/MRX-Systems/MRX-Core/commit/8ea44aef))
|
|
403
|
-
|
|
404
|
-
### โค๏ธ Contributors
|
|
405
|
-
|
|
406
|
-
- Ruby <necrelox@proton.me>
|
|
407
|
-
|
|
@@ -4,5 +4,5 @@ import type { LoggerSink } from '../../../modules/logger/types/logger-sink';
|
|
|
4
4
|
* ConsoleLoggerSink implements LoggerSink to provide logging functionality to the console.
|
|
5
5
|
*/
|
|
6
6
|
export declare class ConsoleLoggerSink<TLogObject = unknown> implements LoggerSink<TLogObject> {
|
|
7
|
-
log(level: LogLevels, timestamp: number, object: TLogObject):
|
|
7
|
+
log(level: LogLevels, timestamp: number, object: TLogObject): void;
|
|
8
8
|
}
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
|
|
6
6
|
// source/modules/logger/sinks/console-logger.ts
|
|
7
7
|
class ConsoleLoggerSink {
|
|
8
|
-
|
|
8
|
+
log(level, timestamp, object) {
|
|
9
9
|
const logEntry = { timestamp, level, content: object };
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const logLevel = level.toLowerCase();
|
|
11
|
+
console[logLevel]?.(JSON.stringify(logEntry));
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
// source/modules/logger/sinks/devnull-logger.ts
|