This is an automated email from the ASF dual-hosted git repository.
nickva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new e9872a353 Make OTP 27 the minimum OTP version
e9872a353 is described below
commit e9872a353625598ab2f28747ee1ee7b45f0d0850
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Sun Jun 14 10:38:43 2026 -0400
Make OTP 27 the minimum OTP version
OTP 27-29 are aready the only versions tested in CI so we don't test
26 any longer and it's gone out of support.
We can take advantage of OTP 27+ with some of these features:
* Tripple quotes strings
```
J = """
{"a":"b"}
"""
```
Nice for json blobs
* Sigils. Nice for binaries.
```
B = ~"a binary"
```
* `maybe` is always enabled
* New json module. Jiffy is faster but for small and quick command
line scripts it may be nice to not have to load a NIF
* Process labels
`proc_lib:set_label({client_proc, IP})`
Then we can filter by that and or see them in observer and other debug
tools.
* ets:first_lookup/ets:next_lookup
Traverse ets tables easier
---
mise.toml | 4 ++--
rebar.config.script | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mise.toml b/mise.toml
index 1942eadf6..46c92b60b 100644
--- a/mise.toml
+++ b/mise.toml
@@ -1,6 +1,6 @@
[tools]
-elixir = "1.19.5-otp-26"
-erlang = '26'
+elixir = "1.20.1-otp-27"
+erlang = '27'
java = '21'
nodejs = '24'
python = '3'
diff --git a/rebar.config.script b/rebar.config.script
index ead553083..6efa94cd7 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -194,7 +194,7 @@ end.
AddConfig = [
{cover_enabled, true},
{cover_print_enabled, true},
- {require_otp_vsn, "26|27|28|29"},
+ {require_otp_vsn, "27|28|29"},
{deps_dir, "src"},
{deps, lists:map(MakeDep, DepDescs ++ OptionalDeps)},
{sub_dirs, SubDirs},