Releases: simbroadcasts/node-insim
Releases · simbroadcasts/node-insim
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2023-12-18)
InSim updates for LFS 0.7E (#28) (496ac85), closes #28
Features
- License property added to
IS_NCI
packet IS_PLH
packet which sets handicaps for individual playersTINY_PLH
subtype ofIS_TINY
to requestIS_PLH
listing player handicapsSMALL_LCL
subtype ofIS_SMALL
- full control of lights including fog and extra lights- New example app using OutGauge with InSim buttons
- New dashboard lights in
DashLights
enum ofOutGaugePack
Deprecated
- Deprecated
LocalCarSwitches
enum values:SIGNALS_OFF
- useSMALL_LCL
withLocalCarLights.SIGNALS_OFF
UValSIGNALS_LEFT
- useSMALL_LCL
withLocalCarLights.SIGNALS_LEFT
UValSIGNALS_RIGHT
- useSMALL_LCL
withLocalCarLights.SIGNALS_RIGHT
UValSIGNALS_HAZARD
- useSMALL_LCL
withLocalCarLights.SIGNALS_HAZARD
UValHEADLIGHTS_OFF
- useSMALL_LCL
withLocalCarLights.LIGHTS_OFF
UValHEADLIGHTS_ON
- useSMALL_LCL
withLocalCarLights.LIGHTS_SIDE
,LocalCarLights.LIGHTS_LOW
orLocalCarLights.LIGHTS_HIGH
UVal
BREAKING CHANGES
- Removed
LocalCarSwitches
enum values:LCS_SET_SIGNALS
,LCS_SET_FLASH
,
LCS_SET_HEADLIGHTS
,LCS_SET_HORN
,LCS_SET_SIREN
- Renamed
LCS_SIGNALS_OFF
toSIGNALS_OFF
- Renamed
LCS_SIGNALS_LEFT
toSIGNALS_LEFT
- Renamed
LCS_SIGNALS_RIGHT
toSIGNALS_RIGHT
- Renamed
LCS_SIGNALS_HAZARD
toSIGNALS_HAZARD
- Renamed
LCS_FLASH_OFF
toFLASH_OFF
- Renamed
LCS_HEADLIGHTS_OFF
toHEADLIGHTS_OFF
- Renamed
LCS_HEADLIGHTS_ON
toHORN_OFF
- Renamed
LCS_HORN_1
toHORN_1
- Renamed
LCS_HORN_2
toHORN_2
- Renamed
LCS_HORN_3
toHORN_3
- Renamed
LCS_HORN_4
toHORN_4
- Renamed
LCS_HORN_5
toHORN_5
- Renamed
LCS_SIREN_OFF
toSIREN_OFF
- Renamed
LCS_SIREN_FAST
toSIREN_FAST
- Renamed
LCS_SIREN_SLOW
toSIREN_SLOW
v3.1.0
v3.0.0
v2.0.0
2.0.0 (2023-04-30)
Bug Fixes
- insim: always set
InSimVer
toINSIM_VERSION
when initializing connection (ef6e009) - insim: do not connect to the same host more than once (b407cdc)
Features
- insim: add an optional
id
argument inInSim
constructor (7d932da) - insim: generate a random UUID if not provided from constructor (80dfa92)
- insim: pass the InSim instance in InSim "connect" and "disconnect" event callbacks (4a488c0)
BREAKING CHANGES
- insim: Removed
InSimVer
property from InSim connection options
The InSimVer
property is set automatically to the latest InSim version that node InSim supports. It is currently set to version 9.