Skip to content

Commit

Permalink
chore: Release 2025-01-23 (#2696)
Browse files Browse the repository at this point in the history
# 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).
  • Loading branch information
kriskowal authored Jan 24, 2025
2 parents ffeb98d + e0683e0 commit 895ea0a
Show file tree
Hide file tree
Showing 69 changed files with 330 additions and 36 deletions.
8 changes: 8 additions & 0 deletions packages/bundle-source/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [3.5.1](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





## [3.5.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)


Expand Down
2 changes: 1 addition & 1 deletion packages/bundle-source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/bundle-source",
"version": "3.5.0",
"version": "3.5.1",
"description": "Create source bundles from ES Modules",
"type": "module",
"main": "src/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/captp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [4.4.4](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





### [4.4.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/captp
Expand Down
2 changes: 1 addition & 1 deletion packages/captp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/captp",
"version": "4.4.3",
"version": "4.4.4",
"description": "Capability Transfer Protocol for distributed objects",
"type": "module",
"keywords": [
Expand Down
8 changes: 8 additions & 0 deletions packages/check-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.0.13](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





### [1.0.12](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/check-bundle
Expand Down
2 changes: 1 addition & 1 deletion packages/check-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/check-bundle",
"version": "1.0.12",
"version": "1.0.13",
"description": "Checks the integrity of an Endo bundle.",
"keywords": [
"endo",
Expand Down
8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [2.3.7](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





### [2.3.6](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/cli
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/cli",
"version": "2.3.6",
"version": "2.3.7",
"private": true,
"description": "Endo command line interface",
"keywords": [],
Expand Down
8 changes: 8 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.2.9](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





### [1.2.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/common
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/common",
"version": "1.2.8",
"version": "1.2.9",
"description": "common low level utilities",
"keywords": [],
"author": "Endo contributors",
Expand Down
19 changes: 19 additions & 0 deletions packages/compartment-mapper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.5.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)


### Features

* **compartment-mapper:** Export all parsers ([c5f5d43](https://github.com/endojs/endo/commit/c5f5d433b1df60ef0f74b1a5458675a4e37806e0))
* **compartment-mapper:** more renames returned from captureFromMap / makeArchiveCompartmentMap ([630592d](https://github.com/endojs/endo/commit/630592d38824316479255453cf49a646a9ff0e75))
* **compartment-mapper:** Relax package discovery ([ab885a2](https://github.com/endojs/endo/commit/ab885a226eb05eb715df9da05c63c11731abf494))
* **compartment-mapper:** Thread native flag to opt-in for native XS runtime modules ([aa1e77f](https://github.com/endojs/endo/commit/aa1e77f9af62dca40a357e92fd869ecdb8a35379))


### Bug Fixes

* **compartment-mapper:** Development condition only implies devDependencies for entry package ([b7d7b23](https://github.com/endojs/endo/commit/b7d7b2388308e23217dc7d126ba081c465cf4b1f))
* **compartment-mapper:** Fix path for language for extension test ([99a1cb5](https://github.com/endojs/endo/commit/99a1cb5e960fa62c2dab49ff0724162710730330))
* **compartment-mapper:** Qualify dynamic import test failure cases ([f470696](https://github.com/endojs/endo/commit/f4706960afef22b98780ca4cbffe6ccf82ed9b1b))



## [1.4.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)


Expand Down
2 changes: 1 addition & 1 deletion packages/compartment-mapper/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
User-visible changes to `@endo/compartment-mapper`:

# Next release
# v1.5.0 (2025-01-23)

- `mapNodeModules` and all functions that use it now tolerate the absence of
expected packages.
Expand Down
2 changes: 1 addition & 1 deletion packages/compartment-mapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/compartment-mapper",
"version": "1.4.0",
"version": "1.5.0",
"description": "The compartment mapper assembles Node applications in a sandbox",
"keywords": [
"node",
Expand Down
8 changes: 8 additions & 0 deletions packages/daemon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [2.4.7](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/daemon





### [2.4.6](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/daemon
Expand Down
2 changes: 1 addition & 1 deletion packages/daemon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/daemon",
"version": "2.4.6",
"version": "2.4.7",
"private": true,
"description": "Endo daemon",
"keywords": [
Expand Down
8 changes: 8 additions & 0 deletions packages/errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.2.9](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/errors





### [1.2.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/errors
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/errors",
"version": "1.2.8",
"version": "1.2.9",
"description": "Package exports of the `assert` global",
"keywords": [],
"author": "Endo contributors",
Expand Down
9 changes: 9 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.3.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)


### Features

* **ses:** Add XS variant of shim ([f6c8456](https://github.com/endojs/endo/commit/f6c84566bb6a698709dc3474726000f07b94f3db))



### [2.2.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/eslint-plugin
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/eslint-plugin",
"version": "2.2.3",
"version": "2.3.0",
"description": "ESLint plugin for using Endo",
"keywords": [
"eslint",
Expand Down
8 changes: 8 additions & 0 deletions packages/evasive-transform/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.3.4](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/evasive-transform





### [1.3.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/evasive-transform
Expand Down
2 changes: 1 addition & 1 deletion packages/evasive-transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/evasive-transform",
"version": "1.3.3",
"version": "1.3.4",
"description": "Source transforms to evade SES censorship",
"keywords": [
"ses",
Expand Down
9 changes: 9 additions & 0 deletions packages/eventual-send/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.3.0](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)


### Features

* EReturn type ([5aefe10](https://github.com/endojs/endo/commit/5aefe1032be33c70c097663a86f240c857dcd2a1))



### [1.2.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/eventual-send
Expand Down
2 changes: 1 addition & 1 deletion packages/eventual-send/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/eventual-send",
"version": "1.2.8",
"version": "1.3.0",
"description": "Extend a Promise class to implement the eventual-send API",
"type": "module",
"main": "src/no-shim.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/exo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.5.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/exo





### [1.5.7](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/exo
Expand Down
2 changes: 1 addition & 1 deletion packages/exo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/exo",
"version": "1.5.7",
"version": "1.5.8",
"description": "exo: remotable objects protected by interface guards.",
"keywords": [],
"author": "Endo contributors",
Expand Down
8 changes: 8 additions & 0 deletions packages/far/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.1.10](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/far





### [1.1.9](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/far
Expand Down
2 changes: 1 addition & 1 deletion packages/far/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/far",
"version": "1.1.9",
"version": "1.1.10",
"description": "Helpers for distributed objects.",
"type": "module",
"main": "src/index.js",
Expand Down
9 changes: 9 additions & 0 deletions packages/immutable-arraybuffer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [0.2.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)


### Bug Fixes

* **immutable-arraybuffer:** update to recent spec ([#2688](https://github.com/endojs/endo/issues/2688)) ([daa1e2b](https://github.com/endojs/endo/commit/daa1e2b59894600fea1f1669fa84d14ce307789e))



### [0.2.2](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/immutable-arraybuffer
Expand Down
2 changes: 1 addition & 1 deletion packages/immutable-arraybuffer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/immutable-arraybuffer",
"version": "0.2.2",
"version": "0.2.3",
"private": true,
"description": "Immutable ArrayBuffer",
"keywords": [],
Expand Down
8 changes: 8 additions & 0 deletions packages/import-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.3.3](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

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





### [1.3.2](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/import-bundle
Expand Down
2 changes: 1 addition & 1 deletion packages/import-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/import-bundle",
"version": "1.3.2",
"version": "1.3.3",
"description": "load modules created by @endo/bundle-source",
"keywords": [],
"author": "Endo contributors",
Expand Down
8 changes: 8 additions & 0 deletions packages/init/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [1.1.8](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2025-01-24)

**Note:** Version bump only for package @endo/init





### [1.1.7](https://github.com/endojs/endo/compare/@endo/[email protected]...@endo/[email protected]) (2024-11-13)

**Note:** Version bump only for package @endo/init
Expand Down
2 changes: 1 addition & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@endo/init",
"version": "1.1.7",
"version": "1.1.8",
"description": "Prepare Endo environment on import",
"type": "module",
"main": "index.js",
Expand Down
Loading

0 comments on commit 895ea0a

Please sign in to comment.