Skip to content

Releases: RobotWebTools/roslibjs

2.1.0

03 Mar 17:47
Immutable release. Only release title and notes can be modified.
5b60f74

Choose a tag to compare

What's Changed

  • Build(deps-dev): Bump typescript-eslint from 8.48.0 to 8.49.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1122
  • Build(deps-dev): Bump vite-plugin-checker from 0.11.0 to 0.12.0 by @dependabot[bot] in #1123
  • typo on sendGoal by @ikwilnaarhuisman in #1126
  • Build(deps-dev): Bump jsdom from 27.2.0 to 27.3.0 by @dependabot[bot] in #1124
  • Build(deps-dev): Bump @types/node from 24.10.0 to 25.0.2 by @dependabot[bot] in #1125
  • Add Action.cancelAllGoals() by @ikwilnaarhuisman in #1130
  • Build(deps): Bump fast-png from 7.0.1 to 8.0.0 by @dependabot[bot] in #1134
  • Build(deps-dev): Bump vite from 7.2.0 to 7.3.0 by @dependabot[bot] in #1133
  • Build(deps-dev): Bump typescript-eslint from 8.49.0 to 8.50.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1132
  • Build(deps-dev): Bump jsdom from 27.3.0 to 27.4.0 by @dependabot[bot] in #1135
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 2 updates by @dependabot[bot] in #1136
  • Build(deps): Bump ws from 8.18.3 to 8.19.0 by @dependabot[bot] in #1139
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 2 updates by @dependabot[bot] in #1138
  • Build(deps): Bump bson from 7.0.0 to 7.1.1 by @dependabot[bot] in #1143
  • Build(deps-dev): Bump @types/dockerode from 3.3.45 to 4.0.0 by @dependabot[bot] in #1142
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 2 updates by @dependabot[bot] in #1141
  • chore: set default type parameters to unknown in core classes by @ikwilnaarhuisman in #1144
  • Build(deps): Bump cbor2 from 2.0.1 to 2.2.1 by @dependabot[bot] in #1148
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 2 updates by @dependabot[bot] in #1147
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 3 updates by @dependabot[bot] in #1150
  • Build(deps-dev): Bump @types/node from 25.0.2 to 25.2.0 by @dependabot[bot] in #1151
  • Build(deps-dev): Bump jspm from 4.2.0 to 4.3.0 by @dependabot[bot] in #1155
  • Build(deps): Bump bson from 7.1.1 to 7.2.0 by @dependabot[bot] in #1153
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group across 1 directory with 3 updates by @dependabot[bot] in #1158
  • Build(deps-dev): Bump eslint-plugin-jsdoc from 62.5.0 to 62.7.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1159
  • Build(deps-dev): Bump @types/node from 25.2.0 to 25.3.0 by @dependabot[bot] in #1160
  • Build(deps-dev): Bump jspm from 4.3.0 to 4.4.0 by @dependabot[bot] in #1165
  • Build(deps-dev): Bump globals from 17.3.0 to 17.4.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1164
  • Bump roslib and roslib-examples versions to 2.1.0 by @Copilot in #1167

New Contributors

  • @Copilot made their first contribution in #1167

Full Changelog: 2.0.1...2.1.0

2.0.1

11 Dec 22:06
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • Disable jazzy/kilted CI til next sync by @EzraBrooks in #1109
  • Prepare for monorepo by @EzraBrooks in #1030
  • create npm workspace for monorepo by @EzraBrooks in #1093
  • Move examples to their own package by @EzraBrooks in #1110
  • Build(deps): Bump actions/checkout from 5 to 6 by @dependabot[bot] in #1114
  • Build(deps-dev): Bump the eslint-and-eslint-plugins group with 2 updates by @dependabot[bot] in #1113
  • Re-enable PNG-compressed topic listener test by @bjsowa in #1116
  • Remove now-unnecessary Partial usage by @EzraBrooks in #1115
  • fix action example feedback message (for example_interfaces/Fibonacci type) by @Spir0u in #1117
  • Build(deps-dev): Bump typescript-eslint from 8.47.0 to 8.48.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1118
  • Build(deps-dev): Bump eslint-plugin-jsdoc from 61.4.1 to 61.5.0 in the eslint-and-eslint-plugins group by @dependabot[bot] in #1119
  • chore: export GoalStatus by @Rick-Huisman in #1121

New Contributors

  • @Spir0u made their first contribution in #1117
  • @Rick-Huisman made their first contribution in #1121

Full Changelog: 2.0.0...2.0.1

2.0.0

19 Nov 22:57
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Note

We understand that the removal of some lesser-used APIs may be painful for a subset of users. However, given the small team maintaining the project, we felt it necessary to reduce the scope of the library - at least temporarily - to make it possible to move forward on new features and better underlying implementations.

With that being said, we're excited to ship roslibjs 2.0, years in the making!

Highlights of roslibjs 2.0.0

Additions

  • Asynchronous callback support for Services.
  • Support for ROS 2 Actions.
  • Support for ROS 2 TF.
  • Support for injecting your own transport implementation into the Ros class.
  • Support for new rosbridge APIs, for example param retrieval failure cases.
  • Integration tests for ROS 2 to ensure ongoing support.
  • Greatly improved TypeScript declarations.
  • Internal migration from JavaScript to TypeScript to ensure provided TypeScript type declarations are always up-to-date.
    • No more need for @types/roslib as an extra dependency!
  • ECMAScript Modules (ESM) support to provide better bundling and static analysis support to downstream projects.

Removals

  • Classic "Universal Module Definition (UMD)" bundles of roslibjs. We only support the standardized ECMAScript Modules (ESM).
  • JSDelivr CDN releases, as there are many CDNs that serve NPM packages now, like UNPKG.
  • Removal of Web Worker mode.
  • Removal of non-WebSocket transport implementations (NodeTCP and WebRTC).
    • You can now provide these yourself - or any other socket implementation you can dream up - with the new Transport API!

Import syntax change

  • Due to the change to using standard ECMAScript Modules and optimization of the library for modern bundling practices, if you were previously importing roslib in either of the following ways:
    const ROSLIB = require("roslib");
    // or 
    import ROSLIB from "roslib";
    you will need to adapt your syntax for ESM. The easiest replacement is:
     import * as ROSLIB from "roslib";
    However, we would recommend a best practice of instead importing APIs of roslib directly by name, for instance
    import { Ros } from "roslib";
    to make it easier for your project's tooling to statically analyze and bundle your code.

Future changes

We hope this is just the beginning of a new era for the RobotWebTools JavaScript clients - an easier-to-contribute-to (thanks to type checking, better tests, etc.) set of libraries with more focused scope. Continuing forward, we will continue to emphasize ease of development and use, including some of the following efforts:

  • Integration of ros2djs and ros3djs into this repository as a monorepo to make it easier to work on the RWT frontend libraries together
  • Migration of the examples in roslibjs, ros2djs, and ros3djs into separate executable packages in the monorepo, with end-to-end tests to assure they stay functional and up-to-date
  • Migration of ROS 1 Action support to a separate extension package for roslibjs, to preserve its implementation as the core moves forward with a ROS 2 focus
  • Migration of ROS 1 TF support to a separate extension package for roslibjs, for the same reason (as it depends on ROS 1 Actions)

Acknowledgements

Reviving development of this library wouldn't have been possible without the help of long-time maintainer @MatthijsBurgh, more recent additions to the maintainer team @sea-bass, @bjsowa, and @EzraBrooks - and many contributions from other individuals such as @drewhoener, @douglascayers, @harsh-pal-robotics, @noah-wardlow, and more.

Thanks and kudos to everyone who made this happen!

Full Changelog: 1.4.1...2.0.0

2.0.0-alpha7

18 Nov 19:31
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

2.0.0-alpha7 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha6...2.0.0-alpha7

2.0.0-alpha6

17 Nov 18:44
Immutable release. Only release title and notes can be modified.
d94b000

Choose a tag to compare

2.0.0-alpha6 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha5...2.0.0-alpha6

2.0.0-alpha5

17 Nov 17:57
Immutable release. Only release title and notes can be modified.
ede2397

Choose a tag to compare

2.0.0-alpha5 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha4...2.0.0-alpha5

2.0.0-alpha4

17 Nov 17:39
6060d6a

Choose a tag to compare

2.0.0-alpha4 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha3...2.0.0-alpha4

2.0.0-alpha3

17 Nov 17:24
de1979b

Choose a tag to compare

2.0.0-alpha3 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha2...2.0.0-alpha3

2.0.0-alpha2

17 Nov 17:13
e4753ae

Choose a tag to compare

2.0.0-alpha2 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha1...2.0.0-alpha2

2.0.0-alpha1

17 Nov 16:58
52c8130

Choose a tag to compare

2.0.0-alpha1 Pre-release
Pre-release

What's Changed

Read more