Graphviz 16, p5.js 1.11 and proj4js 2.22
Three JavaScript libraries on which Python modules of Basthon rely had not moved for several years. They take a big leap, without changing anything to existing programs.
Graphviz moves from version 2.40 to version 16.1 to draw the graphs of the graphviz module. This Python module also moves from version 0.15 to 0.21: its official documentation now applies as is, and graphviz.version() gives the version of Graphviz actually used. Graphs are still shown with basthon.display(g) (or simply g at the end of a cell in a notebook), and g.render(format="png") still downloads the image (SVG or PNG). The modules that rely on Graphviz, such as lolviz, binarytree or rcviz, benefit from it too.
from graphviz import Digraph
import basthon
g = Digraph()
g.edge("Hello", "World")
basthon.display(g)p5.js moves from version 1.1.9 to 1.11. Everything that appeared in p5.js since 2020 becomes usable from Python: clipping the drawing with beginClip() and endClip(), colour gradients with paletteLerp(), 3D shapes built with buildGeometry()…
proj4js, used by the proj4py module to convert geographic coordinates, moves from version 2.6.2 to 2.22. GPS coordinates (WGS84) stay in the latitude then longitude order. Coordinates can now be transformed directly, without going through forward, and the results are real Python lists (or tuples):
from proj4py import proj4
# from WGS84 (latitude, longitude) to Lambert 93
print(proj4("WGS84", "EPSG:2154", [47.081, 2.3988]))