Skip to content

fix(base32): accept lower case ULID strings when decoding - #67

Merged
mdomke merged 2 commits into
mdomke:mainfrom
reyhaan07:fix/case-insensitive-from-str
Oct 26, 2026
Merged

mdomke merged 2 commits into
mdomke:mainfrom
reyhaan07:fix/case-insensitive-from-str

Conversation

@reyhaan07

Copy link
Copy Markdown
Contributor

The ULID spec and the README describe the string representation as case insensitive, and the DECODE table maps lower case letters, but the alphabet check added in 2.6.0 only allowed upper case characters. Check against both cases so ULID.from_str accepts lower case input again.

The ULID spec and the README describe the string representation as
case insensitive, and the DECODE table maps lower case letters, but the
alphabet check added in 2.6.0 only allowed upper case characters. Check
against both cases so ULID.from_str accepts lower case input again.
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.65%. Comparing base (8fbe54d) to head (6c0e628).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   98.65%   98.65%           
=======================================
  Files           4        4           
  Lines         371      372    +1     
  Branches       61       61           
=======================================
+ Hits          366      367    +1     
  Misses          3        3           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 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.

@sonarqubecloud

Copy link
Copy Markdown

@mdomke
mdomke merged commit 059e8f6 into mdomke:main Oct 26, 2026
12 checks passed
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