Skip to content

Releases: simbroadcasts/node-insim

v1.0.1

14 Apr 19:41
Compare
Choose a tag to compare

Fixed

  • Fixed LFS to Unicode string conversion of strings containing ^ characters
  • Fixed Unicode to LFS string conversion of special characters by using escape sequences

v1.0.0

14 Apr 15:25
Compare
Choose a tag to compare

Added

  • String properties of outgoing packets are automatically converted from Unicode to LFS encoding using unicode-to-lfs
  • Export InSimEvents and InSimPacketEvents types

Fixed

  • Clear TCP connection on disonnect

v0.10.2

08 Apr 14:39
Compare
Choose a tag to compare

Added

Changed

  • OutSim examples: Do not log OutSim data if it is not of the correct packet instance
  • Clean package.json before publishing the NPM package
  • Do not emit TypeScript declarations marked as @internal

Removed

  • Removed default export of NodeInSim

Fixed

  • Compile CJS, ESM and types into separate folders in dist/ & share types between both outputs

v0.10.1

08 Apr 00:14
Compare
Choose a tag to compare

Fixed

  • Improved types compatibility with node10 and node16 TypeScript module resolution when importing the library as CommonJS or ES Module

v0.10.0

07 Apr 10:02
Compare
Choose a tag to compare

Added

  • OutSim support - OutSimPack and OutSimPack2 packets, improved unpacking of Struct by @xspeedasx in #16
  • Added legacy module, types and typesVersions properties in package.json for better compatibility

Changed

  • Upgraded parse-lfs-message to v1.2.2 (fixes parsing multiple codepages in one string)

Removed

  • Removed internal packet types from public exports of node-insim/packets (PacketData, PacketDataWithOptionalReqI, PacketDataWithRequiredReqI, ReadonlyPropNames, Receivable, Sendable, StructData)

New Contributors

Full Changelog: v0.9.1...v0.10.0

v0.9.1

02 Apr 23:20
Compare
Choose a tag to compare

Fixed

  • DashLights enum values

v0.9.0

02 Apr 22:15
Compare
Choose a tag to compare

First public release!

Supported protocols

  • InSim
  • InSim Relay
  • OutGauge

Added

  • A logo
  • Example applications in examples/ folder
  • _raw property in Struct to include unconverted LFS strings
  • Unit tests for InSim Relay packets

Changed

  • Upgraded parse-lfs-message dependency to v1.2.1 with full TypeScript support
  • Enabled CI pipeline
  • Do not allow setting InSimVer in InSim.connect

Fixed

  • Always clone buffer contents after slicing

v0.0.2

02 Apr 22:06
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
  • Fix InSimRelayError enum numbers (start with 1)
  • Replace export * with explicit exports of all members (base, enums, structs, types)
  • Remove unused type KeyOfType
  • Add a helper script for version bumping

v0.0.1

02 Apr 22:03
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

First beta release

  • InSim
  • InSim Relay