chore(deps): bump proptest from 1.10.0 to 1.11.0#16
Open
dependabot[bot] wants to merge 13 commits into
Open
Conversation
491d739 to
f411ae6
Compare
… search, undo/redo, and exports
…riptions Regenerates all entity/controller/UoW code from Qleany templates updated to v1.7.3. Also adapts the public API to the new EventHubClient.subscribe() signature, which now returns a SubscriptionToken whose Drop impl unsubscribes — the four LongOperation bridges in TextDocument were storing the returned tokens in temporaries, causing immediate unsubscription. The tokens are now held on TextDocumentInner for the lifetime of the document.
Regenerates the entire direct_access layer (entities, tables, repositories, UoW traits/impls, controllers, macros) from Qleany v1.7.3 templates. Key architectural changes: * HashMapStore switched from std::collections::HashMap to im::HashMap, enabling O(1) store snapshots via structural sharing. * Every write Transaction now auto-creates a savepoint on begin and discards/restores it on commit/rollback/Drop, giving exception-safe mutation semantics. * EventHubClient::subscribe() returns a SubscriptionToken whose Drop unsubscribes; public_api now holds the LongOperation bridge tokens on TextDocumentInner so they live for the document's lifetime. * Repository factory functions return Result; UoW macros thread ? through the generated method bodies. * Backward junction tables removed in favor of scanning forward junctions via delete_from_backward_junction().
Drops unused imports from leaf-entity tables, collapses nested if-let in hashmap_store::delete_from_backward_junction and SubscriptionToken::drop, removes a redundant .clone() on a Copy u64, propagates the now-Result return of UndoRedoManager::begin_composite through call sites (tests .unwrap(), fire-and-forget frontend wrapper uses let _), and applies rustfmt to the hand-written public_api/document.rs and inner.rs changes from the LongOperation subscription fix.
Contributor
Author
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
insert_text returned new_position = raw_position + text_len even when
the raw position was beyond the document, yielding nonsense like
position 1000 on a 6-char doc. Clamp the intra-block offset and
compute new_position from the actual landing site in both the simple
and selection-replacement paths.
Also tighten a set of editing tests that were passing for the wrong
reasons:
- document_extended: block_format_at_* replaced let _ = fmt.alignment
with assert_eq!(fmt, BlockFormat::default()).
- highlight: user_data_persists_across_rehighlights now records
observed counter values and asserts the edit-triggered incremental
rehighlight reads back the previously-stored data. Also pins the
contract that full rehighlight() resets user data.
- split_table_cell / table: the two 1x1-split tests disagreed on
whether it must error; unified on the backend contract ("Nothing
to split") and assert the error message.
- operation: progress() value is now asserted to be in [0.0, 100.0]
when Some, instead of being discarded with let _.
- error_path: insert_text at position 999 now asserts the full
outcome (text, char_count, new_position) instead of accepting
either Ok or Err silently.
- fuzz: edit_block_groups_into_single_undo asserts !can_undo() after
the single undo, proving the grouped inserts actually collapsed.
…e cases Add direct unit tests for the table and blockquote recursion paths in collect_block_ids, which were previously only covered indirectly via public_api flow tests. Add edge cases for negative length and past-end position. Replace the tautological stats cross-check with a property that compares stats.character_count against to_plain_text().
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/proptest-rs/proptest/releases) - [Changelog](https://github.com/proptest-rs/proptest/blob/main/CHANGELOG.md) - [Commits](proptest-rs/proptest@v1.10.0...v1.11.0) --- updated-dependencies: - dependency-name: proptest dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
f411ae6 to
793a0f9
Compare
ee4eb70 to
d2192c7
Compare
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.
Bumps proptest from 1.10.0 to 1.11.0.
Commits
7f1367fMerge pull request #641 from proptest-rs/release-1.11a63bf7eproptest-state-machine v0.8.0d86e9ffadd changelog for #6407940313proptest v1.11.03ec998cfix #638 changelog8ceb00cMerge pull request #639 from lukoktonos/bits1289c8df1aMerge pull request #638 from folkertdev/f16-supportca9d8e1changelog #638a39869fimply f16 feat by unstable85c5ca0Merge pull request #637 from folkertdev/min-max-assoc-constants