Skip to content

Add OTP-25 support#833

Draft
abelino wants to merge 4 commits intogotthardp:masterfrom
abelino:otp25-support
Draft

Add OTP-25 support#833
abelino wants to merge 4 commits intogotthardp:masterfrom
abelino:otp25-support

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