Skip to content

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Feb 7, 2025

@nevans nevans changed the title ✨ Backport deprecation of UIDPlusData (replaced by AppendUIDData, CopyUIDData) to v0.4 ✨ Backport UIDPlusData, AppendUIDData, CopyUIDData to v0.4 Feb 7, 2025
nevans added 10 commits February 7, 2025 13:09
Explicitly test how unsorted uid-sets are handled.
The class rdoc was updated to match v0.5, in order to simplify other
backported commits.
In addition to letting us delete some code, this is also a step towards
replacing `UIDPlusData` with new (incompatible) data structures that
store UID sets directly, rather than converted into arrays of integers.
This config attribute causes the parser to use the new AppendUIDData and
CopyUIDData classes instead of CopyUIDData.

AppendUIDData and CopyUIDData are _mostly_ backward-compatible with
UIDPlusData.  Most applications should be able to upgrade with no
changes.

UIDPlusData will be removed in +v0.6+.
Since its only these two classes, I manually wrote a subset of the code
that would be generated by `Data.define` and inherited from `Data`.  The
`AppendUIDData` and `CopyUIDData` class definitions are unchanged—only
the superclass definition is different.
@nevans nevans force-pushed the backport-0.4-uidplus-deprecation branch from f40a1dc to d32320a Compare February 7, 2025 18:10
@nevans nevans added enhancement New feature or request backport This issue or PR is for a stable release branch labels Feb 7, 2025
@nevans nevans merged commit e4d57b1 into v0.4-stable Feb 7, 2025
30 checks passed
@nevans nevans deleted the backport-0.4-uidplus-deprecation branch February 7, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This issue or PR is for a stable release branch enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant