Skip to content

v7.3.00

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:46
· 30 commits to main since this release

What's Changed

  • Issue #638: Make strings nested in injected List and Map variables numeric strings by @bertysentry in #639. Strings nested in an injected List or Map (for example the cells of an injected table, t[0][1]) now compare as numbers when they look like numbers, like input fields and top-level injected strings: l[0] > 9 with l = ["10"] used to print 0 and now prints 1.
  • Issue #640: Make StrNum serializable so --persist keeps input-derived values by @bertysentry in #641. --persist (and AVM.snapshotPersistentMemory()) now saves globals holding fields, split() pieces or -v assignments, instead of failing with NotSerializableException: io.jawk.jrt.StrNum.

Breaking Change for Java Embedders

  • A Map (or AssocArray) injected as a variable is now copied into a new AWK array, as a List already was (#639). The script's writes, deletes and split() calls no longer reach the caller's map, and read-only maps such as Map.of(...) now work even when they hold lists. Keys follow AWK rules in the copy ("1" and 1 are the same element), and for (k in arr) follows the AWK array's order instead of the map's.

See Behavior Changes by Version for details.

Code Hygiene

Full Changelog: v7.2.00...v7.3.00