Releases: cjlawson02/ntcore-ts-client
3.1.1
3.1.0
Changes since 0.2.2:
Breaking Changes
-
BREAKING CHANGE: removed NetworkTables.createInstance*()
- Please use NetworkTables.getInstanceByTeam() and NetworkTables.getInstanceByURI()
-
BREAKING CHANGE: removed NetworkTableTypeInfos
- Fixed typo: now called
NetworkTablesTypeInfos
(NetworkTables plural! With S!)
- Fixed typo: now called
-
BREAKING CHANGE: Remove immediateNotify from subscribe
- This complicated prefix topics and was not a very valuable feature
- Workaround: you can manually call the subscription's callback yourself after subscribing
-
BREAKING CHANGE: Drop active support for v4.0
- The API now recommends NT v4.1 to function
-
BRAKING CHANGE: publish and setProperties are now asynchronous
- Please await these calls to know when the changes take effect
- After awaiting publish, it is safe to set new values to the topic
- Please await these calls to know when the changes take effect
Changes
-
Fix 2025 Robot issues
- Fixes publisher and subscriber ID generations to start counting at 0. Avoids integer overflows.
- Remove RTT websocket that is unnecessary since the client can respond to PING and PONG messages
-
Fix timeout for publishing pre-connection to wait for robot connection
-
Add prefix topic support
- You can now subscribe to multiple topics with a single subscription
- This is done by creating a topic with a prefix, and then subscribing to that topic
- For example, if you have topics
/MyTable/Accelerometer/X
,/MyTable/Accelerometer/Y
, and/MyTable/Accelerometer/Z
, you can create a prefix topic/MyTable/Accelerometer/
and subscribe to that to get notifications for all three subtopics
-
Add support for v4.1
- No support added yet for cached messages
-
Updated dependencies
Full Changelog: 0.2.2...3.1.0
0.2.2
- Mostly version bumps
- Type info checking when creating a "new" topic when there is an existing instance
What's Changed
- build(deps-dev): bump postcss from 8.4.21 to 8.4.31 by @dependabot in #86
- build(deps): bump zod from 3.21.4 to 3.22.3 by @dependabot in #88
- build(deps-dev): bump tough-cookie from 4.1.2 to 4.1.3 by @dependabot in #87
- upgrade dependencies by @cjlawson02 in #91
- Fix CI by @cjlawson02 in #113
- build(deps-dev): bump prettier from 2.8.8 to 3.1.0 by @dependabot in #110
- v0.2.2 by @cjlawson02 in #114
Full Changelog: 0.2.1...0.2.2
0.2.1
What's Changed
- feat: release v0.2.1 by @Chris2fourlaw in #44
- chore: update deps/nx
- chore: update changelog and bump version
Full Changelog: 0.2.0...0.2.1
0.2.0
Note from the author
Hey everyone! Thank you for all the support, feature requests, and notifying me of bugs. Based on the usage and feedback, I've decided to mark this release as production.
As always, feel free to open an issue or PR for future bug finds or feature requests.
Thanks,
Chris Lawson
What's Changed
Breaking Changes
- BREAKING CHANGE: deprecated NetworkTables.createInstance*()
- Please use NetworkTables.getInstanceByTeam() and NetworkTables.getInstanceByURI()
- BREAKING CHANGE: removed NetworkTables.getInstance() and NetworkTables.getServerURL()
- BREAKING CHANGE: deprecated NetworkTableTypeInfos
- Fixed typo: now called
NetworkTablesTypeInfos
(NetworkTables plural! With S!)
- Fixed typo: now called
New Features
- feat: allow multiple connections
Bug fixes
- fix: rename NetworkTableTypeInfos to NetworkTablesTypeInfos
- fix: connect to the correct mDNS address
- We were trying to connect to
roborio-frc-<team>.local
instead ofroborio-<team>-frc.local
- We were trying to connect to
- fix: bug with creating instance on same URI w/ different port
- fix: queue value to published topic w/o server connection
Misc commits
- chore: bump version
- chore: update deps
- style: prepend nt client id with
ntcore-ts-
- chore: update deps
- chore: bump version to 0.2.0
Non-library changes
- Improve docs by @Pokesi in #15
- fix(ci): temporarily disable linting through CI by @Chris2fourlaw in #16
- chore: upgrade tslib and dev deps by @Chris2fourlaw in #17
- feat(dev): add commitlint for conventional commits enforcement by @Chris2fourlaw in #18
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 by @dependabot in #20
- build(deps-dev): bump @typescript-eslint/parser from 5.48.2 to 5.49.0 by @dependabot in #19
- build(deps-dev): bump eslint-plugin-jsdoc from 39.6.7 to 40.0.0 by @dependabot in #27
- build(deps): bump tslib from 2.4.1 to 2.5.0 by @dependabot in #25
- build(deps-dev): bump jest and @types/jest by @dependabot in #28
New Contributors
- @Pokesi made their first contribution in #15
- @dependabot made their first contribution in #20
Full Changelog: 0.1.0-beta.0...0.2.0
0.1.0-beta.0
NodeJS is now supported! 🎉🎉🎉
What's Changed
- fix: CI error on dependabot.yml lint by @Chris2fourlaw in #6
- feat: Add Node support, upgrade packages by @Chris2fourlaw in #8
- fix: build eslint-config before lint by @Chris2fourlaw in #9
Known Issues
- CI build still failing on a lint issue #10
Full Changelog: 0.0.1-beta.5...0.1.0-beta.0
0.0.1-beta.5
- Breaking changes:
- renamed NetworkTableTypes to NetworkTablesTypes
Full Changelog: 0.0.1-beta.4...0.0.1-beta.5
0.0.1-beta.4
- Note: beta.1-beta.3 were tests of publishing to NPM and small fixes
- Fixed dependency issue
- Added keywords
- Breaking changes:
- renamed Topic to NetworkTablesTopic
- renamed NetworkTableTypeInfo to NetworkTablesTypeInfo
- Moved to ES5/CommonJS compiling
Full Changelog: 0.0.1-beta.0...0.0.1-beta.4