-
Notifications
You must be signed in to change notification settings - Fork 80
chore: Release 2025-03-19 #2744
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
Conversation
mhofman
left a comment
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.
The News for SES needs some tweaking. Besides that, looks mechanical.
packages/ses/NEWS.md
Outdated
| - The value of expressions like `typeof unlikelyGlobal` is now `undefined` | ||
| instead of producing a `ReferenceError` because it proves impossible to | ||
| do so without revealing what properties exist on the host `globalThis` | ||
| to compartmentalized code. |
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.
typeof unlikelyGlobal was already undefined before.
it's more about the case try { unlikelyGlobal; } catch(e) { console.error(e); } that would no longer print an error.
|
We may have an integration failure with agoric-sdk due to unsupported syntax by esm. And a few more failures in https://github.com/Agoric/agoric-sdk/actions/runs/13962823338 I suspect some have to do with the bundle format change |
61c51a6 to
a164a18
Compare
mhofman
left a comment
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.
lint is unhappy
| break; | ||
| } else { | ||
| outResults.push(element); | ||
| if (outResults) outResults.push(element); |
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.
Unnecessary change
| break; | ||
| } else { | ||
| outResults.push([element, num]); | ||
| if (outResults) outResults.push([element, num]); |
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.
Unnecessary change
c4a113c to
9af1ab2
Compare
- @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]
9af1ab2 to
9b67848
Compare
sesv1.12.0The
evalTaming:option values are renamed:'safeEval','unsafeEval', and'noEval''safe-eval','unsafe-eval', and'no-eval'in order to follow the convention that lockdown option values use kebob-case
rather than camelCase. To avoid breaking old programs during the transition,
the old names are deprecated, but continue to work for now.
Evaluating a non-lexical name that is also absent on the global object of a
compartment no longer throws a
ReferenceErrorand instead producesundefinedbecause it proves impossible to do so without revealing whatproperties exist on the host
globalThisto compartmentalized code with ashim.
This is a divergence from the expected behavior of a native Hardened
JavaScript implementation, like XS.
@endo/patternsv1.5.0New pattern:
M.containerHas(elementPatt, bound = 1n)motivated to support want patterns in Zoe, to pull out onlyboundnumber of elements that matchelementPatt.boundmust be a positive bigint.Closely related,
@endo/patternsnow exportscontainerHasSplitto support ERTP's use ofM.containerHason non-fungible (set,copySet) and semifungible (copyBag) assets, respectively. See feat(zoe): zoe part of minimal want patterns usingM.containerHas(el,n)Agoric/agoric-sdk#10952 .@endo/import-bundlev1.4.0testformat bundles, which simply return a promise for an object that resembles a module exports namespace with the objects specified on the symbol-named property @exports, which is deliberately not JSON serializable or passable.typedImportBundle<ExpectedExportsNamespace>function with a proper type signature, to provide a narrower signature thananywithout disrupting existing usage.@endo/bundle-sourcev4.0.0nestedEvaluateandgetExportformats with one based on Endo's Compartment Mapper instead of Rollup, in order to obviate the need to reconcile source map transforms between Rollup and the underlying Babel generator. As a consequence, we no longer generate a source map for the bundle, but Babel ensures that we preserve line and column numbers between the original source and the bundled source.@endo/compartment-mapperv1.6.0Accommodates CommonJS modules that use
definePropertyonexports.Divides the role of
makeBundleintomakeScriptandmakeFunctor. The newmakeScriptreplacesmakeBundlewithout breaking changes, producing a JavaScript string that is suitable as a<script>tag in a web page.The new
makeFunctorproduces a JavaScript string that, when evaluated, produces a partially applied function, so the caller can provide runtime options.Both
makeScriptandmakeFunctornow acceptformat,useEvaluateandsourceUrlPrefixoptions.The functor produced by
makeFunctornow acceptsevaluate,require, andsourceUrlPrefixruntime options.Both
makeScriptandmakeFunctornow accept aformatoption. Specifiying the"cjs"format allows the bundle to exit to the host's CommonJSrequirefor host modules.Adds
sourceDirnameto compartment descriptors in the compartment maps generated bymapNodeModulesand uses these to provide better source URL comments for bundles generated bymakeScriptandmakeFunctor, by default.These changes collectively allow us to replace the implementation of
nestedEvaluateandgetExportsformats in@endo/bundle-source, including the preservation of useful line numbers and file names in stack traces.mapNodeModules,importLocationandloadLocationnow accept alogoption for users to define a custom logging function. As of this writing, onlymapNodeModuleswill potentially call this function if provided. Expansion of log messaging and support for thelogoption in more APIs is expected in the future.@endo/evasive-transformv1.4.0sourceMapoption so that the generated sourcemap can project back to the original source code withoutunmapLoc.unmapLocbecause it is not used by contemporary Endo packages. The option is now ignored.