-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Release 2025-01-23 #2696
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems mechanical enough, even though the mechanics provide some slightly surprising results
|
||
### Features | ||
|
||
* EReturn type ([5aefe10](https://github.com/endojs/endo/commit/5aefe1032be33c70c097663a86f240c857dcd2a1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surprised that we labelled a type change with a feat
causing a new minor version
|
||
### Features | ||
|
||
* **ses:** Add XS variant of shim ([f6c8456](https://github.com/endojs/endo/commit/f6c84566bb6a698709dc3474726000f07b94f3db)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That PR probably shouldn't have been squashed to avoid a minor version bump of eslint-plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, I simply didn’t have the foresight to separate the eslint change into its own conventional commit. I’ll have to watch for that in the future.
- @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - [email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected] - @endo/[email protected]
21ecf78
to
e0683e0
Compare
ses v1.11.0
Adds support for dynamic
import
in conjunction with an update to@endo/module-source
.Specifying the long-discontinued
mathTaming
ordateTaming
options logs awarning.
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.
with the
xs
package export condition.This version of SES preserves all the features of
Compartment
provideduniquely 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
import
within aModuleSource
in conjunction witha related change in
ses
.For example,
await import(specifier)
can now call through to thesurrounding compartment's
importHook
to load and evaluate further modules.@endo/module-source
that adapts thenative
ModuleSource
instead of entraining Babel.@endo/compartment-mapper v1.5.0
mapNodeModules
and all functions that use it now tolerate the absence ofexpected 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.
strict
option to all functions thatmapNodeModules
to restore oldbehavior, which produces an error early if, for example, a non-optional
peer dependency is missing.
Peer dependencies are strictly required unless
peerDependenciesMeta
has anobject with a truthy
optional
entry.Correct interpretation of
peerDependencies
is not distributed evenly, sothis 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.
@endo/compartment-mapper/import-archive-parsers.js
does notsupport 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 theprecompiled module parsers (
pre-cjs-json
andpre-mjs-json
) that Endo'sbundler 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 thenative
ModuleSource
and safely includesmjs
andcjs
without entrainingBabel, but is only supported in conjunction with the
__native__
optionfor
Compartment
,importArchive
,parseArchive
, andimportBundle
.With the
node
package condition (present by default when running ESM onnode
),@endo/compartment-mapper/import-archive-parsers.js
also nowincludes
mjs
andcjs
by entraining Babel, which performs adequately onthat platform.
__native__: true
option to all paths to import, that indicates thatthe 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).