Skip to content

Releases

Release of v1.14.3

Choose a tag to compare

@alfredwassermann alfredwassermann released this 06 Nov 15:14

JSXGraph v1.14.3 is a patch release that fixes additional issues with boards that are invisible at initialization and become visible or resized later. Other bug fixes address updating plane3d normals and bisectorlines. The API documentation has also been improved.

Release of v1.14.2

Choose a tag to compare

@alfredwassermann alfredwassermann released this 26 Oct 13:53

JSXGraph v1.14.2 is a patch release that fixes two further issues with boards that are invisible at initialization time and become visible later on.

The first issue affects boards whose coordinate system is defined not by a bounding box, but by explicitly specifying unitX, unitY, and related attributes. The second affects a board that is initially invisible but resized with setBoundingBox() before it becomes visible.

If you encounter other cases like these, please report them.

Enjoy, Alfred

Release of v1.14.1

Choose a tag to compare

@alfredwassermann alfredwassermann released this 21 Oct 09:33

JSXGraph v1.14.1 delivers several important bug fixes.

The most important fix concerns JSXGraph boards that are invisible or hidden at initialization time: these are now resized correctly once they become visible. This issue has become increasingly relevant with modern web design practices. We thank Andrey Chesnokov (NTNU, Norway) for identifying and resolving this issue. If you still encounter resizing problems, we would be happy to receive bug reports.

In addition, we fixed a regression in setLayer() of the SVG renderer and repaired the broken gradient color management in the canvas renderer. The remaining bug fixes mostly address edge cases in numerical algorithms or other very specific situations.

We also moved the unused, largely legacy source code from src/unused to src_unused, since several AI agents had complained about the code quality of this old code.

As for code quality, the plans for the next major release (v1.15) are to remove the obsolete VML renderer for old Internet Explorer versions and to upgrade the LR parser for the JessieCode language.

Enjoy, Alfred

Release of v1.14.0

Choose a tag to compare

@alfredwassermann alfredwassermann released this 05 Oct 08:31

JSXGraph v1.14.0 finally delivers the long-overdue upgrade from jsdoc 2 to jsdoc 3 (v4.0.5) for the API reference; see https://jsxgraph.org/docs/. Readability has improved dramatically — even for us developers. As we expect further improvements to the API reference in the near future, we will now publish updates to it independently of JSXGraph releases.

