From d75587fa7bfb4ab79cffb38d4008cb0be0d812ec Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Fri, 12 Sep 2025 11:43:15 -0400 Subject: [PATCH] Update change log. --- docs/WHATSNEW | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/WHATSNEW b/docs/WHATSNEW index 25ec5a4a..fa419391 100644 --- a/docs/WHATSNEW +++ b/docs/WHATSNEW @@ -1,5 +1,45 @@ CHANGES TO REMIND +* VERSION 6.1 Patch 1 - 2025-09-12 + +- NEW FEATURE: remind: Add the new --max-expr-complexity=n + command-line argument. It is possible to write expressions that use + enormous amounts of CPU time, such as the following: + + FSET fib(n) iif(n <= 2, 1, fib(n-1)+fib(n-2)) + SET a fib(100) + + That will take essentially forever to execute, but will not hit the + built-in recursion limit. Using a command-line argument of + --max-expr-complexity=1000000 will terminate evaluation in a few + dozen milliseconds on modern hardware, and should not affect + realistic reminder scripts. See the man page for details. + +- IMPROVEMENT: remind: Add UTF-8-aware functions to complement the + byte-aware functions that could give incorrect results by splitting + a UTF-8 character sequence. The correspondence between old and new + functions is: + + NON-UTF-8-AWARE UTF-8-AWARE + =============== =========== + strlen mbstrlen + substr mbsubstr + index mbindex + char mbchar + asc codepoint + + See the remind(1) man page for details. + +- MINOR NEW FEATURE: remind: You can use hexadecimal integer constants + like 0xFE12 in expressions. This is mostly useful for using + codepoint() since Unicode code points are often expressed in + hexadecimal. + +- BUG FIX: remind: When truncating a string when executing DUMPVARS or + during debugging of expression evaluation, Remind could sometimes + cut the string in the middle of a UTF-8 sequence. This has been + fixed. + * VERSION 6.1 Patch 0 - 2025-09-08 - MAJOR NEW FEATURE: remind: The TZ keyword lets you specify a time