fix(deps): update dependency @toiroakr/lines-db to v0.11.0 - #1964
Conversation
🦋 Changeset detectedLatest commit: acbdf2c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@tailor-platform/create-sdk
@tailor-platform/eslint-plugin-sdk
@tailor-platform/sdk
@tailor-platform/sdk-plugin-seed
@tailor-platform/sdk-plugin-tailordb-erd
commit: |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
🤖 Claude Dependency Review📦 Update Summary
📝 Release Noteshttps://github.com/toiroakr/lines-db/releases/tag/%40toiroakr%2Flines-db%400.11.0 🔐 Security Assessment
✨ Main ChangesMinor Changes:
Patch Changes:
🔍 Impact Analysis📁 Usage Locations
Additional Context:
✅ Recommended ActionsNo breaking changes — this update can be safely merged. Benefits:
Testing:
|
This comment has been minimized.
This comment has been minimized.
Code Metrics Report (packages/sdk)
Details | | main (233cac1) | #1964 (1d2cded) | +/- |
|--------------------|----------------|-----------------|------|
| Coverage | 78.5% | 78.5% | 0.0% |
| Files | 462 | 462 | 0 |
| Lines | 17731 | 17731 | 0 |
| Covered | 13920 | 13920 | 0 |
+ | Code to Test Ratio | 1:0.4 | 1:0.4 | +0.0 |
| Code | 126564 | 126565 | +1 |
+ | Test | 61875 | 61876 | +1 |SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
This PR contains the following updates:
0.10.1→0.11.0Release Notes
toiroakr/lines-db (@toiroakr/lines-db)
v0.11.0: @toiroakr/lines-db v0.11.0Compare Source
Minor Changes
15cd137: Let a sync write back only the fields you name, instead of always rewriting the whole row.Write-back materialized every column, so values a validation schema computed and fields the JSONL
file omitted were baked into the file -
lines-db migraterewrote far more than the transformtouched. Naming the fields keeps the rest of each line exactly as the file had it:
--fields <list>on themigrateCLIdb.sync(table, { fields: ['id'] })for a single syncwriteBackFieldson the database config, which also covers the automatic sync after insert,update, and transaction
One list covers every table a run touches: a table without a named field has nothing written back to
it, so a directory of tables that do not all share an
idworks with a single--fields id. The CLIstill rejects a field no table has, and
sync(table, { fields })rejects a field that one table doesnot have.
Declaring nothing keeps the previous behaviour of writing every field.
Patch Changes
15cd137: Keep the order a JSONL file lists its rows in when syncing.A sync wrote rows back in database order. An integer primary key is SQLite's rowid, so a file whose
lines were not already sorted by id came back reshuffled - a whole-file diff out of a one-field
change. Rows now keep the order the file has them in, and rows the file did not have are appended.
When rows cannot be matched to their lines (no usable primary key and a changed row count), a full
write-back falls back to database order as before.
15cd137: Fixlines-db migrate <file>on Windows.The command split the given path on
/and fell back to.when it found none, so a Windows pathturned into a table name and the data directory became the current directory:
Table 'D:\...\User' not found in directory '.'. Paths now go throughnode:path, which isseparator-aware.
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 9-18 * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.