Jennifer 0.27: what's new, what's deprecated, what breaks

Jennifer

The release that tightened the modules and chose one way per thing.

November 2026, by @mplx.
Based on Jennifer 0.27.0

Powered by Jennifer's Cantrip - Markdown into slide decks, https://github.com/jennifer-language/cantrip
1 / 18

The release in one slide

2 / 18

Breaking: credentials need TLS

Refused before anything is sent:

Opt in for a lab: allowInsecureHttp or allowInsecureAuth.

3 / 18

Breaking: strict parsing

4 / 18

Breaking: checked, never clamped

5 / 18

Breaking: renamed fields, changed kinds

6 / 18

Breaking: behaviour

7 / 18

Deprecated: slices, not substring

use io;
def word as string init "Jennifer";
def xs as list of int init [10, 20, 30, 40, 50];
io.printf("%s %s\n", $word[..3], $word[3..]);
io.printf("%v %v\n", $xs[..2], $xs[..len($xs) - 1]);
io.printf("%v\n", 42);

strings.substring, lists.slice / head / tail / pop, binary.slice, and io.printf($v) with one value: the language already does it.

8 / 18

Deprecated: one deriveKey

# 0.26
def key as bytes init crypto.pbkdf2("sha256", $phrase, $salt, 600000, 32);
# 0.27
def key as bytes init crypto.deriveKey(
    "pbkdf2-sha256", $phrase, $salt, 32, crypto.KdfParams{iterations: 600000});

"hkdf-sha256", "pbkdf2-sha256", "argon2id", "scrypt": no default costs.

9 / 18

Deprecated: text to bytes in one place

def b as bytes init encoding.encode("utf-8", $text);   # was convert.bytesFromString
def s as string init encoding.decode("utf-8", $b);     # was convert.stringFromBytes

New codecs: "utf-16", "utf-32" (with a byte-order mark) and their le / be forms. Decoding is strict and names the byte offset of the error.

10 / 18

Deprecated: renamed

0.260.27
strings.repeatstrings.replicate (also new: lists.replicate)
testing.runWith / assertThrowsWithrunArgs / assertThrowsArgs
lists.range(a, b)a..b, or lists.range(3, 0, -1) to count down
convert.toString(n, 16)`io.sprintf("%d
rest.insecure, soap.withInsecure, ...withSkipVerify
orm.hasOne, validate.isInt, ...oneToOne, validate.integer, ...
11 / 18

New: secrets read safely

def key as bytes init fs.readSecretBytes("/etc/myapp/signing-key.pem");
12 / 18

New in the language

match ($nodes[$i]) {                 # 0.26: assign to a variable first
    when Leaf(lf) { return $lf.value; }
    when Node(nd) { return total($nodes, $nd.left) + total($nodes, $nd.right); }
}

An indexed subject works: $xs[$i], $byKey["x"], $grid[$i][$j], $m["x"].tree.

13 / 18

New in the libraries

14 / 18

New in the modules

15 / 18

Fixed

16 / 18

Upgrading a program or a deck

  1. Run jennifer lint: every deprecated call is L301, with its replacement
  2. Fix renamed fields; the file refuses to load until you do
  3. Search for credentials over http:// in tests; opt in only on purpose
  4. Raise the floor to >=0.27.0 only when you use something new
  5. Move off the deprecated names and the nine modules before 0.28.0
17 / 18

Read more

Based on Jennifer 0.27.0, November 2026.

18 / 18