Skip to content

OTP 29 Support - #12

Merged
nickva merged 2 commits into
mainfrom
otp-29-1
Jun 13, 2026
Merged

OTP 29 Support#12
nickva merged 2 commits into
mainfrom
otp-29-1

Conversation

@nickva

@nickva nickva commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

In OTP 29 catch statements started to throw deprecation warnings, and since we're using warnings_as_errors our compilation fails. The catch construct hasn't been scheduled for removal yet [1] so for now just to compile ibrowse add a per-module compiler directive. This allows catch rewrites to be done incrementally module-by-module eventually.

This is an intermediate alternative for
cmullaparthi/ibrowse#187 for now.

[1] https://www.erlang.org/doc/scheduled_for_removal.html

@nickva
nickva requested a review from big-r81 June 13, 2026 19:40
nickva added 2 commits June 13, 2026 15:46
In OTP 29 catch statements started to throw deprecation warnings, and since
we're using `warnings_as_errors` our compilation fails. The catch construct
hasn't been scheduled for removal yet [1] so for now just to compile ibrowse
add a per-module compiler directive. This allows catch rewrites to be done
incrementally module-by-module eventually.

This is an intermediate alternative for
cmullaparthi/ibrowse#187 for now.

[1] https://www.erlang.org/doc/scheduled_for_removal.html
When vendoring this dependency it may not be called `ibrowse` when checked
out (as is in the case of CouchDB, where it's called couchdb-ibrowse). Then the
CI would break because `../../ibrowse/ebin` wouldn't exist. To make it work as
any directory name just use a single `../` path and when including in test use
`../`.
@nickva
nickva merged commit b64ee81 into main Jun 13, 2026
5 checks passed
@nickva
nickva deleted the otp-29-1 branch June 13, 2026 20:25
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