You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,14 @@ All changes that impact users of this module are documented in this file, in the
6
6
7
7
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
8
8
9
+
### Added
10
+
11
+
- Add `applyTechnicalUpgrades()` function as a standalone method to apply technical upgrades without regular tracking
-**Breaking:** Rename `extractOnly` parameter to `technicalUpgradeOnly` in `track()` function to clarify that only the technical upgrade pass will run; ifyou are using the `track()` function directly with the `extractOnly` parameter, rename it to `technicalUpgradeOnly`
12
-
-**Breaking:** Rename CLI flag from `--extract-only` to `--technical-upgrade-only` for consistency and clarity; if you are using the CLI with the `--extract-only` flag, rename it to `--technical-upgrade-only`
16
+
-**Breaking:** Remove `--extract-only` option from `ota track` command; use the new `ota apply-technical-upgrades` command instead
13
17
- Enhance technical upgrade pass to fetch missing snapshots for newly added source documents in combined terms declarations
const{ applyTechnicalUpgrades }=awaitimport(pathToFileURL(path.resolve(__dirname,'../src/index.js')));// load asynchronously to ensure env.js is loaded before
12
+
13
+
program
14
+
.name('ota apply-technical-upgrades')
15
+
.description('Apply technical upgrades: regenerate versions from existing snapshots with updated declarations/engine, and fetch missing snapshots for newly added source documents')
16
+
.option('-s, --services [serviceId...]','service IDs to apply technical upgrades to')
17
+
.option('-t, --types [termsType...]','terms types to apply technical upgrades to');
// This regenerates versions from existing snapshots with updated extraction logic.
45
45
// For terms with combined source documents, if a new document was added to the declaration, it will be fetched and combined with existing snapshots to regenerate the complete version.
46
46
// All versions from this pass are labeled as technical upgrades to avoid false notifications about content changes.
0 commit comments