Skip to content

Commit 895ea0a

Browse files
authored
chore: Release 2025-01-23 (#2696)
# ses v1.11.0 - Adds support for dynamic `import` in conjunction with an update to `@endo/module-source`. - Specifying the long-discontinued `mathTaming` or `dateTaming` options logs a warning. Incubating: Please do not rely on these features as they are under development and subject to breaking changes that will not be signaled by semver. - Adds support for an XS-specific variant of the SES shim that is triggered with the `xs` package export condition. This version of SES preserves all the features of `Compartment` provided uniquely by the SES shim, but with the `__native__` constructor option, loses support for importing precompiled module records and gains support for native `ModuleSource`. # @endo/module-source v1.2.0 - Supports dynamic `import` within a `ModuleSource` in conjunction with a related change in `ses`. For example, `await import(specifier)` can now call through to the surrounding compartment's `importHook` to load and evaluate further modules. - Provides an XS-specific variant of `@endo/module-source` that adapts the native `ModuleSource` instead of entraining Babel. # @endo/compartment-mapper v1.5.0 - `mapNodeModules` and all functions that use it now tolerate the absence of expected packages. These packages are now omitted from the generated package skeleton map. So, loading a physically missing module now occurs during the load phase instead of the mapping phase. - Adds a `strict` option to all functions that `mapNodeModules` to restore old behavior, which produces an error early if, for example, a non-optional peer dependency is missing. Peer dependencies are strictly required unless `peerDependenciesMeta` has an object with a truthy `optional` entry. Correct interpretation of `peerDependencies` is not distributed evenly, so this behavior is no longer the default. Incubating: Please do not rely on these features as they are under development and subject to breaking changes that will not be signaled by semver. - The module `@endo/compartment-mapper/import-archive-parsers.js` does not support modules in archives in their original ESM (`mjs`) or CommonJS (`cjs`) formats because they entrain Babel and a full JavaScript lexer that are not suitable for use in all environments, specifically XS. This version introduces an elective `@endo/compartment-mapper/import-archive-all-parsers.js` that has all of the precompiled module parsers (`pre-cjs-json` and `pre-mjs-json`) that Endo's bundler currently produces by default and additionally parsers for original sources (`mjs`, `cjs`). Also, provided the `xs` package condition, `@endo/compartment-mapper/import-archive-parsers.js` now falls through to the native `ModuleSource` and safely includes `mjs` and `cjs` without entraining Babel, but is only supported in conjunction with the `__native__` option for `Compartment`, `importArchive`, `parseArchive`, and `importBundle`. With the `node` package condition (present by default when running ESM on `node`), `@endo/compartment-mapper/import-archive-parsers.js` also now includes `mjs` and `cjs` by entraining Babel, which performs adequately on that platform. - Adds a `__native__: true` option to all paths to import, that indicates that the application will fall through to the native implementation of Compartment, currently only available on XS, which lacks support for precompiled module sources (as exist in many archived applications, particularly Agoric smart contract bundles) and instead supports loading modules from original sources (which is not possible at runtime on XS).
2 parents ffeb98d + e0683e0 commit 895ea0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+330
-36
lines changed

packages/bundle-source/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
### [3.5.1](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)
7+
8+
**Note:** Version bump only for package @endo/bundle-source
9+
10+
11+
12+
13+
614
## [3.5.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)
715

816

packages/bundle-source/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@endo/bundle-source",
3-
"version": "3.5.0",
3+
"version": "3.5.1",
44
"description": "Create source bundles from ES Modules",
55
"type": "module",
66
"main": "src/index.js",

packages/captp/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
### [4.4.4](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)
7+
8+
**Note:** Version bump only for package @endo/captp
9+
10+
11+
12+
13+
614
### [4.4.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)
715

816
**Note:** Version bump only for package @endo/captp

packages/captp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@endo/captp",
3-
"version": "4.4.3",
3+
"version": "4.4.4",
44
"description": "Capability Transfer Protocol for distributed objects",
55
"type": "module",
66
"keywords": [

packages/check-bundle/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
### [1.0.13](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)
7+
8+
**Note:** Version bump only for package @endo/check-bundle
9+
10+
11+
12+
13+
614
### [1.0.12](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)
715

816
**Note:** Version bump only for package @endo/check-bundle

packages/check-bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@endo/check-bundle",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "Checks the integrity of an Endo bundle.",
55
"keywords": [
66
"endo",

packages/cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
### [2.3.7](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)
7+
8+
**Note:** Version bump only for package @endo/cli
9+
10+
11+
12+
13+
614
### [2.3.6](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)
715

816
**Note:** Version bump only for package @endo/cli

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@endo/cli",
3-
"version": "2.3.6",
3+
"version": "2.3.7",
44
"private": true,
55
"description": "Endo command line interface",
66
"keywords": [],

packages/common/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
### [1.2.9](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)
7+
8+
**Note:** Version bump only for package @endo/common
9+
10+
11+
12+
13+
614
### [1.2.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)
715

816
**Note:** Version bump only for package @endo/common

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@endo/common",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"description": "common low level utilities",
55
"keywords": [],
66
"author": "Endo contributors",

0 commit comments

Comments
 (0)