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

Replace Base64.java with the JDK-provided Base64 decoder #242

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

jon-signal
Copy link
Contributor

While working on #241, I spotted a TODO to replace Base64.java with something else. While it appears there are plans for wider changes (deleting RequestSigner entirely?), I have not engaged with those because I don't fully understand the context for those changes.

That said: I don't think there's any reason to wait for a major, breaking release to retire Base64.java, and I also don't think there's any reason to pull in a new library. The MessageBird Java SDK already targets Java 8, which provides its own base64 encoder/decoder. There's also exactly one (internal!) usage of the base64 decoding in the MessageBird SDK, so I think it's completely safe to make this substitution even within a minor release.

@denizkilic
Copy link
Member

RequestSigner is deprecated but I am okay with this PR too.

@denizkilic denizkilic merged commit 6a873d9 into messagebird:master Aug 17, 2023
@jon-signal jon-signal deleted the jdk_base64 branch August 17, 2023 14:54
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.

None yet

2 participants