Unfortunately it starts from the vesion v0.1.9
Changelog - v0.1.11¶
Features¶
Config migrated from JSON to TOML:
config.jsonhas been migrated toconfig.toml.Updated lesia status structure: Updated the structure of the
lesia statusoutput.Vocabulary file in config: Added the possibility to set a vocabulary file in the config.
Environment file for API keys: Added the possibility to set a
.envfile for API keys.Cache clear by checksum: Added a feature to specify a checksum to delete from the cache (
lesia cache clear --checksum).Translation stats: Added overall translation stats displayed after a translation run.
Per-file stats: Added per-file statistics after translation.
Customizable number of retries: Made the number of retries for translation requests configurable.
Retry info in
lesia info: Added information about the number of retries to thelesia infocommand.
Bug Fixes¶
TOML dependency: Added the required dependency for TOML processing.
Cache clear by checksum:
lesia cache clear --checksumnow correctly removes all language files associated with the given source checksum.Jupyter markdown processing: Fixed
lesia statusincorrectly processing Jupyter markdown files forneeds_reviewcounting.LaTeX additional commands: Fixed handling of additional commands for
LatexWalker.
Docs¶
Updated documentation to reflect the migration from
config.jsontoconfig.toml.Added documentation for setting a vocabulary file in the config.
Added documentation for setting a
.envfile for API keys.Added documentation for
lesia cache clear --checksum.Added documentation for translation stats.
Documented the translation function in the library docs.
Added information about the env variable for the LLM API key in the library context.
Updated docs on how to make custom LaTeX commands untranslatable.
Updated CONTRIBUTING.md with information about documentation.
Added a getting started link to the README.
Removed redundant information from docs and README.
Updated landing page styles.
Tests¶
Updated tests to use
config.tomlinstead ofconfig.json.Updated tests for the new
lesia statusstructure.Added vocab file to config tests.
Added tests for the new
.envsystem.Covered
lesia cache clear --checksumwith tests.Added tests for per-file stats after translation.
Covered translation stats with tests.
Added Jupyter markdown files
needs_reviewcounting to tests.Added more test cases for LaTeX placeholders.
Fixed test lambda functions.
Changelog - v0.1.10¶
Features¶
LaTeX parsing settings: Added the ability to choose which LaTeX environments and commands (and their parameters) are translatable or not.
Bug Fixes¶
Language overshadowing: Fixed an issue where a custom language could overshadow a predefined or another custom language. An error is now raised when two custom languages share the same name.
Service overshadowing: Added a warning when a custom service overshadows a predefined one, and an error is raised when two custom services share the same name.
Project encapsulation: Fixed an encapsulation problem with project and project config.
CI/CD¶
Added MyST site deployment workflow.
Fixed path to
_builddirectory in CI.Fixed missing
working-directoryfor the build command in CI.
Docs¶
Added MyST configuration for the documentation site.
Made the MyST site include README, CONTRIBUTING, and CHANGELOG pages.
Added links to the website and documentation on GitHub Pages to the README.
Added a landing page to the MyST site configuration.
Updated CONTRIBUTING to point to the issues page instead of the TODO section.
Styled the landing page for lesia.
Covered LaTeX parsing settings with documentation.
Updated docs to reflect new checks for language and service overshadowing.
Tests¶
Covered LaTeX parsing settings feature with tests.
Covered the language overshadowing fix with tests.
Covered the service overshadowing checks with tests.
Changelog - v0.1.9¶
Features¶
Performance improvement: CSV database is now stored in memory, making translation lookup O(1) instead of reading from disk on each lookup.
Custom language shortened version: Added the possibility to set a shortened version of a custom language.
LaTeX comments untranslatable: LaTeX comments are now marked as untranslatable and will be skipped during translation.
Renamed internal directory:
translation_cachehas been renamed tocacheinside the.lesiadirectory.Renamed library: Internal library renamed from
trans_libtolesia.--versionflag: Added--versionflag to thelesiaCLI.Status command improvement:
lesia statusnow also shows information about files that have theneeds_reviewtag.Aristote service support: Updated to
unified-model-callerv0.2.5, adding support for the Aristote service.
Bug Fixes¶
Fixed the message shown when the target language setting is applied.
Improved lazy imports for
project_manager,project_runtime,cache_rebuilder,doc_corrector,enums,helpers,project_config_model, andtranslatorto reduce startup time.
Docs¶
Added documentation for the
statuscommand.Added info about the shortened version of custom languages in the library docs.
Added a link to the Saclai school in the README.
Tests¶
Covered in-memory CSV storage with tests.
Covered shortened version functionality with tests.
Covered
statuscommand with tests.