chore(deps): update dependency rxdb to v17#181
Open
renovate[bot] wants to merge 2 commits into
Open
Conversation
d788e45 to
8d64125
Compare
8d64125 to
dbc36f3
Compare
dbc36f3 to
318a98f
Compare
Contributor
Author
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^16.21.1→^17.0.0Release Notes
pubkey/rxdb (rxdb)
v17.1.0Compare Source
FIX Key-compression dropping the
indexhint from queries becausecompressQuery()does not forward theindexfield, causing user-specified index hints to be silently ignoredFIX CRDT plugin
bulkInserthook not including schema default values in CRDT operations, causing data loss during conflict resolution rebuild when fields rely on schema defaultsFIX
RxDocument.get$()on nested object/array paths emitting spurious values when unrelated document fields changed, becausedistinctUntilChanged()used reference equality which always fails for non-primitive values across document revisionsFIX
incrementalUpsert()throwing a CONFLICT error when a concurrentupsert()/insert()creates the same document between the internalfindOne()andinsert()callsFIX
upsertLocal()on a previously removed local document keeping the document in deleted state instead of un-deleting itFIX push-only replication losing local writes that occur during a pause because
reSync()events were filtered out when no pull handler was configuredFIX
getStartIndexStringFromUpperBound()incorrectly mappingINDEX_MINto'1'for boolean index fields, causing queries with exclusive bounds ($gt/$lt) on a field preceding a boolean index field to include boundary documents in the resultsFIX leader-election plugin not calling
die()on the LeaderElector when the database is closed, becauseLEADER_ELECTORS_OF_DBwas never populated due to a dead code branchFIX encryption plugin schema transformation not correctly handling nested dot-notation encrypted paths (e.g.
'nested.field'), causing validation failures when using a validator storage with non-string nested encrypted fieldsFIX dev-mode
checkSchema()not validating composite primary key fields for encryption (SC15), index (SC13), unique (SC14), and type (SC16) constraints because it compared property names against the primaryKey object instead of resolving the primary field pathFIX
findOne().remove()crashing withTypeError: Cannot read properties of nullwhen no document matches the query, instead of returningnullADD
findOne().remove(true)to throw when no document matches, consistent withfindOne().exec(true)FIX schema migration losing
_deletedstate when migration strategy returns a new object, causing deleted documents to be resurrected after migrationFIX
RxPipeline.remove()not properly cleaning up checkpoint when called during active processing, causing a re-added pipeline with the same identifier to skip already-processed documents instead of starting freshFIX cleanup plugin prematurely exiting its retry loop when
storageInstance.cleanup()returnsfalse(batched cleanup), becauseArray.find()returns the found valuefalseand!falseevaluates totrue, causingisDoneto be set incorrectlyFIX encryption plugin
validatePassword()leaking the plaintext password inRxErrorparameters and error messages when password validation failsFIX
database.remove()not calling collectiononRemovehandlers, becauseclose()unsubscribed all listeners before the remove operation could trigger themFIX query-builder
eq()/equals()silently overwriting other operator conditions on the same field because the value was stored as a raw primitive instead of using the$eqoperator formFIX
deleted$observable emitting on every document revision instead of only when the deleted state changes, by addingdistinctUntilChanged()FIX
postSavecollection hook not receiving the RxDocument instance as the second argument, unlikepostInsertandpostRemovewhich correctly pass itFIX
getJsonSchemaWithoutMeta()not removing_revfrom schema properties, while correctly removing other internal meta properties (_deleted,_meta,_attachments)FIX
allAttachments$observable emitting attachments with a stale document reference, causingattachment.docto point to an outdated document version instead of the latest oneFIX RxState not correctly recovering full-state replacements (via
set('', modifier)) from disk on database reopen, causing corrupted stateFIX memory storage
count()returning incorrect results when the selector is not fully satisfied by the index and the query has alimitsetFIX
replicateRxCollection().remove()on a never-started replication now creates the meta instance and deletes its data instead of skipping cleanupFIX
REPLICATION_STATE_BY_COLLECTIONnot cleaned up oncancel()/remove(), leaking replication state referencesFIX floating-point rounding overflow in index string decimal generation, where
Math.roundcould produce a value equal to the multiplier (e.g. 10 instead of max 9), creating a string one character too long and breaking sort order in compound indexesFIX
normalizeMangoQuery()skipped fully-matching indexes when choosing default sort order, falling back to the first index instead of using the best matchFIX RxState
set('', modifier)passedundefinedto the modifier instead of the current stateFIX
RxMigrationStatus.count.percentreturningNaNinstead of100when migrating a collection with 0 documentsFIX
fillWithDefaultSettings()index deduplication was broken becauseArray.filter()return value was discarded, causing duplicate indexes in schemas when user-defined indexes become identical after adding_deletedprefix and primary key suffixFIX encryption plugin not stripping type-specific schema keywords (
maxLength,required,items, etc.) from encrypted fields, causing validation errors when using a validator storage with encryptionFIX incorrect index string generation for negative decimal numbers causing wrong sort order and query results
FIX
rateQueryPlan()evaluatedstartKeystwice instead ofendKeys, causing suboptimal index selection for$lt/$ltequeries.FIX event-reduce mutating cached
docsDataMapcausing missing documents after insert-delete cyclesFIX
modify()not deep-cloning document data, allowing the modifier to corrupt internal state via shared nested referencesFIX
fillObjectWithDefaultsshared mutable references for non-primitive schema defaults (arrays/objects) causing corrupted values on subsequent insertsv17.0.0Compare Source
🚀 RxDB v17 is released
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.