Skip to content

Latest commit

 

History

History
570 lines (299 loc) · 32.4 KB

CHANGELOG.md

File metadata and controls

570 lines (299 loc) · 32.4 KB

Changelog

All changes that impact users of this module are documented in this file, in the Common Changelog format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to Semantic Versioning.

2.2.1 - 2024-06-07

Full changeset and discussions: #1088.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Display engine version in logs

Fixed

  • Fix the number of terms displayed in logs
  • Fix Reporter module instantiation

2.2.0 - 2024-06-05

Full changeset and discussions: #1087.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Set default tracking frequency to two per day

2.1.0 - 2024-06-04

Full changeset and discussions: #1086.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Make tracking schedule configurable
  • Make publishing schedule configurable
  • Add tracking overrun protection

2.0.1 - 2024-05-31

Full changeset and discussions: #1085.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Corrected a missing negation in a Reporter error log

2.0.0 - 2024-05-22

Full changeset and discussions: #1071.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Nest all configurations under the @opentermsarchive/engine key; wrap the content of config/production.json like this: { @opentermsarchive/engine: { < your previous configuration >}}
  • Breaking: Rename the api configuration key to collection-api; update this in your config/production.json
  • Breaking: Remove default values for port and basePath in collection-api; specify these configurations explicitly in your config/production.json
  • Breaking: Prefix all environment variables with OTA_ENGINE_; rename variables such as SENDINBLUE_API_KEY to OTA_ENGINE_SENDINBLUE_API_KEY, SMTP_PASSWORD to OTA_ENGINE_SMTP_PASSWORD, and GITHUB_TOKEN to OTA_ENGINE_GITHUB_TOKEN

1.3.0 - 2024-05-22

Full changeset and discussions: #1076.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Enable a service to be renamed into several services when exporting a dataset

1.2.2 - 2024-05-22

Full changeset and discussions: #1075.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Exclude non-record files (e.g., README, LICENSE) from dataset

1.2.1 - 2024-05-09

Full changeset and discussions: #1070.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix ota lint command

1.2.0 - 2024-05-08

Full changeset and discussions: #1069.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Add label empty content to reported issues on GitHub when server returns empty content or when PDF content is unextractable
  • Add label invalid selector to reported issues on GitHub when CSS selector is invalid

Changed

  • Consider extraction errors as expected operational errors instead of crashing the engine

Fixed

  • Do not crash when source documents links point to invalid URLs
  • Take into account the --types CLI option
  • Fix counts of terms when they are specified via the CLI option --types
  • Fix display issues for service ID and terms type associated with errors

1.1.3 - 2024-05-02

Full changeset and discussions: #1068.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix validation of modified declarations when declaration history is modified; bug introduced in v1.1.2

1.1.2 - 2024-04-08

Full changeset and discussions: #1066.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix validation of modified declarations when new services were added
  • Fix validation of modified declarations when filters were modified

1.1.1 - 2024-03-28

Full changeset and discussions: #1065.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Ensure to reopen associated issue if terms become inaccessible again

1.1.0 - 2024-03-18

Full changeset and discussions: #1063.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Introduce pluginError error type to isolate plugin errors from the engine and increase robustness

1.0.0 - 2024-03-14

Full changeset and discussions: #1061.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

No code changes were made in this release, it simply signifies that the public API can now be considered stable.

0.37.1 - 2024-02-20

Full changeset and discussions: #1056.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix support of service names with special character in the validation CLI

0.37.0 - 2024-02-20

Full changeset and discussions: #1054.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Minimize required privileges associated to the GitHub token to create issues in the declarations repository

0.36.1 - 2024-02-15

Full changeset and discussions: #1053.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Log a warning in case log emails cannot be sent because of a missing config

0.36.0 - 2024-02-15

Full changeset and discussions: #1052.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Base the loading of the Notifier module on the presence of required configuration, not on the environment; only define the SENDINBLUE_API_KEY environment variable if you want the Notifier to be loaded, avoid relying on NODE_ENV=production

0.35.0 - 2024-02-14

