@toiroakr/lines-db 0.5.0 → 0.6.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 +18 -0
- package/bin/cli.js +378 -415
- package/dist/index.cjs +195 -327
- package/dist/index.d.cts +64 -84
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +64 -84
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +197 -328
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/cli.ts +226 -126
- package/src/database.ts +296 -52
- package/src/index.ts +2 -2
- package/src/jsonl-migration.ts +24 -56
- package/src/schema.ts +37 -32
- package/src/types.ts +21 -0
- package/src/validator.test.ts +0 -507
- package/src/validator.ts +0 -441
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @toiroakr/lines-db
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 042c14e: feat!: Refactor validation process and remove Validator class
|
|
8
|
+
|
|
9
|
+
fix: extension for latest lines-fb
|
|
10
|
+
|
|
11
|
+
- b22f4f0: feat: Refactor validation process and enhance database initialization
|
|
12
|
+
- Added detailedValidate option to initialize() for detailed constraint violation reporting
|
|
13
|
+
- Enhanced migrate command to apply transforms during initialization for better performance
|
|
14
|
+
- Implemented batch insert for improved performance with SQLite parameter limits
|
|
15
|
+
- Added support for self-referencing foreign keys (e.g., nullable parent_id columns)
|
|
16
|
+
- Improved error handling and reporting for validation failures
|
|
17
|
+
- Added transform option to initialize() method for data transformation during load
|
|
18
|
+
- Enhanced foreign key dependency resolution
|
|
19
|
+
- Added type-fest as dev dependency
|
|
20
|
+
|
|
3
21
|
## 0.5.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|