# HG changeset patch # User Arun Giridhar # Date 1669197182 18000 # Node ID 45328547bc12f07d6ad0f21e3c3f52694f2bf1aa # Parent 9ee8943cad01c2fb7145fbb7d8054094584f58f7 NEWS.8.md: Add note about breaking change (strings) diff -r 9ee8943cad01 -r 45328547bc12 etc/NEWS.8.md --- a/etc/NEWS.8.md Tue Nov 22 16:46:35 2022 -0800 +++ b/etc/NEWS.8.md Wed Nov 23 04:53:02 2022 -0500 @@ -105,6 +105,21 @@ `OutputFcn`, and `Refine`, along with corrected orientation of struct outputs. +- *Early notice of future breaking changes*: Due to many user requests that + Octave should have a Matlab-compatible string class, there is work under way + to implement a string class, which will differ from a vector of characters. + Currently in Octave, both 'foo' and "foo" are largely interchangeable, + barring certain escape sequence interpretations that are present for one but + not another. In future, that is likely to change as a consequence of + implementing Matlab-style strings. This is required for other + Matlab-compatibility activities as well. + + *What this means for user code*: If you want to treat "foo" as a character + vector as opposed to a string object, *and* if you intend to use a future + version of Octave with string classes, then rewrite "foo" as 'foo'. If you + need to retain the character vector behavior for "foo", you can continue to + use Octave 8 with long-term support. + ### Alphabetical list of new functions added in Octave 8 * `clearAllMemoizedCaches`