Call for help: If you spot bugs or better wording in the API reference, please do not hesitate to contact us — on GitHub, in the forum (https://forum.jsxgraph.com), or by email.

The other major change affects the API reference because it fixes a bug that has been present in the sources since at least v1.0.0, found by Tom Berend. The affected elements are Sector, Arc, MajorArc, MajorSector, MinorArc, MinorSector, Parallel, ArrowParallel, Bisector, Circumcenter, Circumcircle, CircumcircleArc, CircumcircleSector, Incenter, Incircle, OrthogonalProjection, ParallelPoint, Perpendicular, PerpendicularPoint, PerpendicularSegment, and Semicircle.

When a defining point for one of these elements was supplied as a coordinate array rather than as an existing point, JSXGraph created an implicit parent point. Such parent points could

  • inherit the name of the child element,
  • receive an automatically generated name like 'A' or 'B',
  • be visible by default.

Starting with v1.14.0, these parent points

  • are invisible by default and have the empty string '' as their name,
  • can be modified later via their sub-object, e.g.
    sector.radiusPoint.setAttribute({visible: false});

Enjoy, Alfred

Release of v1.13.3

Choose a tag to compare

@alfredwassermann alfredwassermann released this 07 Sep 09:28

JSXGraph v1.13.3 is a patch release that primarily fixes a regression introduced in v1.13.0 affecting the strokeColor of polygon elements.

This release also includes contributions from @cdeil, who added missing 3D TypeScript declarations, fixed ID collisions in anonymous containers, and improved the Makefile for macOS. Additionally, @anupamme addressed several minor security issues. Many thanks.

Enjoy, Alfred

Release of v1.13.2

Choose a tag to compare

@alfredwassermann alfredwassermann released this 17 Aug 15:00

JSXGraph v1.13.2 is a patch release that resolves several bugs, and - somewhat unusual for a patch release - comes with a few new features and API changes.

The API changes are:

  • Homogeneous Coordinates: The methods surface3d.F and surface3d.evalF now return homogeneous coordinates. These are arrays in the form [1, x, y, z], making them compatible with 3D transformations.
  • JXG.appBox Configuration: The JXG.appBox feature (introduced in v1.13.0) now expects cssStyle instead of style as the key name for JSXGraph board attributes.

New features

  • curve.getCoords(): A new method that returns an array of coordinates for a curve.
  • 3D Enhancements:
    • The default style for 3D front planes has changed to a "frame style."
    • plane3d can now be triangulated.
    • Camera distance handling is now synchronized for both parallel and central projections.

Bug Fixes

  • 2D Plotting Regression: Clipping of curve screen coordinates has been reactivated and improved.
  • Other Fixes: Various issues have been resolved, including the correct handling of media query listeners.

For a complete list of changes, please refer to the CHANGELOG.

Enjoy, Alfred

Release of v1.13.1

Choose a tag to compare

@alfredwassermann alfredwassermann released this 22 Jul 13:14

JSXGraph v1.13.1 is a patch release that introduces subtle improvements and resolves various bugs.

As is common after a major version release, bug reports began to arrive. This time, special thanks go to Tom Berend, who reported a significant number of persistent issues.

The most critical bugs affected polyhedron3d elements and the Line.getAngle() method. Additionally, several mistakes in the API documentation have now been corrected. This patch also allowed us to upgrade MathJax to v4 within the documentation.

Enjoy, Alfred

Release of v1.13.0

Choose a tag to compare

@alfredwassermann alfredwassermann released this 21 Jul 14:11

JSXGraph version 1.13.0 introduces a wealth of new features, improvements, and bug fixes. This release represents the culmination of over 400 commits, with pull requests from Christian Perfect, CloudShannon, and Andreas Walter. Thank you so much!

This version finally introduces the convenient shortcut JXG.board(...), replacing the more verbose JXG.JSXGraph.initBoard(...). Similarly, JXG.appBox(...) now enables the creation of a JSXGraph construction wrapped within a surrounding div element. Additionally, JSXGraph elements can be positioned outside the main board and into this wrapper. This behavior is controlled by the clip attribute of JSXGraph elements. The motivation behind appBox is to allow non-mathematical elements, such as sliders and text labels, to be placed outside the board area; see the API docs for an example.

3D support has been massively improved in this version. In particular, rendering speed has increased significantly. Previously, surfaces were displayed only as wireframe models. While this remains possible, surfaces can now utilize the polyhedron3d element for display. Three rendering types are available: 'shader', 'colorarray', and 'colormap'. You can view examples (along with source code) in our examples database:

One highly requested feature is the new board attribute cssStyle, which allows authors to style the hosting div element directly. See the example here. This is particularly helpful if the author lacks access to the surrounding HTML.

Further improvements include enhanced statistics capabilities. With JXG.Math.Statistics.boxplot(data), it is now possible to compute the quantiles and outliers of a dataset. The boxplot element can also display outliers conveniently; see the example here.

This release includes a few pull requests that appear to have been assisted by AI. AI tools helped detect bugs in various math functions and generated corresponding unit tests. The good news is that there were not many bugs, and they primarily affected rare edge cases.

Finally, many thanks to all contributors. This project would not be possible without your bug reports, comments, and pull requests.

Enjoy, Alfred

Release of v1.12.2

Choose a tag to compare

@alfredwassermann alfredwassermann released this 19 Nov 13:03

This release is identical to v1.12.1, only a few unnecessary zip files had to be deleted. Otherwise the package size at the CDN jsdelivr would have been too large. That is, v1.12.1 is not available on jsdelivr, but v1.12.2 is.

Enjoy, Alfred

Release of v1.12.1

Choose a tag to compare

@alfredwassermann alfredwassermann released this 19 Nov 10:19

JSXGraph v1.11.1 is a patch release that adds some subtle improvements and addresses a few annoying bugs.

The update addresses the following issues (among others):

  • Increased precision for intersections (points) of curves with curves or lines
  • The output format of polyhedron.toSTL() is now correct
  • Some smartlabels were broken
  • The handling of attribute frozen is further improved
  • Improvement of the API docs
  • Security: replaced some innerHTML by innerText
  • Arrow heads in SVG take the CSS color of the line
  • jsxgraph.css now contains a version string

In particular, the change of the intersection algorithm for curves might cause problems in existing constructions -
even if we tried to make it as backwards compatible as possible. Please report any issues with intersection points, we will try to find a solution.

For the full list of changes see CHANGELOG.md.

Enjoy, Alfred