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

BREAKING(encoding): replace Ascii85Options with EncodeAscii85Options and DecodeAscii85Options #4861

Merged
merged 7 commits into from
May 30, 2024

Conversation

iuioiua
Copy link
Collaborator

@iuioiua iuioiua commented May 27, 2024

This change deprecates Ascii85Options in favor of EncodeAscii85Options and DecodeAscii85Options. Previously, these were used for both encodeAscii85() and decodeAscii85(), but the latter didn't use the delimiter property.

@iuioiua iuioiua requested a review from kt3k as a code owner May 27, 2024 23:16
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.15%. Comparing base (f8f5444) to head (863eae6).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4861      +/-   ##
==========================================
+ Coverage   92.09%   92.15%   +0.05%     
==========================================
  Files         488      488              
  Lines       38875    38873       -2     
  Branches     5398     5400       +2     
==========================================
+ Hits        35803    35823      +20     
+ Misses       3016     2994      -22     
  Partials       56       56              

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

@kt3k kt3k changed the title refactor(encoding): deprecate Ascii85Options BREAKING(encoding): deprecate Ascii85Options May 28, 2024
@kt3k
Copy link
Member

kt3k commented May 28, 2024

Looks like technically a breaking change. Let's land together with 1.0.0-rc.1 PR to not break the user's program.

@iuioiua
Copy link
Collaborator Author

iuioiua commented May 30, 2024

What does this break?

@kt3k
Copy link
Member

kt3k commented May 30, 2024

Doesn't decodeAscii85(str, { delimiter: true }) cause type error now?

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iuioiua iuioiua changed the title BREAKING(encoding): deprecate Ascii85Options BREAKING(encoding): replace Ascii85Options with EncodeAscii85Options and DecodeAscii85Options May 30, 2024
@iuioiua iuioiua requested a review from kt3k May 30, 2024 09:29
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM again!

@iuioiua iuioiua merged commit f6857a8 into main May 30, 2024
13 checks passed
@iuioiua iuioiua deleted the deprecate-Ascii85Options branch May 30, 2024 09:43
@iuioiua iuioiua mentioned this pull request Jun 2, 2024
10 tasks
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.

2 participants