Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps wp-model-core from 0.7.2 to 0.8.1.

Release notes

Sourced from wp-model-core's releases.

v0.8.1

Full Changelog: wp-labs/wp-model-core@v0.8.0...v0.8.1

v0.8.0

Full Changelog: wp-labs/wp-model-core@v0.7.2...v0.8.0

Changelog

Sourced from wp-model-core's changelog.

[0.8.1] - 2026-02-09

⚠️ BREAKING CHANGES

  • DataRecord type changed from Record<Field<Value>> to Record<FieldStorage>

    • Enables mixed storage mode with both shared (Arc) and owned fields
    • Static/constant fields can now be shared with zero-copy semantics
  • Value::Array changed from Vec<Field<Value>> to Vec<FieldStorage>

    • Enables zero-copy sharing for array elements
    • Use .into_iter().collect() to convert from Vec<Field<Value>>
  • ObjectValue internal storage changed from BTreeMap<SmolStr, Field<Value>> to BTreeMap<SmolStr, FieldStorage>

    • Enables zero-copy sharing for object fields
    • Automatic conversion from old format via From trait
  • License changed from Elastic-2.0 to Apache-2.0

    • More permissive open source license
    • Allows broader commercial and community use

Added

  • FieldStorage enum for mixed storage support

    • Shared(Arc<Field<Value>>) variant for zero-copy sharing of static fields
    • Owned(Field<Value>) variant for dynamically computed fields
    • Methods: as_field(), into_owned(), from_shared(), from_owned(), is_shared(), shared_count()
    • Implements: RecordItem, RecordItemFactory, LevelFormatAble, Display, PartialEq, Eq, Serialize, Deserialize
  • Record convenience methods:

    • push_shared(field: Arc<Field<Value>>) - Add Arc-wrapped field
    • push_owned(field: Field<Value>) - Add owned field
    • get_field(index: usize) -> Option<&Field<Value>> - Get field by index
    • storage_stats() -> (usize, usize) - Get count of shared vs owned fields
    • into_owned_record() -> Record<Field<Value>> - Convert to fully owned record
  • Automatic conversions to ease migration:

    • impl From<Field<Value>> for FieldStorage - Auto-wrap fields
    • impl FromIterator<Field<Value>> for Vec<FieldStorage> - Support .collect()
    • impl From<BTreeMap<SmolStr, Field<Value>>> for ObjectValue - Auto-convert maps
  • Field type is now publicly exported from wp_model_core::model

Performance Improvements

  • Static field cloning: 50-500ns → ~5ns (Arc reference count increment)
  • Reduced memory usage: 50-90% for high static field ratio scenarios
  • Multi-stage pipeline processing: 50-97% performance improvement
  • Array/Object cloning: Now supports zero-copy via Arc-wrapped fields

Migration Guide

... (truncated)

Commits
  • 553a2fa chore: update changelog and version to 0.8.1
  • 6e3d8ea Apply cargo fmt to model module
  • 7601d96 Update version.txt
  • e70b6e2 feat(model): add mixed storage support with FieldStorage enum
  • 778e260 Update record.rs
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 9, 2026

Labels

The following labels could not be found: alpha, 📦 dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [wp-model-core](https://github.com/wp-labs/wp-model-core) from 0.7.2 to 0.8.1.
- [Release notes](https://github.com/wp-labs/wp-model-core/releases)
- [Changelog](https://github.com/wp-labs/wp-model-core/blob/main/CHANGELOG.md)
- [Commits](wp-labs/wp-model-core@v0.7.2...v0.8.1)

---
updated-dependencies:
- dependency-name: wp-model-core
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/alpha/wp-model-core-0.8.1 branch from bee1c6b to ee8fc12 Compare February 9, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants