Processing 4.1
Revision 1288 – 28 November 2022
Compared with the 4.0.2 release which was focused on stability, this 4.1 release is focused on instability adding a couple new features. They'll need more testing, but hopefully you'll find them useful.
what makes this 4.1 instead of 4.0.3
-
This release adds initial support for Language Server Protocol, which means we will soon be able to integrate the compile/run process with other editors like Visual Studio Code. There is still a lot of work to be done here (this code is probably more “alpha” quality) but it's a good step forward. To use it, we'll first need an LSP “client,” which can be a community contribution so keep an eye out for that in the coming weeks and months. Thanks to @kgtkr for the LSP code here, it's a huge help. #117
-
Support has been added for extended language tags, which makes available a Traditional Chinese (
zh_TW
) translation in addition to the previously available Simplified Chinese translation (originallyzh
, now renamed tozh_CN
). You can see the full list of supported language tags here. We will keep the existing two-digit tags in place for now, and update them as needed when new language translations are added. Read more on the Translations page on the Wiki. Thanks to @jsyeh for thezh_TW
translation. #600 -
Since the redesign of Processing.org, the offline reference is too large to include the download. In this release, a “Download Offline Reference” item was added to the Help Menu, for people who need an offline copy. It creates a file called
reference.zip
in the sketchbook. If that file is present, then the Help menu links and Find in Reference will use that copy of the reference. If it is not present, online URLs will be used. You can also manually copy thereference.zip
file from sketchbook to sketchbook. Putreference.zip
in the root of your sketchbook and restart Processing so that it picks up the new file. For instance, in a class situation, you might put the file on a shared server and tell people where to find it. Read more on the Offline Reference page on the Wiki. #524, #213
contributed fixes
-
size(863,863/2)
insidesetup()
function (fix from @sampottinger) #602, #609 -
Pre-processor was inserting extra spaces (another from @sampottinger) #607, #609
-
Fix the JavaDoc for mousePressed variable from @SableRaf. #605
other updates
-
In some cases, the Theme was not being saved after Processing was restarted. #565
-
A few updates and clarifications in the
size()
reference. -
The Java version has been bumped from 17.0.4 to 17.0.5.