From f6cf2622c2edc569da98d75bc3fa07f27407b928 Mon Sep 17 00:00:00 2001 From: joswig Date: Thu, 20 Nov 2025 09:49:53 +0000 Subject: [PATCH 1/2] Release v3.8.0 --- docs/upgrade-guides/3-7-1-to-3-8-0.md | 4 ++++ sidebars.js | 1 + static/mgss-cover-page.html | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 docs/upgrade-guides/3-7-1-to-3-8-0.md diff --git a/docs/upgrade-guides/3-7-1-to-3-8-0.md b/docs/upgrade-guides/3-7-1-to-3-8-0.md new file mode 100644 index 0000000..31c2d86 --- /dev/null +++ b/docs/upgrade-guides/3-7-1-to-3-8-0.md @@ -0,0 +1,4 @@ +# 3.7.1 to 3.8.0 + +This document describes the upgrade instructions from `3.7.1` to `3.8.0`. + diff --git a/sidebars.js b/sidebars.js index 9309258..6da66ff 100644 --- a/sidebars.js +++ b/sidebars.js @@ -516,6 +516,7 @@ const sidebars = { }, ], upgradeGuides: [ + 'upgrade-guides/3-7-1-to-3-8-0', 'upgrade-guides/3-7-0-to-3-7-1', 'upgrade-guides/3-6-0-to-3-7-0', 'upgrade-guides/3-5-1-to-3-5-2', diff --git a/static/mgss-cover-page.html b/static/mgss-cover-page.html index c8bccea..09fa43f 100644 --- a/static/mgss-cover-page.html +++ b/static/mgss-cover-page.html @@ -35,7 +35,7 @@

Identification

636.101 MPSA Aerie - 3.7.1 + 3.8.0 From 1650472b4413ba3aabe35977794e10acb0aed5f6 Mon Sep 17 00:00:00 2001 From: dandelany Date: Thu, 20 Nov 2025 02:04:12 -0800 Subject: [PATCH 2/2] 3.8.0 upgrade guide --- docs/upgrade-guides/3-7-1-to-3-8-0.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/upgrade-guides/3-7-1-to-3-8-0.md b/docs/upgrade-guides/3-7-1-to-3-8-0.md index 31c2d86..b690582 100644 --- a/docs/upgrade-guides/3-7-1-to-3-8-0.md +++ b/docs/upgrade-guides/3-7-1-to-3-8-0.md @@ -2,3 +2,23 @@ This document describes the upgrade instructions from `3.7.1` to `3.8.0`. +## Sequence Adaptation interface changes + +This release contains breaking changes to our Sequence Adaptation interface. Most significantly, compiled adaptations are now expected to be *CommonJS modules*, which start with external `require(...)` statements for any CodeMirror dependencies, and end with `exports.adaptation = ...`. + +Users can either create these modules directly or compile them using `rollup` or similar. We recommend using our [sequence adaptation template repo](https://github.com/NASA-AMMOS/aerie-sequence-adaptation-template) as a starting point, which demonstrates a Typescript adaptation which is compiled with rollup to a CommonJS module. + +## Actions API changes + +A new version of the `aerie-actions` library, `1.1.0` has been released & published to NPM as a part of this release. These changes are *non-breaking*, but users writing custom actions should upgrade their `aerie-actions` dependency to take advantage of the latest features, which include: + +* Descriptions on actions parameters and settings. These can be hardcoded into the action eg. `seqList: {type: "sequenceList", description: "a list of sequences"}` and appear as a tooltip in the run action modal & action settings page +* New action parameter/setting `'file'` and `'fileList`' types, which accept a single file path or list of file paths respectively. These are like the existing `sequence` and `sequenceList` types except that they can accept any types of files rather than just sequences. They also allow an optional `pattern` field which may specify a specific extension to match eg. `*.json`. +* Ability to access the running user's JWT tokens in actions, accomplished by sending a `secrets` request with every action run request with the user's auth headers. Exposed to action code via `actions.config.SECRETS.authorization` (encoded) and `actions.config.SECRETS.user` (decoded). This allows users to send authenticated requests back to Hasura or to other services in their JWT auth ecosystem. +* Accessing username and run ID in the action - in `actions.config.USERNAME` and `actions.config.ACTION_RUN_ID` +* Support for "primary" flag on action parameters, & better default logic. When an action is "run on a file" (or list of files), via the editor dropdown menu or multi-select/right-click, we decide which action parameter is "primary" and pass the file path(s) to that param. Users can now set primary: true on file/fileList/sequence/sequenceList type parameters to specify which one to use. If this flag is not set, we do our best to determine which of the parameters for each action can be fulfilled by the selected file(s) and use that. + +## File multi-select in workspaces +This release adds the ability to multi-select (shift-click or ctrl-click) files in the SeqDev sequencing workspace, right click them, and run actions on the selected files. + +This comes with some caveats: currently this is available on the workspace table view only, not the default hierarchy view. Also, bulk file operations, like moving/copying multiple files at once, are disabled. Both of these will be delivered in a future release.