py5 => Java 17
Pre-release
Pre-release
hx2A
released this
24 Mar 15:21
·
1361 commits
to main
since this release
New Features:
- py5 now requires Java 17 to be installed on your computer. If
JAVA_HOME
is set, it must point to your Java 17 installation. - Update Processing jars to version 4.0b6. This means py5 now supports the new features in that release, including the new commands for controlling the Sketch window such as
window_move()
andwindow_title()
. - Improvements to py5 to enable packaging with pyinstaller. In the near future I will add documentation to the py5 website explaining how to do this. If you can't wait that long, have a look at this gist for a working example. That example has room for improvement, and will be improved before the documentation is finalized.
- The typehints have been updated to conform to PEP 585. Also, the numpy typing package
nptyping
has been removed in favor of using the numpy typehint features introduced in versions 1.20 and 1.21. This version of py5 now requiresnumpy>=1.21
, but that shouldn't be a problem for anyone because that version has been out for almost a year now and most likely you have version 1.22 installed already. - The
run_sketch
command line tool now accepts command line arguments that will get passed to Processing. Among other things, this will allow the Thonny plugin to set the window position. (see #60)
Bug fixes: