@@ -17,6 +17,9 @@ for several issues with version 3.0. These are described below.
17
17
* :ref: `v3.1-startup-promise `
18
18
* :ref: `v3.1-typesetClear `
19
19
* :ref: `v3.1-getMathItemsWithin `
20
+ * :ref: `v3.1-sreReady `
21
+ * :ref: `v3.1-liteDOM `
22
+ * :ref: `v3.1-demos `
20
23
21
24
------
22
25
@@ -206,4 +209,45 @@ the MathItems for the typeset math within a DOM container element (or
206
209
collection of DOM elements). See :ref: `get-math-items ` for details.
207
210
208
211
212
+ .. _v3.1-sreReady :
213
+
214
+ Change to SRE Interface
215
+ =======================
216
+
217
+ In version 3.0.5, The `a11y/sre ` module exposed a value
218
+ :attr: `sreReady ` that was a promise that would be resolved when the
219
+ Speech-Rule Engine was ready to use. Due to changes in SRE (which can
220
+ now be configured to load localized translation data, and so may
221
+ become un-ready while that is happening), the :attr: `sreReady ` value
222
+ in version 3.1.0 is now a function returning a promise, so should be
223
+ called as :meth: `sreReady() `.
224
+
225
+
226
+ .. _v3.1-liteDOM :
227
+
228
+ Fixes to the LiteDOM and DOMAdaptors
229
+ ====================================
230
+
231
+ The `LiteDOM ` in version 3.0.5 failed to process comments correctly:
232
+ they were properly read and ignored, but where not included in the
233
+ output when the DOM is serialized. In version 3.1.0, this has been
234
+ fixes so that comments are properly maintained. In addition, the
235
+ :attr: `doctype ` of the document is now retained by the `LiteDOM `, and
236
+ can be accessed by a new :meth: `doctype() ` method of the `DOMAdaptor `
237
+ class (and its subclasses).
238
+
239
+
240
+ .. _v3.1-demos :
241
+
242
+ Updated Demos
243
+ =============
244
+
245
+ The `web <https://github.com/mathjax/MathJax-demos-web#MathJax-demos-web >`__
246
+ and `node <https://github.com/mathjax/MathJax-demos-node#MathJax-demos-node >`__
247
+ examples have been updated to use the new features available in
248
+ version 3.1.0, and to include more examples. In particular, the node
249
+ examples now include demonstrations of using the simpler loading
250
+ mechanism for node applications, using puppeteer to perform
251
+ server-side processing, and using JSDOM for server-side processing.
252
+
209
253
|----- |
0 commit comments