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

Add OTP-25 support #833

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Add OTP-25 support #833

wants to merge 4 commits into from

Conversation

abelino
Copy link

@abelino abelino commented Mar 1, 2023

NOTE: I haven't fully tested all the changes just yet, but I used some of these changes in a Nerves production application. In the hope to push myself to test this to finally get this through the finish line, I am opening a draft PR.

Adds the following:

  • updates key dependencies
  • updates project to run on OTP-25

The `pg2` module was deprecated in OTP23 and removed in OTP24. In most
cases, it was as simple as renaming i.e. `s/pg2/pg`, since `pg` has a
similar API.
In OTP22 a significant set in the crypto APIs were deprecated. The APIs
affected within the project are:
- `block_encrypt`
- `block_decrypt`
- `cmac`
- `hmac`
In OTP21, it was recommended to switch to `uri_string`. OTP25 removed
`http_uri:parse` and OTP26 will remove remaining `http_uri` APIs.
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.

1 participant