You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2026/06/14 14:51:21 UTC
(couchdb) 01/01: Make OTP 27 the minimum OTP version
This is an automated email from the ASF dual-hosted git repository.
nickva pushed a commit to branch make-27-the-minimum-otp
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 169ea30d87300ca4a46f3719552eda7ad7771587
Author: Nick Vatamaniuc <va...@apache.org>
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
---
rebar.config.script | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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},