Skip to content

fix: _HistoryBuffer snapshot return #418

Merged
elementbound merged 3 commits intofoxssake:mainfrom
DustieDog:history-buffer-bugfix
Feb 23, 2025
Merged

fix: _HistoryBuffer snapshot return #418
elementbound merged 3 commits intofoxssake:mainfrom
DustieDog:history-buffer-bugfix

Conversation

@DustieDog
Copy link
Copy Markdown
Collaborator

_HistoryBuffer.get_snapshot() was returning _PropertySnapshot.new() if unable to find the relevant tick. While this is useful for the specific _PropertyHistoryBuffer implementation, it shouldn't be the default for the generic implementation.

  • Fixed return data to be in line with generic _HistoryBuffer implementation, added specific return data to _PropertyHistoryBuffer.

Fixed return data to be in line with generic _HistoryBuffer implementation, added specific return data to _PropertyHistoryBuffer.
@elementbound
Copy link
Copy Markdown
Contributor

Nice catch, I remember messing around this part but forgot to change it 😄

Could you please do a version bump and add a test case for this?

- Updating semantic versioning.
- Added Vest test.
- Updated versioning for all relevant plugins.
@elementbound elementbound merged commit ddb528d into foxssake:main Feb 23, 2025
1 check passed
@DustieDog DustieDog deleted the history-buffer-bugfix branch February 24, 2025 02:57
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.

2 participants