pocketbase-zod-schema 0.4.2 → 0.5.1
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 +27 -0
- package/dist/cli/index.cjs +2353 -2200
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +2 -3
- package/dist/cli/index.d.ts +2 -3
- package/dist/cli/index.js +2352 -2199
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/migrate.cjs +2363 -2208
- package/dist/cli/migrate.cjs.map +1 -1
- package/dist/cli/migrate.js +2359 -2205
- package/dist/cli/migrate.js.map +1 -1
- package/dist/cli/utils/index.d.cts +2 -3
- package/dist/cli/utils/index.d.ts +2 -3
- package/dist/{fields-BNoZgcfw.d.cts → fields-xO0SgOQA.d.cts} +71 -1
- package/dist/{fields-BNoZgcfw.d.ts → fields-xO0SgOQA.d.ts} +71 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/migration/analyzer.cjs +249 -216
- package/dist/migration/analyzer.cjs.map +1 -1
- package/dist/migration/analyzer.d.cts +63 -46
- package/dist/migration/analyzer.d.ts +63 -46
- package/dist/migration/analyzer.js +247 -217
- package/dist/migration/analyzer.js.map +1 -1
- package/dist/migration/diff.cjs +184 -161
- package/dist/migration/diff.cjs.map +1 -1
- package/dist/migration/diff.d.cts +118 -57
- package/dist/migration/diff.d.ts +118 -57
- package/dist/migration/diff.js +178 -162
- package/dist/migration/diff.js.map +1 -1
- package/dist/migration/generator.cjs +352 -247
- package/dist/migration/generator.cjs.map +1 -1
- package/dist/migration/generator.d.cts +204 -99
- package/dist/migration/generator.d.ts +204 -99
- package/dist/migration/generator.js +340 -248
- package/dist/migration/generator.js.map +1 -1
- package/dist/migration/index.cjs +1060 -751
- package/dist/migration/index.cjs.map +1 -1
- package/dist/migration/index.d.cts +77 -5
- package/dist/migration/index.d.ts +77 -5
- package/dist/migration/index.js +1055 -751
- package/dist/migration/index.js.map +1 -1
- package/dist/migration/snapshot.cjs +21 -5
- package/dist/migration/snapshot.cjs.map +1 -1
- package/dist/migration/snapshot.d.cts +2 -3
- package/dist/migration/snapshot.d.ts +2 -3
- package/dist/migration/snapshot.js +21 -5
- package/dist/migration/snapshot.js.map +1 -1
- package/dist/migration/utils/index.cjs +78 -0
- package/dist/migration/utils/index.cjs.map +1 -1
- package/dist/migration/utils/index.d.cts +23 -3
- package/dist/migration/utils/index.d.ts +23 -3
- package/dist/migration/utils/index.js +78 -2
- package/dist/migration/utils/index.js.map +1 -1
- package/dist/schema.d.cts +2 -3
- package/dist/schema.d.ts +2 -3
- package/dist/server.cjs +884 -720
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +4 -5
- package/dist/server.d.ts +4 -5
- package/dist/server.js +879 -720
- package/dist/server.js.map +1 -1
- package/dist/{type-mapper-BlewDZpG.d.cts → type-mapper-CpnRi9Af.d.cts} +1 -1
- package/dist/{type-mapper-DkIy07Eb.d.ts → type-mapper-bhinINZI.d.ts} +1 -1
- package/dist/{types-CzLguhyw.d.ts → types-DyfYCbKO.d.cts} +2 -2
- package/dist/{types-BbrRUsMM.d.cts → types-I_9WhpBJ.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/permissions-ZHafVSIx.d.cts +0 -71
- package/dist/permissions-ZHafVSIx.d.ts +0 -71
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.1](https://github.com/dastron/pocketbase-zod-schema/compare/pocketbase-zod-schema-v0.5.0...pocketbase-zod-schema-v0.5.1) (2026-01-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Add Column IDs ([e42e4de](https://github.com/dastron/pocketbase-zod-schema/commit/e42e4def0f756afbf6efcf999ca59d079e9c3e82))
|
|
9
|
+
* **parser:** support addAt and field updates by ID ([9d38759](https://github.com/dastron/pocketbase-zod-schema/commit/9d387597d3082c2409cdfb9d723a30c0fa63fc08))
|
|
10
|
+
* support fields.addAt and generic Field in migration parser ([dfa780e](https://github.com/dastron/pocketbase-zod-schema/commit/dfa780e4daec43a7bae67dfb03fae6f5e3817813))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Performance Improvements
|
|
14
|
+
|
|
15
|
+
* optimize toPascalCase regex compilation ([e9b1679](https://github.com/dastron/pocketbase-zod-schema/commit/e9b1679af1033fdfa54332fb4dca6c596f0cdda8))
|
|
16
|
+
* Pre-compile regexes and fix escaping ([de78ce1](https://github.com/dastron/pocketbase-zod-schema/commit/de78ce14b495b8dfb34bf0da4d153ea53bc15cf0))
|
|
17
|
+
|
|
18
|
+
## [0.5.0](https://github.com/dastron/pocketbase-zod-schema/compare/pocketbase-zod-schema-v0.4.2...pocketbase-zod-schema-v0.5.0) (2026-01-23)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* sort migration creation by relation dependencies ([40a461a](https://github.com/dastron/pocketbase-zod-schema/commit/40a461a9269a167c41f03b53db9ef324f4e266ee))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* refactor migration to be modular ([ae101dc](https://github.com/dastron/pocketbase-zod-schema/commit/ae101dca161bfa378d341f73522cf3d29b114417))
|
|
29
|
+
|
|
3
30
|
## [0.4.2](https://github.com/dastron/pocketbase-zod-schema/compare/pocketbase-zod-schema-v0.4.1...pocketbase-zod-schema-v0.4.2) (2026-01-21)
|
|
4
31
|
|
|
5
32
|
|