Skip to content

fix: switch 2 parameters from uint to int for consistency#687

Open
NathanBaulch wants to merge 1 commit intosamber:masterfrom
NathanBaulch:nouint
Open

fix: switch 2 parameters from uint to int for consistency#687
NathanBaulch wants to merge 1 commit intosamber:masterfrom
NathanBaulch:nouint

Conversation

@NathanBaulch
Copy link
Contributor

Per item 22 on #672, the length parameter on Subset and Substring has been changed to int.
In theory a breaking API change, but seems pretty unlikely anyone would be passing a length value >= 2^31.

@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (43cef1f) to head (49f1351).

Additional details and impacted files
@@ Coverage Diff @@ ## master #687 +/- ## ======================================= Coverage 94.48% 94.49% ======================================= Files 18 18 Lines 3429 3433 +4 ======================================= + Hits 3240 3244 +4  Misses 175 175 Partials 14 14 
Flag Coverage Δ
unittests 94.49% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@samber samber added this to the v2 milestone Sep 25, 2025
@samber samber added the breaking change Introduces changes that break backward compatibility or alter the public API. label Sep 25, 2025
@samber
Copy link
Owner

samber commented Sep 25, 2025

I'm delaying the merge to v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that break backward compatibility or alter the public API.

2 participants