Skip to content

Add OTP 29 Support. Set minumum OTP version to 23. - #266

Merged
etrepum merged 1 commit into
mainfrom
otp-29
Jun 8, 2026
Merged

etrepum merged 1 commit into
mainfrom
otp-29

Conversation

@nickva

@nickva nickva commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

New OTP 29 release throws warnings on catch ... expressions so translate them to try ... catch ... that's the biggest change.

Since we're adding support for a new release, let's clean up and make OTP 23 the minumum. This way we can get rid of all the defines and we still get 6 years worth of Erlang releases.

Noticed the ELP plugin was flagging error_logger as deprecated, so replaced it with logger ?LOG_ macros. Those should automatically log the module and function names.

Application startup can also be simplified nowadays with ensure_all_started/1, so we can call that and not have to start applications one-by-one.

New OTP 29 release throws warnings on `catch ...` expressions so translate them
to `try ... catch ...` that's the biggest change.

Since we're adding support for a new release, let's clean up and make OTP 23
the minumum. This way we can get rid of all the defines and we still get 6
years worth of Erlang releases.

Noticed the ELP plugin was flagging `error_logger` as deprecated, so replaced
it with `logger` `?LOG_` macros. Those should automatically log the module and
function names.

Application startup can also be simplified nowadays with
`ensure_all_started/1`, so we can call that and not have to start applications
one-by-one.

@etrepum etrepum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great to me

@etrepum
etrepum merged commit 8ab5df2 into main Jun 8, 2026
7 checks passed
@etrepum
etrepum deleted the otp-29 branch June 8, 2026 22:16
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