Full changeset and discussions: #1051.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Consider EAI_AGAIN errors as a legitimate part of the tracking lifecycle rather than causing the engine to crash

0.34.3 - 2024-02-13

Full changeset and discussions: #1050.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix engine hang with non-existent service ID

0.34.2 - 2024-02-12

Full changeset and discussions: #1045.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix support of special character in service names

0.34.1 - 2023-12-19

Full changeset and discussions: #1037.

Development of this release was made on a volunteer basis by @Ndpnt.

Fixed

  • Improve performance for large-scale MongoDB databases

0.34.0 - 2023-12-11

Full changeset and discussions: #1033.

Development of this release was supported by the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG CNECT under grant agreement N°101069594.

Added

  • Expose versions data through the collection API (#1003). When using Git as storage for versions, this API relies on the assumption that the commit date matches the author date, introduced in the engine in June 2022 (#875). If your collection was created before this date, inconsistencies in the API results may arise. You can verify if your version history includes commits with commit dates differing from author dates by executing the following command at the root of your versions repository: git log --format="%H %ad %cI" --date=iso-strict | awk '{if ($2 != $3) print "Author date", $2, "and commit date", $3, "mismatch for commit", $1 }'. You can correct the history with the command: git rebase --committer-date-is-author-date $(git rev-list --max-parents=0 HEAD). Since the entire history will be rewritten, a force push may be required for distributed repositories

Changed

  • Provide a succinct JSON-formatted error message as response in API errors

0.33.1 - 2023-11-28

Full changeset and discussions: #1032.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

0.33.0 - 2023-11-27

Full changeset and discussions: #1031.

Development of this release was supported by the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG CNECT under grant agreement N°101069594.

Added

  • Add terms attribute to /services API response, containing declared term types for each service

0.32.1 - 2023-10-18

Full changeset and discussions: #1026.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Ensure Reporter configuration is defined before instantiating it
  • Ensure to add links to versions and snapshots in issues only if repositories are defined in configuration

Removed

  • No longer define default configuration for Reporter module

0.32.0 - 2023-10-18

Full changeset and discussions: #1025.

Development of this release was supported by GitHub Social Impact through its DPG Open Source Community Manager Program.

Added

  • Auto create labels for declarations repository on GitHub
  • Assign a label based on the error type to issues managed by the engine

Changed

  • Breaking: Revise the formatting of reported issues, with notable adjustments to the title, transitioning from Fix <service_id> - <terms_type> to <service_id> ‧ <terms_type> ‧ not tracked anymore
  • Breaking: Rename tracker module into reporter; update your configuration file by renaming tracker into reporter
  • Breaking: Change configuration for reporter module; update your reporter configuration accordingly

Removed

  • Breaking: No longer assign the label bot-report to issues managed by the engine

0.31.1 - 2023-10-06

Full changeset and discussions: #1024.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Upgrade dependencies patches and ensure compatibility with Node v20

0.31.0 - 2023-09-08

Full changeset and discussions: #1021.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

0.30.1 - 2023-09-06

Full changeset and discussions: #1020.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix validation for removed terms types

0.30.0 - 2023-07-10

Full changeset and discussions: #1015.

Development of this release was supported by the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG CNECT under grant agreement N°101069594.

Added

  • Embed Swagger UI for graphical user interface documentation of the API; access it on /docs

Changed

  • Breaking: Change path from /services/:serviceId to /service/:serviceId for direct access to a service resource; update paths accordingly in your own codebase
  • Breaking: Change path from /specs to /docs for OpenAPI specification; update paths accordingly in your own codebase and set the HTTP header Accept: application/json

0.29.1 - 2023-06-26

Full changeset and discussions: #1013.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Fix issue creation on GitHub tracker (#1012)

0.29.0 - 2023-06-05

Full changeset and discussions: #1011.

Development of this release was supported by the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG CNECT under grant agreement N°101069594.

Added

  • Add collection metadata API (#1003)
  • Add ota serve command to CLI to start the server and expose the API

0.28.0 - 2023-04-25

Changed

  • Include collection name in dataset name

0.27.1 - 2023-04-19

Changed

  • Clean up README

0.27.0 - 2023-04-19

Full changeset and discussions: #996, #999, #1000.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Rename CLI option --terms-types to --types in API; simply rename accordingly in your own codebase
  • Breaking: Rename CLI option --refilter-only, -r to --extract-only, -e in API; simply rename accordingly in your own codebase
  • Breaking: Rename class PageDeclaration to SourceDocument and its atribute noiseSelectors to insignificantContentSelectors in API; simply rename accordingly in your own codebase
  • Breaking: Rename function and its parameters filter({ content, mimeType, pageDeclaration }) to extract(sourceDocument) in API; content and mimeType are embedded sourceDocument attributes; rename accordingly in your own codebase and set content and mimeType in the sourceDocument passed as a parameter to the function
  • Breaking: Rephrase commit messages in Git storage: Start tracking is changed to First record of, Refilter to Apply technical or declaration upgrade on and Update to Record new changes of; existing data will still be loaded, but new commits will use these new messages, if you have scripts that parse commit messages directly, update them accordingly
  • Breaking: Rename document attribute isRefilter to isExtractOnly in MongoDB storage; existing data will still be loaded, but new entries will use this new attribute, if you have scripts that query the Mongo database directly, update them accordingly
  • Make vocabulary consistent throughout the codebase (#971)

Removed

  • Breaking: Remove npm run extract command; use npm run start -- --extract-only instead

0.26.1 - 2023-04-19

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Change URL to engine repo from ambanum/OpenTermsArchive to OpenTermsArchive/engine
  • Replace documentation with links to the documentation website to avoid redundancy

0.26.0 - 2023-02-20

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Split validation and linting of declaration files in 2 commands. ota validate does not test the linting of files anymore.
  • Breaking: ota lint does not fix files by default. ota lint --fix must be used for that.

0.25.2 - 2023-02-20

Full changeset and discussions: #981.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Specification of changelog format

Changed

  • Specification of changelog format is now in CONTRIBUTING

0.25.1 - 2023-02-20

Changed

  • Improve documentation for CLI commands

0.25.0 - 2023-02-08

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Replace behaviour of ota track --schedule. It now tracks the changes only on scheduled hours. It was before running also on launch.

0.24.0 - 2023-01-25

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Trigger a release event on CI to deploy documentation website

0.23.0 - 2023-01-18

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Removed

  • Breaking: Remove obsolete ansible deployment recipes as it was extracted in a dedicated repository. Look at the README to know how to deploy the engine.

0.22.0 - 2023-01-17

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Replace embedded terms types list with the one defined in the dedicated repository @opentermsarchive/terms-types.

0.21.0 - 2023-01-16

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Add dataset command to CLI; this command can be discovered in the documentation and by running ota dataset help

0.20.0 - 2022-12-13

Full changeset and discussions: #959.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Improved reliability and expanded coverage of email protection global filter

0.19.1 - 2022-12-13

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Add missing configuration for production

0.19.0 - 2022-12-13

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Changed

  • Breaking: Unify all CLI commands as subcommands of one single ota command and rename some options; the new CLI can be discovered in the documentation and by running ota help (#978)

0.18.2 - 2022-12-12

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Fixed

  • Ensure paths for given Git storage configuration are relative to current working directory instead of engine module folder

0.18.1 - 2022-12-12

Full changeset and discussions: #979.

Fixed

  • Add missing configuration for production

0.18.0 - 2022-12-12

Full changeset and discussions: #976.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Load both the configurations defined in this module and the configurations defined in the module which use it as dependency

0.17.2 - 2022-12-12

Full changeset and discussions: #977.

Fixed

  • Add missing file required for CLI in the packaging process

0.17.1 - 2022-12-06

Full changeset and discussions: #971.

Fixed

  • Rewrite documentation to bring it up to date with current behaviour

0.17.0 - 2022-12-06

Full changeset and discussions: #957.

Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.

Added

  • Publish package on NPM under name @opentermsarchive/engine
  • Export filter, pageDeclaration and fetch in NPM module
  • Add changelog