Release Notes for JMRI 4.19.3 release
Date: Feb 12, 2020
From: Bob Jacobsen
Subject: Test Release 4.19.3 of JMRI/DecoderPro is available for download.
Notes:
This is a test release. Please
post a note
if you encounter any new or old bugs!
And please back up your JMRI files before installing this, in case you want to go
back to an earlier version.
This is the next in a series of test releases.
We expect this series to end in the next JMRI production release in early summer 2020.
(See the tentative release schedule)
Some of the changes involved are quite extensive.
They may require a certain amount of experience before they are working well.
Therefore, this test release should be considered experimental.
JMRI is now only available under the
GNU General Public License. For more information, please
see our
copyright and licensing page.
Update From Older JMRI Versions
If you are currently using JMRI 4.11.9 or earlier, we strongly recommend that you update to
JMRI 4.12 and make sure that's running without errors
during startup or on the JMRI log.
Once you have JMRI 4.12 running OK,
store your configuration and panel files and use those from then on.
There have been
changes in serial port support, panel file format and configuration options since those earlier releases,
and moving to the stable JMRI 4.12 release
is a good way to work through any possible problems.
If you are currently using JMRI 4.7.3 or earlier on Linux or macOS (Windows doesn't need this),
you must
update to JMRI 4.12 and
carrying out the migration process described in the JMRI 4.12 release note
before updating to this release.
If you are currently using JMRI 4.17.7 or earlier, including if the previous paragraphs
convinced you to update to JMRI 4.12,
we strongly recommend that you update to
JMRI 4.18 and make sure that's running without errors
during startup or on the JMRI log.
Once you have JMRI 4.18 running OK,
store your configuration and panel files and use those from then on.
There have been
changes panel file format and configuration options since earlier releases,
and moving to the stable JMRI 4.18 release
is a good way to work through any possible problems.
Known problems with this release
New warnings for this release:
-
Manager.getSystemNameArray()
has been removed after being
deprecated for two years. Please migrate to using
Manager.getNamedBeanSet()
instead. If you really
must have an array, use Manager.getNamedBeanSet().toArray()
;
see this tutorial for examples.
-
The JavaCSV API has been replaced with the Apache Commons CSV API.
This may impact some scripts. See
TurnoutStatePersistence.py
for an example of how to use the new CSV parsing API. If unable to
use the new API, the JAR for the old API can be
downloaded
and added to jmri.conf using the
--cp:a=path/to/javacsv.jar
parameter.
Older warnings
See the JMRI 4.18 release note for more warnings predating the 4.19
development series, including pointers to various migration issues.
These may be relevant to you if you're updating from an earlier version.
- Since JMRI 4.19.1
JMRI now enforces the standard form of system names,
where the system is denoted by a single letter or a letter plus digits.
Some users of JMRI 4.18 or earlier might have incompatible values.
If you have one of these hardware connections:
- Anyma DX512 using “DX”
- DCC++ using “DCCPP"
- DCC4PC using “DP"
- JSON client using “json”
- MRC using “MR"
- Marklin CS2 using “MC"
- Raspberry PI using “PI"
- TAMS using “TM”
you may have to migrate. Please update to JMRI 4.18 prior
to installing JMRI 4.19.1 (or later) and check the JMRI Console to
see if there are any instructions there. See the
migration page
for additional information.
- Since JMRI 4.19.1
The
getBeanByUserName
and getBeanBySystemName
calls in the various Manager
classes
are no longer needed with Java 8 and have been deprecated for eventual
removal. Their replacements are
getByUserName
and getBySystemName
respectively.
If you use getBeanByUserName
and getBeanBySystemName
in script or Java code you've written, please
switch to the new names.
- Since JMRI 4.17.5
JMRI's scripting support now defaults to the UTF-8 character encoding for all
script files on all platforms. This may require that some scripts be re-saved
using UTF-8.
- Since JMRI 4.17.5
Windows Only The JMRI installer removes the existing
lib folder from a JMRI installation when upgrading JMRI. The
existing lib folder contents are retained in the backup folder.
This means that any files you have added to the lib
folder will be removed.
- Since JMRI 4.17.5
macOS Only This version includes changes to how
the final .dmg file is built, signed and notarized. This was done to increase
compatibility with macOS 10.15 Catalina.
Please drag the JMRI icon to the Applications folder to install this release.
For more information on
Catalina compatibility,
see the
JMRI website.
- Since JMRI 4.17.4
Panel file NamedBean items such as Turnouts, Sensors, etc are now written to panel
files in order by their Manager system prefix and system name.
Previously, they had (roughly) been written in the order they'd be
read from the earlier file(s). This will result in a big change to the order
the first time a file is re-written, but after that it should be much more stable.
- Since JMRI 4.11.4
There are issues with the Pi-SPROG One command station operation. A number of workarounds should be applied:
- Do not turn on the track power until the power supply to the Pi-SPROG ONE is turned on
- Do not enable extra debugging through default.lcf, nor open the system console window
- Do not open the SPROG console window
- Disable power conversion (CV 29) in all locos
- If connecting via VNC (or similar), setup the screen layout before turning on the track power
Pi-SPROG One with version 2.4 or earlier firmware will cause a timeout after a track short circuit. A dialog box will
open to inform the user of this. The track power will be turned off and must be turned on again using the power control.
Download links:
Please note that the download links in this and future JMRI releases link to
Github servers.
People are welcome to distribute the download files further via other websites, etc.
If you want to check that you've received original, unmodified versions, please
check the files against the checksums shown below.
The
list of included changes is available from our
GitHub code repository.
Hardware Support
LocoNet
- Fixed a problem where throttle functions would not
work properly with certain locomotive addresses.
- Update Digitrax Command Station definitions so that features
better match command station type in preferences
MERG CBUS
- Track Current Meter + Command Station Steal / Share are available unless proved otherwise.
- Node Manager and Event Table no longer auto-start on JMRI startup.
These can be added as Startup Actions in JMRI Preferences to enable
Event or Node name translation in CBUS console, and other CBUS Tools.
- Refactoring of CBUS OPC's, Filters and Node Manger functions for future maintainability.
New / Updated decoder definitions
Public Domain and DIY decoders
- Added a definition for the ARD-8SCOM-4VYH-TC decoder
Internationalization
- Fixed a place in Transit table where language
wasn't taken into account on column sizes.
- Catalan language corrections and more translated files.
Layout Editor
- Improved the output when
displaying the contents of a panel file
in a web browser.
- Restore ability to type in new Block name in toolbar panel
- Bridge Decoration line width problem fixed
- Improve Track Segment Hit testing
NX - Entry/Exit Tool
- Three new items have been added to the options dialog. These make it
easier to use entry/exit capabilities when the panels are displayed using
the JMRI web server. Note: The NX icons do not flash when the panel
is displayed using the JMRI web server.
- Route overlap action — Choices are Ask User, Cancel Route and Stack Route.
- Memory variable — Allocation messages can be sent to a memory
variable instead of displaying a dialog. The content can be displayed
on a panel.
- Memory clear delay — Automatically clear the memory value after
the selected amount of time. A value of zero disables automatic clearing.
Operations
- Reset trains that were building during file save and would seem stuck
when the file was reloaded.
Panel Editors
Roster
- The "Export Complete Roster" and "Import Exported Roster"
actions now transfer the icons and images from the roster.
Note that for this to work, you have to do the export
with this JMRI version or later, and also do the import
with this JMRI version or later.
Turnouts, Lights, Sensors and other elements
- The Block Table and Memory Table use the User Name for ID Tag if it is available.
- The ID Tag Table uses the Reporter User Name for location if it is available.
Scripting
- The JavaCSV API has been replaced with the Apache Commons CSV API.
This may impact some scripts. See
TurnoutStatePersistence.py
for an example of how to use the new CSV parsing API. If unable to
use the new API, the JAR for the old API can be
downloaded
and added to jmri.conf using the
--cp:a=path/to/javacsv.jar
parameter.
- YetAnotherAutoTrain was updated to version 2.1
Signals
Cab Signals
- Better set row height in table.
Web Access
- Fixed a problem preventing JMRI application web services from working with iOS 9.3.6
Virtual Sound Decoder
- Fixed a crashing bug with short sequences.
Miscellaneous
- Added a feature which lets you set the height of rows
in the
cab display table,
so that signal icons can be made fully visible.
- Lots of updates to the organization of the website so that the sidebars
provide better navigation.
Manager.getSystemNameArray()
has been removed after being
deprecated for two years. Please migrate to using
Manager.getNamedBeanSet()
instead. If you really
must have an array, use Manager.getNamedBeanSet().toArray()
;
see this tutorial for examples.
- The included Jetty library was updated
from version 9.4.7.v20170914 to 9.4.26.v20200117