Mercurial > octave
comparison etc/NEWS.8.md @ 31515:45328547bc12 stable
NEWS.8.md: Add note about breaking change (strings)
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Wed, 23 Nov 2022 04:53:02 -0500 |
parents | 2b83190294b5 |
children | e88ad18ca0ee |
comparison
equal
deleted
inserted
replaced
31511:9ee8943cad01 | 31515:45328547bc12 |
---|---|
103 | 103 |
104 - `ode45`, `ode23`, and `ode23s` have improved results for options `Events`, | 104 - `ode45`, `ode23`, and `ode23s` have improved results for options `Events`, |
105 `OutputFcn`, and `Refine`, along with corrected orientation of struct | 105 `OutputFcn`, and `Refine`, along with corrected orientation of struct |
106 outputs. | 106 outputs. |
107 | 107 |
108 - *Early notice of future breaking changes*: Due to many user requests that | |
109 Octave should have a Matlab-compatible string class, there is work under way | |
110 to implement a string class, which will differ from a vector of characters. | |
111 Currently in Octave, both 'foo' and "foo" are largely interchangeable, | |
112 barring certain escape sequence interpretations that are present for one but | |
113 not another. In future, that is likely to change as a consequence of | |
114 implementing Matlab-style strings. This is required for other | |
115 Matlab-compatibility activities as well. | |
116 | |
117 *What this means for user code*: If you want to treat "foo" as a character | |
118 vector as opposed to a string object, *and* if you intend to use a future | |
119 version of Octave with string classes, then rewrite "foo" as 'foo'. If you | |
120 need to retain the character vector behavior for "foo", you can continue to | |
121 use Octave 8 with long-term support. | |
122 | |
108 ### Alphabetical list of new functions added in Octave 8 | 123 ### Alphabetical list of new functions added in Octave 8 |
109 | 124 |
110 * `clearAllMemoizedCaches` | 125 * `clearAllMemoizedCaches` |
111 * `matlab.lang.MemoizedFunction` | 126 * `matlab.lang.MemoizedFunction` |
112 * `memoize` | 127 * `memoize` |