Skip to content

Commit ed1bd67

Browse files
committed
Get ready for release 9.0.0
Go over Changes. NEWS.md -> Changes.rst to match other repositories
1 parent d628461 commit ed1bd67

File tree

3 files changed

+57
-36
lines changed

3 files changed

+57
-36
lines changed

NEWS.md renamed to CHANGES.rst

Lines changed: 55 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
1+
CHANGES
2+
=======
3+
4+
9.0.0
5+
-----
6+
7+
Supports Python 3.13. Python 3.8 support dropped.
8+
9+
Track API changes in Mathics3 Scanner 9.0.0
10+
11+
Make CLI options more like wolframscript. This is an incompatible change. Single-dash long options like ``-help``, ``-file``
12+
are now accepted. Short option ``-f`` is associated with ``-file`` rather than ``--fullform``; ``-F`` is is now used for Fullform.
13+
Option ``--read`` with alias ``-r`` is now ``-code`` and short option `-c`.
14+
15+
16+
Bugs
17+
++++
18+
19+
Fixed #82
20+
21+
122
8.0.0
223
-----
324

425
Jan 26, 2025
526

6-
This release tracks the API changes in the Mathics Kernel, and to support enhanged debugging
27+
This release tracks the API changes in the Mathics3 Kernel, and to support enhanged debugging
728

8-
* `--edit-mode [emacs|vi]` or was added to `mathicsscript` to specify which initial edit mode for prompt-toolkit to start in
9-
* `--post-mortem` was added `mathicsscript` to go into a trepan3k debugger on error
29+
* ``--edit-mode [emacs|vi]`` or was added to ``mathicsscript`` to specify which initial edit mode for prompt-toolkit to start in
30+
* ``--post-mortem`` was added ``mathicsscript`` to go into a trepan3k debugger on error
1031
* Add aliases for all of the 100 or so "no-meaning" operators
1132
* Allow 2D rendering from asymptote
1233
* Add/update material in README's and screencast
@@ -52,7 +73,7 @@ Aug 10, 2025
5273
* Packaging: include matplotlib in full install
5374
* Customize Asymptote configuration and add a psviewer that removes eps trash
5475
* Bump minimum Mathics core version to 4.0.0
55-
* Bug fix: Check if `self` has `session` attribute in `asy.__del__`
76+
* Bug fix: Check if ``self`` has ``session`` attribute in ``asy.__del__``
5677

5778
3.3.1
5879
-----
@@ -64,7 +85,7 @@ Aug 10, 2025
6485
-----
6586

6687
* 3D Graphics is now handled if Asymptote is installed.
67-
* ``Settings`$UseMatplotlib`` and ``Settings`$UseAsymptote`` were added. The can disable the use of matplotlib and Asymptote when those are available.
88+
* ```Settings`$UseMatplotlib``` and ```Settings`$UseAsymptote``` were added. The can disable the use of matplotlib and Asymptote when those are available.
6889

6990
3.2.1
7091
-----
@@ -76,16 +97,16 @@ Fix packaging issues and be more tolerant matplotlib errors.
7697

7798
* Many 2D plots and graphs can now be viewed via a matplotlib shell! PR #40.
7899
* In prompt-toolkit:
79-
- Better word-boundary detection for `NamedCharacters`, `Symbols`
100+
- Better word-boundary detection for ``NamedCharacters``, ``Symbols``
80101
- Include grouping start symbols "(", "{", "[" in detection
81102

82103
3.1.0
83104
-----
84105

85106
Word completion detection was improved slightly. Previously, a grouping opener like "[", "(", or "{" would prevent word completion.
86107

87-
ASCII to unicode conversion was disabled since it was flaky and turned `===` into
88-
garbage upon seeing `==`. Issue #38
108+
ASCII to unicode conversion was disabled since it was flaky and turned ``===`` into
109+
garbage upon seeing ``==`. Issue #38
89110
90111
In prompt-readline by default, inserting a "[", "(", or "{" will automatically insert the corresponding closing "]", ")", and "}".
91112
Use f3 to toggle this behavior.
@@ -102,7 +123,7 @@ We've separated prompt_readline functions into its own module separate from the
102123
The primary readline interface has been redone using the excellent [prompt-toolkit](https://pypi.org/project/prompt-toolkit/).
103124
This is pure Python code so it should be available everywhere.
104125
We still include GNU-Readline for those situations where prompt-toolkit doesn't work. Select the readline style now with the
105-
`--choice` option which can be one of `GNU`, `Prompt`, or `None`.
126+
`--choice`` option which can be one of ``GNU``, ``Prompt``, or ``None``.
106127

107128
Prompt toolkit allows us to color input as it is getting typed. It also has nicer completion facilities, and sports a bottom modeline status bar.
108129

@@ -116,14 +137,14 @@ Independent of prompt-toolkit, there better pygments colorization using [mathics
116137

117138
* There are now system setting and user settings. User settings take precedence over system settings.
118139
* String output is now shown in quotes to make it more distinguishable from symbol and unexpanded
119-
expressssion output. This does not follow how `wolframscript` works. Option `strict-wl-output` will disable this.
140+
expressssion output. This does not follow how ``wolframscript`` works. Option ``strict-wl-output`` will disable this.
120141
* Syntax and Highlighting is now done via the Python
121142
[mathics-pygments](https://pypi.org/project/mathics-pygments/)
122143
package. I think you'll find colorization more complete and
123144
useful. Expect more improvements as mathics-pygments improves.
124-
* Flag `--initfile` is now `--run` to have better conformance with `wolframscript`. In the future we hope
125-
to support support conformance with `wolfram` if the` mathicsscript` (or code underneath) is called
126-
using the name `mathics3`.
145+
* Flag ``--initfile`` is now ``--run`` to have better conformance with ``wolframscript``. In the future we hope
146+
to support support conformance with ``wolfram`` if the`` mathicsscript`` (or code underneath) is called
147+
using the name ``mathics3``.
127148

128149
2.1.2
129150
-----
@@ -143,15 +164,15 @@ the GNU Readline inputrc files from getting created properly.
143164
2.1.0
144165
-----
145166

146-
* Allow command-line flag `-c` as an alias for `--execute` (along with `-e` to be compatible with wolframscript
167+
* Allow command-line flag ``-c`` as an alias for ``--execute`` (along with ``-e`` to be compatible with wolframscript
147168
* Better compliance on Windows which are GNU readline-starved
148169
* Better unicode detection
149170
* Accept newer mathics-scanner and Mathics3 versions
150171

151172
2.0.1
152173
-----
153174

154-
* Fix `mathicsscript -f FILE` argument. See PR #26
175+
* Fix ``mathicsscript -f FILE`` argument. See PR #26
155176

156177
2.0.0
157178
-----
@@ -163,55 +184,55 @@ the GNU Readline inputrc files from getting created properly.
163184
1.1.2
164185
-----
165186

166-
* Fix ``Settings`$ShowFullForm`` now that we use Mathics supports Booleans better
187+
* Fix ```Settings`$ShowFullForm``` now that we use Mathics supports Booleans better
167188
* Show mathicsscript version on startup
168-
* Add ``Settings`MathicsScriptVersion``
189+
* Add ```Settings`MathicsScriptVersion``
169190
* Add all of the WL escape sequences
170191
* Add conversions from WL Unicode to standard Unicode
171-
* Shell escapes `!` and `!!` added
192+
* Shell escapes ``!`` and ``!!`` added
172193

173194
Incompatible changes:
174195

175-
* `-e` `--execute` is better suited for embedded use. It adds `--quiet` and shows just evaluation output as text
196+
* ``-e`` ``--execute`` is better suited for embedded use. It adds ``--quiet`` and shows just evaluation output as text
176197

177198
1.1.1
178199
-----
179200

180201
* We require Mathics3 1.1.1 for features added in that to support unicode and user-formatting
181-
* Start to support Unicode as a CLI option: `--unicode/--no-unicode`. The setting name is ``Settings`$UseUnicode``.
202+
* Start to support Unicode as a CLI option: ``--unicode/--no-unicode``. The setting name is ```Settings`$UseUnicode``.
182203
* Add a lot of Unicode symbols and the WL esc sequences. For example letters with dots under them. These are the "Formal" parameters/letters.
183204
* Handle Unicode versus WL character code mismatches, , in particular Unicode directed and undirected edges.
184-
* Support for ``PyMathics`Graph`` (to be released on PyPI soon).
205+
* Support for ```PyMathics`Graph``` (to be released on PyPI soon).
185206
* Some XDG compatibility
186-
* Toleratte MS/Windows pyreadline which doesn't handle `remove_history_item`
207+
* Toleratte MS/Windows pyreadline which doesn't handle ``remove_history_item``
187208
* Show pygments styles when an invalid one is given
188209
* Use "inkpot" for dark backgrounds and "colorful" for light backgrounds.
189-
* Add ``Settings`PygementsStylesAvailable``
190-
* Add settings.m to holds `mathicsscript`-specific definitions `Settings` and their default values. Settings include
191-
- ``Settings`$ShowFullFormInput``
192-
- ``Settings`$PygmentsStyle``
193-
- ``Settings`$PygmentsShowTokens``
194-
- ``Settings`$UseUnicode`` (also mentioned above)
210+
* Add ```Settings`PygementsStylesAvailable``
211+
* Add settings.m to holds ``mathicsscript`a`-specific definitions ``Settings`` and their default values. Settings include
212+
- ```Settings`$ShowFullFormInput``
213+
- ```Settings`$PygmentsStyle``
214+
- ```Settings`$PygmentsShowTokens``
215+
- ```Settings`$UseUnicode``` (also mentioned above)
195216

196-
A lot of code for handling graph formating is here but will eventually be moved to a backend formattting module which hasn't been written yet.
217+
A lot of code for handling graph formatting is here but will eventually be moved to a backend formatting module which hasn't been written yet.
197218

198219

199220
1.1.0
200221
-----
201222

202-
Now that Mathic3 1.1.0 is released depend on that.
223+
Now that Mathics3 1.1.0 is released depend on that.
203224

204225
Some internal preparation work was done to support changing settings inside the REPL.
205226
Not ready for release yet.
206227

207228
1.1.0 rc1
208229
---------
209230

210-
Split off from plain `mathics` script.
231+
Split off from plain ``mathics`` script.
211232

212233
* GNU Readline terminal interaction. This includes
213234
- saving command history between sessions.
214-
- variable completion, even for symbol names like `\\[Sigma]`
215-
- limited ESC keyboard input; for example *esc* ``p`` *esc* is π
216-
* Syntax highlighting using `pygments`.
235+
- variable completion, even for symbol names like ``\\[Sigma]``
236+
- limited ESC keyboard input; for example *esc* ```p``` *esc* is π
237+
* Syntax highlighting using ``pygments``.
217238
* Automatic detection of light or dark terminal background color.

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include README.rst
2-
include NEWS.md
2+
include CHANGES.rst
33
include ChangeLog
44
include COPYING.txt
55
include Makefile

mathicsscript/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# well as importing into Python. That's why there is no
55
# space around "=" below.
66
# fmt: off
7-
__version__="8.0.1.dev0" # noqa
7+
__version__="9.0.0.dev0" # noqa

0 commit comments

Comments
 (0)