Release Notes for JMRI 4.23.3 release
Date: April 2, 2021
From: Bob Jacobsen
Subject: Test Release 4.23.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 Summer 2021.
(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 a version older than JMRI 4.20, please follow these instructions carefully:
- Is your current version older than JMRI 4.12?
If so, then update to JMRI 4.12 first, and ensure everything works correctly: check
start-up, check things you need to be working, and check the JMRI log as well) before doing anything else.
Store your configuration and panel files under a new name and use those from now on.
Then continue with step 2.
If you are currently using JMRI 4.7.3 or earlier on Linux or macOS (Windows doesn't need this),
then it's very important
that you update to JMRI 4.12 and
carrying out the migration process described in the JMRI 4.12 release note
before updating to any later relese.
- Is your current version older than JMRI 4.20?
Then update to JMRI 4.20 first, and ensure that works correctly (check
start-up, check things you need to be working, and check the JMRI log as well) before doing anything else
Store your configuration and panel files under a new name and use those from now on.
- You can then install this release.
Following this multi-step order of updating via stable major releases safeguards you against possible migration issues
that can arise from skipping these versions.
New problems with this release
New warnings for this release:
Older warnings
See the
JMRI 4.20 release note for more warnings predating the 4.21 development series,
including pointers to various migration issues.
These may be relevant to you if you're updating from an earlier version;
we strongly recommend you update to
JMRI 4.20
installing this test release.
- Since JMRI 4.21.1
The jmri.jmrix.SystemConnectionMemo class has become a jmri.SystemConnectionMemo
interface and a jmri.jmrix.DefaultSystemConnectionMemo class. This may
require changes to scripts. If you have a script that references
jmri.jmrix.SystemConnectionMemo, please change it to either
jmri.SystemConnectionMemo or jmri.jmrix.DefaultSystemConnectionMemo
(it's easier to have you just try the two than to explain which
one will work in which case)
- Since JMRI 4.21.1
The way preferences are loaded at startup has been slightly
modified. There is no impact to JMRI applications, but Non-JMRI
applications that are not derived from apps.Apps or apps.AppsBase
but are using jmri.implementation.JmriConfigurationManager to load
preferences will no longer see preferences if an error occurs. To
restore the old behavior, use apps.AppsConfigurationManager instead.
- 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:
The
list of included changes is available from our
GitHub code repository.
Hardware Support
CBUS
- Fixed Internal Sensor Manager set as default, not CBUS Sensor Manager, affecting 4.19.6 onwards.
- Simulated Connections - Output Interval option added to Additional Connection Settings.
DCC++ and DCC-EX
- Improved CV read speeds by included startVal
- Simulated Connections - Output Interval option added to Additional Connection Settings.
- Configuration editor functional and visual updates:
- If a configuration window is closed with unsaved changes, a warning dialog will appear.
- Updated fonts and geometric arrangement to make the dialog easier to oversee.
- The dialog will open with all segments closed to reduce clutter and ease navigation.
- Fixed bug in resizing the window.
- Accessibility updates: the segment headers are now part of tab order and can collapse/expand on enter or space key.
- JMRI will now respond to the Global Identify Events message as the standard requires.
SPROG
- Increased maximum command station slots to 64 and added advanced connection preference to select.
- Added support for current CV value hint when reading (requires a future SPROG 4.5 firmware release).
New / Updated decoder definitions
- All decoder.xsd XML validation schema from now on require an "item" attribute on each variable
element. It is needed to apply qualifier selections to translated definitions.
All current decoder definitions in JMRI were updated where necessary (see below for specific ESU, LDH and
Zimo series).
Doehler & Haas
- New - for all new D&H definitions: decoder model (product ID) is now detected automatically thanks to the introduction of CV 261 in updated firmware.
- DH05C (fw 3.12.050 - including update path from older fw versions definitions)
- DH10C (fw 3.12.050 - including update path from older fw versions definitions)
- DH12A (fw 3.12.050 - including update path from older fw versions definitions)
- DH16A (fw 3.12.050 - including update path from older fw versions definitions)
- DH18A (fw 3.12.050 - including update path from older fw versions definitions)
- DH21A (fw 3.12.050 - including update path from older fw versions definitions)
- DH22A (fw 3.12.050 - including update path from older fw versions definitions)
- PD05A (fw 3.12.050 - including update path from older fw versions definitions)
- PD12A (fw 3.12.050 - including update path from older fw versions definitions)
- FH05B (fw 3.12.050 - including update path from older fw versions definitions)
- FH18A (fw 3.12.050 - including update path from older fw versions definitions)
- FH22A (fw 3.12.050 - including update path from older fw versions definitions)
- SH05A (fw 1.14.050 - including update path from older fw versions definitions)
- SH10A (fw 1.14.050 - including update path from older fw versions definitions)
ESU
- Missing "item" attributes were added to the v4fnOutCv and v5fnOutCv includes.
LDH
- Missing "item" attributes were added to the v4fnOutCv and v5fnOutCv includes.
Common CVs were moved to cv33-39mapping.xml and cv67-94speed.xml respectively.
ZIMO
- MX605 (Kato type plug N sound decoder for ICE 4)
- Missing "item" attributes were added to the CVSwissMapping_v36.xml include and the Decoder
Version was copied into CV1-CV99.xml in order to allow customization for Swiss Mapping.
PanelPro
- The main PanelPro menu has changed.
- The Load, Store, and History menu items have moved from the Panels
menu to the File menu.
- The script related menu items have been moved to a new Scripting menu.
- A Delete Panel menu item has been added to the Panels menu.
- A dialog will be displayed if a second load is invoked. The message can be suppressed using the checkbox.
- When a file is loaded, the file name will be display in the JMRI System Console (Help ⇒ System Console).
- When the Close button on a panel window is clicked, a dialog will be displayed to
indicate that the panel has been hidden. The message includes instructions on making the
panel visible and how to delete the panel. The message can be suppressed using the checkbox.
- When a panel is added, deleted or renamed, a pending update flag is set. If PanelPro is stopped before
doing the Store process, a dialog will be displayed. Select Yes
to store the changes before the shutdown proceeds.
Dispatcher
- Use full length of section when stopping by speed profile.
Layout Editor
- Fix Options ⇒ Track Options ⇒ Hide Track Construction Lines.
NX - Entry/Exit Tool
Preferences
- Throttles : Keyboard shortcuts can be customized in JMRI throttle preferences screen (second pane, warning, no consistency check is made)
Roster
- Media/Function tab : Added an entry in function buttons icons contextual menu that will open a system file manager located into the JMRI functions icons library (allows easy drag'n drop)
- Media/Function tab : If an existing icon or image file (same name, same size) is aded an icon, it will no longer be duplicated, existing instance will be used
Scripting
- Added script "SensorFromBxpa1AutoRev.py". This script monitors
LocoNet for messages pertaining to BXPA1 autoreverse events and
updates a JMRI sensor to reflect the state. When monitoring a
specific BXPA1 (by BoardID), one JMRI sensor is used. When
monitoring all BXPA1 devices, a separate JMRI sensor is defined
for each reporting BXPA1 device. Further details on script
configuration and some known limitations may be found in the
comments included within the script's code.
Signals
Simple Signal Logic
- The SSL tool has been updated to include the ability to
delete a SSL defintion.
Throttle
- Function Panel now displays all functions buttons at once, with a scrollbar if required
- There are as many function buttons as defined by the used throttle
- Added an entry in function buttons icons contextual menu that will open a system file manager located into the JMRI functions icons library (allows easy drag'n drop
- If an existing icon file (same name, same size) is aded an icon, it will no longer be duplicated, existing instance will be used
- Keyboard shortcuts now available on whole throttle window
- Keyboard shortcuts can be customized in JMRI throttle preferences screen (second pane, warning, no consistency check is made)
- Mousewheel speed control now available on whole throttle window
- One mousewheel scroll unit will increment or decrement throttle speed by one speed setting increment (depends on the throttle speed step setting)
- Use Ctrl key to apply a multiply factor on speed increment/decrement (customizable in JMRI throttle preferences screen)
- Function and Control panels property panes reworked
- Function button with images can be resized in button property panel
- Function button customizations correctly serialized
- Ticks on graphical speed slider
- Pressing Enter in AddressPanel when entering an address will actually request it
- Jythons scripts with direct access to the JMRI UI are now deprecated (AAR105.py, RailDriver.py, USBThrottle.py, xboxThrottle.py). Use USBThrottleAsJynstrument.py script instead, or direct Jynstrument in jython/Jynstruments/ThrottleWindowToolBar/USBThrottle.jyn , specific drivers are proposed for AAR105 and Raildriver, they may have to be adjusted.
Virtual Sound Decoder
- Reduced audio buffer consumption for Diesel sounds.
- Minimum time for a sub-buffer increased from 100 to 150 milliseconds.
- Fixed bug with last accel-limit values less than 100 in config.xml.
Miscellaneous
- Sound files that are larger than 100,000 bytes and therefore are streamed can now be looped.
Hardware Support
- XpressNet, Roco Z21 and DCC4PC: a "busy" answer during a
burst of commands no longer leaves messages and their
replies out of step until JMRI is restarted.
- A serial connection that recovers from a failure (such as a
CANUSB4 or other GridConnect adapter, or a LocoBuffer) is now
set up again when the port reopens at the first attempt; before,
it showed as connected but sent and received nothing. An error
opening the port at the first attempt no longer stops the
retries.
- Connections (NCE, C/MRI, CAN, XpressNet and others): after a
connection recovers from a failure, messages are no longer
sent out of turn or their replies given to the wrong
listener.
Acela CTI
Anyma DMX512
Bachrus Speedo
CBUS
- CBUS Node Manager: dragging the divider between the
node table and the tabs no longer writes all of CBUS's
preferences to disk for every pixel it moves. Where it
is left is saved once it stops.
C/MRI
DCC++ and DCC-EX
DCC4pc
Direct
ESU
Hornby
Internal
IPOCSMR
JMRI Simple Server/JMRI Client
KPF-Zeller
Lenz XPressNet
LocoNet
- New USB connection for the Uhlenbrock "LocoNet-USB and WLAN
Interface" 63860, listed under the "Uhlenbrock" system
manufacturer. See the
Uhlenbrock
help page.
- New WLAN (LocoNet-over-TCP) connection for the Uhlenbrock
"LocoNet-USB and WLAN Interface" 63860, also listed under
the "Uhlenbrock" system manufacturer and preset to the
interface's factory address 192.168.0.111, port 1234.
Maple
Marklin CS2
MERG
MQTT
- An MQTT connection no longer drops at startup when the
broker holds retained messages for the turnouts and
sensors being loaded. A lost connection now logs its
cause.
MRC
NCE
Oak Tree
Powerline
RFID
Raspberry PI
Roco z21/Z21
Secsi
SPROG
SRCP
TAMS
TMCC
Uhlenbrock Intellibox
Zimo
ZTC
New / Updated decoder definitions
AE Model
Arnold
Bachmann
BLI
BNM Hobbies
CT Elektronik
DCC Concepts
Digikeijs (Digirails)
Digitrax
Doehler & Haas
ESU
Hattoms
Hornby
Kuehn
LaisDCC
Lenz
MD Electronics
- New decoder definition for the mXion LLM light bar with
integrated function decoder.
MGP
Mistral Train Models
MTH
MRC
NCE
Norsk Modelljernbane (NJM)
Piko decoders
Public Domain and DIY decoders
QSI
Rampino Elektronic
Rautenhaus
RR-CirKits
SoundTraxx
Tam Valley Depot
TAMS
TCS
Team Digital
Technologistic (train-O-matic)
Trix Modelleisenbahn
Uhlenbrock
Umelec
Viessmann
Wangrow
ZIMO
Miscellaneous
Control Panel Editor
Circuit Builder
Palette
CTC Tool
DecoderPro
Dispatcher
- Dispatcher's Options now offer the CUSTOM layout scale,
with its ratio in a box beside the scale list, for a
layout whose scale isn't in the list. There is one CUSTOM
scale, shared with the Timetable.
- Tools > Train Tracking > Set-up Checks now says when
Dispatcher's Layout Scale, in its Options, is not the
Layout Scale in Preferences > Warrants. Speed profiles
give scale speeds at the Warrants scale, while Dispatcher
works out scale lengths and speeds at its own.
- With automatic allocation and the new option
Prevent
Deadlock, off unless checked, Active Trains can no longer
end up waiting for each other for good, such as two trains
each holding half of a single line. A train is then given
track from one place it can stop to the next, all at once,
and only where every Active Train can still run its Transit.
A train waiting for track gains a step of priority for each
minute it waits. Trains started where they can't all run
their Transits are named in a warning. Unchecked, Sections
are allocated as before.
- With automatic allocation, an automatic train is no longer
held for good by a meet planned after it had already been given
the road beyond its meeting place. Two trains running the same
way round a circuit could be taken for trains coming towards
each other; one was then told to wait in a station for the
other, which needed track the waiting train already held.
Dispatcher now drops such a meet, as it does when a train is
already past the meeting place.
Dispatcher System
Internationalization
Layout Editor
NX - Entry/Exit Tool
LccPro
Logix
LogixNG
Meters and MeterFrames
OperationsPro
Panel Editor
Permissions
Preferences
Resources
Roster
Routes
Scripting
Signals
Signal Systems
Signal Heads
Signal Masts
Signal Groups
Cab Signals
Simple Signal Logic
USS CTC Logic
Switchboard Editor
Throttle
- JMRI no longer freezes when a throttle window shows that a
loco couldn't be acquired (for example a LocoNet slot refused
or timed out) while another throttle request is answered or a
throttle window is opened or closed.
-
Default throttle function labels for NEM declined to Steam, Diesel and Electric (as default throttle layouts, and init button in Media pane)
Timetable
Tracker
Turnouts, Lights, Sensors and other elements
- With a debounce set, a sensor state the hardware reports
twice no longer skips the debounce.
Warrants
Web Access
Web Server
- Web panels: a panel showing a sensor as text no longer
reloads in the browser each time the sensor changes.
- JSON server: signal heads and signal masts now accept
lit and held as true/false, the
same way the server sends them. Over a WebSocket or JSON
server connection, a get for a signal head no longer changes
it; clients need to send a post to change one. The JSON
schemas for reporters, signal heads, signal masts and named
bean properties now match what the server sends and
accepts.
- Web roster: uploading files from the roster page no longer
fails on Linux systems where /tmp is a separate filesystem,
such as Raspberry Pi OS trixie.
- Removed the unused, never-finished web preferences page (
/config) and its templates.
- JSON server: saving a roster entry's function keys no longer
fails with an error. Clearing a roster entry's owner, comment
or shunting function no longer causes errors. The JSON
schemas for roster messages now match what the server sends
and accepts.
Where Used
WiThrottle Server
- The WiThrottle server no longer stops responding to a client
that sends an unrecognized speed step mode or a malformed
number. The bad message is logged and ignored, and an
unrecognized speed step mode is answered with the current mode.
Virtual Sound Decoder
Z21 Server
Miscellaneous
- Some Java methods that have been deprecated since
JMRI 5.13 series have been removed.
- Building JMRI with Maven now requires Maven 3.6.3 or newer.
Ant builds are not affected.
- Tools > Train Tracking > Measurements lists, for each Block
and way through it, how many times trains have crossed it this
session, their average speed, how that compares with their
lead locos' speed profiles, and how often its detector dropped
out under a train. A Block whose occupancy sensor is an
internal sensor is followed but not measured, except with
simulated trains. Nothing uses the measurements yet.
- The first-time start-up wizard finds its list of languages
into a list of its own, so building that page twice at
once can no longer break the sort with "Comparison method
violates its general contract".
- In a profile whose connections are all simulators, a loco
marker dragged onto a Block's track on a Layout Editor
panel, in operating mode, places a
simulated train there: a window asks for its length, how it
is detected, the way it faces and where its front is, filled
in so that OK is usually enough, and offers to tell train
tracking the train is there as well. The Block's menu takes
the train off again. With any connection to a layout, a
dropped marker does what it did before. See the Simulated
Trains page.