Skip to content

Commit 499f1bf

Browse files
committed
Get ready for release 3.0.0
1 parent e5baf12 commit 499f1bf

File tree

2 files changed

+84
-2
lines changed

2 files changed

+84
-2
lines changed

CHANGES.rst

+83-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,87 @@
11
CHANGES
22
=======
33

4+
3.0.0
5+
-----
6+
7+
Overall there is a major refactoring underway of how formatting works
8+
and its interaction with graphics. More work will come in later releases.
9+
10+
Some of the improvements are visible not here but in the front-ends
11+
mathicsscript and mathics-django. In mathicsscript, we can now show
12+
SVG images (via matplotlib). In Mathics Django, images and threejs
13+
graphs are no longer embedded in MathML.
14+
15+
A lot of the improvements in this release were done or made possible with the help of
16+
Tiago Cavalcante Trindade.
17+
18+
Enhancements
19+
------------
20+
21+
It is now possible to get back SVG, and graphics that are not embedded in MathML.
22+
23+
The code is now Pyston 2.2 compatible. However ``scipy`` ``lxml`` are
24+
not currently available on Pyston so there is a slight loss of
25+
functionality. The code runs about 30% faster under Pyston 2.2. Note
26+
that the code also works under PyPy 3.7.
27+
28+
Bugs
29+
----
30+
31+
* Tick marks and the placement of numbers on charts have been corrected. PR #1437
32+
* Asymptote now respects the ``PointSize`` setting.
33+
* In graphs rendered in SVG, the ``PointSize`` has been made more closely match Mathematica.
34+
* Polygons rendered in Asymptote now respects the even/odd rule for filling areas.
35+
36+
Density Plots rendered in SVG broke with this release. They will be reinstated in the future.
37+
38+
Documentation
39+
-------------
40+
41+
Go over settings file to ensure usage names are full sentences.
42+
43+
We have started to put more builtins in the sections or subsections
44+
following the organization in Mathematics 5 or as found in the online
45+
Wolfram Language Reference. As a result, long lists in previous topics
46+
are a bit shorter and there are now more sections. This work was
47+
started in 2.2.0.
48+
49+
More work is needed on formatting and showing this information, with
50+
the additional breakout we now have subsections. More reorganization
51+
and sectioning is needed.
52+
53+
These cleanups will happen in a future version.
54+
55+
Chapters without introductory text like ``Structural Operations``, or ``Tensors`` have had descriptions added.
56+
57+
Sections that were empty have either been expanded or removed because
58+
the underlying name was never a user-level built in, e.g. the various
59+
internal Boxing functions like ``DiskBox``, or ``CompiledCodeBox``
60+
61+
Documentation specific builtins like ``PolarPlot`` or
62+
``BernsteinBasis`` have been added improved, and document examples
63+
have been revised such as for ``PieChart``, ``Pi`` and others.
64+
65+
The Mathics Gallery examples have been updated.
66+
67+
Some slight improvements were made to producing the PDF and more kinds
68+
of non-ASCII symbols are tolerated. Expect more work on this in the
69+
future via tables from the `Mathics Scanner <https://pypi.org/project/Mathics-Scanner/1.2.1/>`_ project.
70+
71+
Chapters are no longer in Roman Numerals.
72+
73+
74+
Internal changes
75+
----------------
76+
77+
* ``docpipline.py`` accepts the option ``--chapters`` or ``-c`` to narrow tests to a particular chapter
78+
* Format routines have been isolated into its own module. Currently we have format routines for SVG, JSON and
79+
Asymptote. Expect more reorganization in the future.
80+
* Boxing routines have been isolated to its own module.
81+
* The entire code base has been run through the Python formatter `black <https://black.readthedocs.io/en/stable/>`_.
82+
* More Python3 types to function signatures have been added.
83+
* More document tests that were not user-visible have been moved to
84+
unit tests which run faster. More work is needed here.
485

586
2.2.0
687
-----
@@ -81,13 +162,14 @@ Incompatible changes
81162
Internal changes
82163
----------------
83164

84-
* doctest accepts the option ``-d`` to show how long it takes to parse, evaluate and compare each individual test.
165+
* ``docpipeline.py`` accepts the option ``-d`` to show how long it takes to parse, evaluate and compare each individual test.
85166
``-x`` option (akin to ``pytests -x`` is a short-hand for stop on first error
86167
* Some builtin functions have been grouped together in a module
87168
underneath the top-level builtin directory. As a result, in the
88169
documents you will list some builtins listed under an overarching
89170
categery like ``Specific Functions`` or ``Graphics, Drawing, and
90171
Images``. More work is expected in the future to improve document sectioning.
172+
* ``System`$Notebooks`` is removed from settings. It is in all of the front-ends now.
91173

92174

93175
2.1.0

mathics/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# well as importing into Python. That's why there is no
66
# space around "=" below.
77
# fmt: off
8-
__version__="2.2.1.dev0" # noqa
8+
__version__="3.0.0" # noqa

0 commit comments

Comments
 (0)