Skip to content

chore(deps): bump sails-js from 0.5.1 to 1.0.0 in the sails group across 1 directory#2498

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sails-a205d60e3c
Open

chore(deps): bump sails-js from 0.5.1 to 1.0.0 in the sails group across 1 directory#2498
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sails-a205d60e3c

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps the sails group with 1 update in the / directory: sails-js.

Updates sails-js from 0.5.1 to 1.0.0

Release notes

Sourced from sails-js's releases.

Sails-RS v1.0.0

BREAKING CHANGE v1.0.0

  • IDL V2 Introduction: Introduced a new version of the Interface Definition Language (IDL V2) along with its specification, Abstract Syntax Tree (AST), parser, and code generator. This new version provides enhanced capabilities and a more structured approach to defining interfaces.
  • Sails Header for Message Routing: Implemented a standardized Sails Header (v1) for asynchronous messages. This header facilitates deterministic routing, improves off-chain decodability, and enables unique service fingerprinting without altering the underlying Gear message layout. Detailed specifications for the header, interface IDs, and ReflectHash are provided.
  • Client Generation Logic Refinement: Updated the client generation process to align with IDL V2 and the new Sails Header. This includes changes to how service methods and events are identified and encoded/decoded, leveraging new ROUTE_ID and INTERFACE_ID constants for improved clarity and efficiency.
  • Sails Type Registry: Replace scale-info with sails-type-registry.
  • Comprehensive Documentation: Added new documentation files (idl-v2-spex.md, interface-id-spec.md, reflect-hash-spec.md, sails-header-v1-spec.md) to thoroughly explain the new specifications and their implications for developers.

What's Changed

New Contributors

Full Changelog: gear-tech/sails@rs/v0.10.3...rs/v1.0.0

Sails-JS v1.0.0

What's Changed

Full Changelog: gear-tech/sails@js/v1.0.0-beta.2...js/v1.0.0

Sails-RS v1.0.0-beta.5

BREAKING CHANGE v1.0.0

  • IDL V2 Introduction: Introduced a new version of the Interface Definition Language (IDL V2) along with its specification, Abstract Syntax Tree (AST), parser, and code generator. This new version provides enhanced capabilities and a more structured approach to defining interfaces.
  • Sails Header for Message Routing: Implemented a standardized Sails Header (v1) for asynchronous messages. This header facilitates deterministic routing, improves off-chain decodability, and enables unique service fingerprinting without altering the underlying Gear message layout. Detailed specifications for the header, interface IDs, and ReflectHash are provided.

... (truncated)

Changelog

Sourced from sails-js's changelog.

CHANGELOG

Unreleased

  • Fixed: every decode entry point on Sails (v1) and SailsProgram (v2) now validates the reply prefix. In v2 decodeResult now calls _assertMatchingHeader like the other decode methods. In v1 — where decodePayload (function and constructor), decodeResult, and event.decode all previously skipped the prefix check — each now verifies the (service, function) / (service, event) / constructor name prefix against the method's identity, and surfaces a single consistent Invalid prefix for … error on both mismatched and truncated bytes.
  • Documented the sails-js/types, sails-js/parser, and sails-js/util subpath exports in the README, which re-export types from the internal sails-js-types, sails-js-parser-idl-v2, and sails-js-util packages.
  • Added: SailsProgram.programTypes and SailsService.types — public ReadonlyMap<string, Type> accessors for the user types declared in the v2 IDL's program {…} block and in each service's own types {…} block. SailsService.types is declared-only; for the merged extends-chain scope use program.resolveInService or walk service.extends. Both maps are empty when the corresponding IDL block is absent. Treat as immutable: the type blocks .set() at compile time, runtime is not enforced.
  • Added: top-level sails-js entry now re-exports the v2 IDL AST typings (Type, TypeDecl, ITypeStruct, ITypeEnum, ITypeAlias, IIdlDoc, IServiceUnit, etc.) so consumers can import type { Type } from 'sails-js' without reaching for the sails-js/types subpath. The re-export resolves to the bundled lib/types.d.ts (which already inlines sails-js-types via the rollup dts step), so consumers do not need sails-js-types — a private workspace package — installed.
Commits
  • 66d7bed release(js): v1.0.0 (#1369)
  • 5df34ec release: sync Sails-RS v1.0.0 to master (#1368)
  • 33e589a fix(js): Unescaped IDL docs allow TypeScript code injection (#1367)
  • 9077b7d feat: Add header-first Sails decode APIs (#1352)
  • 8f7e558 feat(js): public user-type accessors on SailsProgram and SailsService (#1343)
  • c590073 fix(idl-v2): cycle/duplicate guards and FFI hardening (#1345)
  • ee8c558 feat(js): service-scoped type resolution + generic substitution on TypeResolv...
  • 2a227ac fix(js): validate reply prefix in decodeResult (#1315)
  • 9a79c95 fix(js): validate route_idx in v2 header check; uniform events[x].type (#1340)
  • e939a9f chore: Clarify service-local IDL type scopes (#1341)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for sails-js since your current version.


@dependabot dependabot Bot added the D4-dependencies Package dependencies label May 25, 2026
@dependabot dependabot Bot changed the title chore(deps): bump sails-js from 0.5.1 to 1.0.0 in the sails group chore(deps): bump sails-js from 0.5.1 to 1.0.0 in the sails group across 1 directory May 26, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/sails-a205d60e3c branch from 65c6b03 to 339b13d Compare May 26, 2026 15:49
Bumps the sails group with 1 update in the / directory: [sails-js](https://github.com/gear-tech/sails/tree/HEAD/js).


Updates `sails-js` from 0.5.1 to 1.0.0
- [Release notes](https://github.com/gear-tech/sails/releases)
- [Changelog](https://github.com/gear-tech/sails/blob/master/js/CHANGELOG.md)
- [Commits](https://github.com/gear-tech/sails/commits/js/v1.0.0/js)

---
updated-dependencies:
- dependency-name: sails-js
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: sails
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/sails-a205d60e3c branch from 339b13d to b9314e2 Compare May 28, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D4-dependencies Package dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants