Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2025

Bumps roslib from 1.4.1 to 2.0.0.

Release notes

Sourced from roslib's releases.

2.0.0

[!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:

... (truncated)

Changelog

Sourced from roslib's changelog.

Changelog

Unreleased

  • [4bc27d7f2a] - Ban function binding (Ezra Brooks) #1076
  • [98fdad9c1f] - Build(deps-dev): Bump eslint-plugin-jsdoc from 61.1.12 to 61.2.1 in the eslint-and-eslint-plugins group (dependabot[bot]) #1079
  • [e7ecf99aca] - Build(deps-dev): Bump jsdom from 27.1.0 to 27.2.0 (dependabot[bot]) #1080
  • [2234544a1e] - Use enormous union type to make message types stricter (Ezra Brooks) #1075
  • [2011f1dd86] - Build(deps-dev): Bump js-yaml from 4.1.0 to 4.1.1 (dependabot[bot]) #1074
  • [4635acd9b9] - Treat warnings as errors in typedoc, expose missing public APIs to fix (Ezra Brooks) #1073
  • [fd8efabad2] - (actions) bump upload-pages-artifact to v4 (Matthijs van der Burgh) #1070
  • [6084e69a44] - Enable noImplicitAny (Ezra Brooks) #1066
  • [ead196e73d] - Enable noUncheckedIndexAccess (Ezra Brooks) #1065
  • [145901228b] - Fix docs job? (Ezra Brooks) #1064
  • [fb75aa96e3] - Replace SocketAdapter with Transports (Doug Ayers) #1060
  • [3fd36e2918] - Modernize GitHub Pages deploy workflow (Ezra Brooks) #1063
  • [0359b93b26] - Improve PNG decompression implementation (Ezra Brooks) #980
  • [331d20d0a7] - Stop bundling dependencies, UMD file (Ezra Brooks) #1057
  • [66ab9d1c7d] - Finally commit to breaking the module API for 2.0 (Ezra Brooks) #1056
  • [86f7dcd13e] - Run docs on every PR (Ezra Brooks) #1055
  • [73935d0855] - Switch from JSDoc to Typedoc for TS support (Ezra Brooks) #1053
  • [1420df756e] - Simplify TypeScript config (Ezra Brooks) #1054
  • [a70c50131c] - Ingest package.json version into REVISION member (Ezra Brooks) #1050
  • [4a18bc5d9a] - Credit authors in package.json (and add myself) (Ezra Brooks) #1052
  • [bc312c074e] - Remove redundant .npmignore (Ezra Brooks) #1051
  • [030c0b6347] - Enable strictFunctionTypes (Ezra Brooks) #1047
  • [53553d6ae6] - Enable strictPropertyInitialization (Ezra Brooks) #1046
  • [bb4bf64e97] - Enable noImplicitOverride (Ezra Brooks) #1045
  • [e5ee1e4545] - Enable all the ts checks we're now passing (Ezra Brooks) #1044
  • [6a4b87b09f] - Turn off allowJs in typescript (Ezra Brooks) #1043
  • [b7b7ba1f8b] - feat: expose rotation axis info in UrdfJoint (Harshdeep Singh) #985
  • [4677e79bf0] - Enable @​typescript-eslint/consistent-type-imports (Ezra Brooks) #1040
  • [15fe862ca3] - Replace ID counter with UUIDs (Ezra Brooks) #1037
  • [e996525af1] - Remove boolean unions (Ezra Brooks) #1036
  • [d37cf8d145] - Upgrade strictness of typescript eslint (Ezra Brooks) #1033
  • [b9fd7dd06b] - Remove groovyCompatibility flag (Ezra Brooks) #1031
  • [ec1d9595fe] - Tell ESLint to leave CRLF/LF handling to Git (Ezra Brooks) #1032
  • [5ba3c68a6d] - Add GitHub's recommended common .gitattributes (Ezra Brooks) #1029
  • [87b93839f7] - Add ROS 2 integration tests, make existing tests more robust (Ezra Brooks) #1024
  • [a0c4e0b159] - Make tests fail when they log errors (Ezra Brooks) #1027
  • [c4eb50acf5] - Fix types of shorthand constructors (Ezra Brooks) #1028
  • [7c44225406] - Make all failureCallbacks default to console.error (Ezra Brooks) #1026
  • [0071699c33] - Re-enable accidentally-disabled integration tests (Ezra Brooks) #1025
  • [343c121cd3] - Statically type EventEmitter events (Ezra Brooks) #1023
  • [9f569472df] - Enforce member privacy using Private Elements (Ezra Brooks) #1021
  • [26c1107d53] - Port dev config files to TypeScript (Ezra Brooks) #1020
  • [a1c6f38904] - Port TFClient impls to TypeScript (Ezra Brooks) #1009
  • [205e623271] - Port utils to TypeScript (Ezra Brooks) #1019
  • [92740245aa] - Port Ros to TypeScript (Ezra Brooks) #1018
  • [026bf1b2c2] - Put time back to ROS 1 time for now (Ezra Brooks) #1017

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for roslib since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 20, 2025
Bumps [roslib](https://github.com/RobotWebTools/roslibjs) from 1.4.1 to 2.0.0.
- [Release notes](https://github.com/RobotWebTools/roslibjs/releases)
- [Changelog](https://github.com/RobotWebTools/roslibjs/blob/develop/CHANGELOG.md)
- [Commits](RobotWebTools/roslibjs@1.4.1...2.0.0)

---
updated-dependencies:
- dependency-name: roslib
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/roslib-2.0.0 branch from a9e0d29 to 71fd6c1 Compare November 21, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant