Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle negative value assigned to Meta.historyMaxItems #30

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

Anvell
Copy link
Collaborator

@Anvell Anvell commented Feb 18, 2025

Description

Library incorrectly relied on historyMaxItems being non-negative. This change properly treats negative value as a marker for „unlimited” history entries.

maintenanceHistoryDays was also changed to unsigned in order to reflect expected values.

• Make `Meta.maintenanceHistoryDays` unsigned
@Anvell Anvell added the bug label Feb 18, 2025
@Anvell Anvell self-assigned this Feb 18, 2025
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 91.89189% with 3 lines in your changes missing coverage. Please review.

@@             Coverage Diff             @@
##           develop      #30      +/-   ##
===========================================
+ Coverage    74.01%   74.21%   +0.19%     
===========================================
  Files           98       98              
  Lines         3948     3959      +11     
  Branches       624      626       +2     
===========================================
+ Hits          2922     2938      +16     
+ Misses         700      699       -1     
+ Partials       326      322       -4     

@Anvell Anvell merged commit 2a13450 into develop Feb 18, 2025
2 checks passed
@Anvell Anvell deleted the fix/unlimited-history-items-flag branch February 18, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant