Skip to content

Antares Web Changelog

v2.16.8 (2024-04-19)

Features

  • clusters: add new endpoint for clusters duplication #1972
  • clusters (ui): implement new duplication endpoint and optimistic update #1984
  • configuration: turn Thematic Trimming variable names in upper case
  • configuration (ui): replace underscore with space in Thematic Trimming variable names #2010
  • ui: enhance and refactor validation across UI components #1956

Bug Fixes

  • clusters (ui): totals are updated after a duplication and a deletion #1984
  • clusters (ui): issue with selecting and deleting rows #1984
  • st-storages (ui): correction of incorrect wording between "withdrawal" and "injection" #1977
  • st-storages (ui): change matrix titles #1994
  • st-storages: use command when updating matrices #1971
  • variants: avoid recursive error when creating big variant tree #1967
  • outputs: build outputs config even when using cache #1958
  • comments: use a command to update comments on a variant #1959
  • outputs (ui): correct weekly data formatting to support 53-week years #1975
  • configuration: add missing variables in Thematic Trimming for studies in version v8.6 or above #1992
  • configuration: version availability for "STS Cashflow By Cluster" variable is v8.8
  • launcher: upgrade the project dependencies to use Antares-Launcher v1.3.2
  • ssh: add retry loop around SSH Exceptions #68
  • retriever: avoid infinite loop when sbatch command fails #69
  • synthesis: prevent 500 error during study synthesis parsing #2011

v2.16.7 (2024-03-05)

Bug Fixes

  • desktop: correct configuration and launcher load indicator for Antares Web Desktop #1969

v2.16.6 (2024-03-04)

Features

  • ui-tasks: add launcher metrics #1960
  • ui-tasks: auto refresh launcher metrics #1963

Bug Fixes

  • ui-results: adjust date times for accurate frequency display #1960
  • ui-common: matrices display issues #1960
  • ui-common: download latest value of matrices #1962

v2.16.5 (2024-02-29)

Features

  • ui-results: add results matrix timestamps #1945

Bug Fixes

  • ui-hydro: add missing matrix path encoding #1940
  • ui-thermal: update cluster group options to handle Other 1 #1945
  • ui-results: prevent duplicate updates on same toggle button click #1945
  • ui-results: disable stretch to fix display issue #1945
  • ui-hydro: disable stretch to fix display issue on some matrices #1945
  • variants: correct the generation of variant when a snapshot is removed #1947
  • tags: resolve issue with study.additional_data.patch attribute reading #1944
  • study: correct access to study additional_data #1949
  • ui-tablemode: create modal is frozen when submitting without column #1946
  • ui-tablemode: 'co2' column not working #1952
  • ui: add missing i18n dependency #1954

v2.16.4 (2024-02-14)

Features

  • api-ui: add Inflow Structure form in Hydro #1919
  • db: index tables to improve study search and sorting performance #1902
  • packaging: update the packaging script to use Antares Solver v8.8.2 #1910
  • service: use slurm sinfo command to improve "cluster load" indicator #1664
  • study-search: optimize the studies search engine #1890
  • tags-db: add tag and study_tag tables to the db (migration) #1923
  • tags-db: update tags related services and endpoints #1925
  • ui-disk-usage: add disk usage to study details #1899

Bug Fixes

  • api-model: correct AllOptionalMetaclass for field validation in form models #1924
  • bc: correct case sensitivity for binding constraint term IDs #1903
  • config: add Swagger proxy settings in Vite configuration #1922
  • disk-usage: correct disk usage calculation for study variants with simulation results #1926
  • disk-usage: fix bug on variants #1915
  • packaging: fix packaging script for Windows (issue with Vite.js) #1920
  • thermals: correct the default value of the "gen-ts" property to use "use global" instead of "use global parameter" #1918
  • ui-home: load synthesis to get areas and links count #1911
  • ui-hydro,storage: correct labels and units in forms #1928
  • ui-map: reload map data on study revisit #1927

Build System

  • packaging: issue with desktop app packaging #1912
  • vite: replace create-react-app by Vite #1905

v2.16.3 (2024-01-17)

Features

  • api-filesystem: add new API endpoints to manage filesystem and get disk usage #1895
  • ui-district: enhance Scenario Playlist loading and remove Regional District menu #1897

Bug Fixes

  • config: use "CONG. PROB" for thematic trimming (fix typo) #1893
  • ui-debug: correct debug view for JSON configuration #1898
  • ui-debug: correct debug view for textual matrices #1896
  • ui-hydro: add areas encoding to hydro tabs path #1894

Refactoring

  • ui-debug: code review #1892

Continuous Integration

  • docker: add the ll alias in .bashrc to simplify debugging #1880

v2.16.2 (2024-01-10)

Features

  • bc: add input validation for binding constraint creation #1868
  • study-size: add new route to get a study disk usage (in bytes) #1878
  • table-mode: update Table Mode view #1883
  • thermals, st-storages: add a dialog to define a name when duplicating a cluster or a storage #1866
  • debug-view: introduce advanced JSONEditor and Debug view updates #1885

Performance

  • db: improve performance by using joins instead of N+1 queries #1848
  • raw-study: improve INI file reading performance for RAW studies #1879

Bug Fixes

  • bc: automatically change binding constraint matrix when changing frequency #1867
  • ci: avoid reflecting user-controlled data (SonarCloud issue) #1886
  • db: correct alembic migration script used to purge obsolete tasks #1881
  • db: add missing constraints and relationships in TaskJob table #1872
  • services: ensure all worker services run indefinitely #1870
  • study-factory: ignore non-existent files in archived studies during build #1871
  • thermals: correct TS Generator matrix index for thermal clusters #1882
  • ui: prevent synchro issues between tabs and react-router #1869
  • xpansion: update for improved parameter handling and code refactoring #1865

Documentation

  • st-storage: add ST-Storage documentation #1873

Tests

  • remove Locust dependency and unit tests (not really useful) 34c97e0

Refactoring

  • bc: remove duplicate class BindingConstraintType #1860

v2.16.1 (2023-12-14)

Features

  • ui: add manual submit on clusters form #1852
  • ui-modelling: add dynamic area selection on Areas tab click #1835
  • ui-storages: use percentage values instead of ratio values #1846
  • upgrade: correction of study upgrade when upgrading from v8.2 to v8.6 (creation of MinGen) #1861

Bug Fixes

  • bc: correct the name and shape of the binding constraint matrices #1849
  • bc: avoid duplicates in Binding Constraints creation through REST API #1858
  • ui: update current area after window reload #1862
  • ui-study: fix the study card explore button visibility #1842
  • ui-matrix: prevent matrices float values to be converted #1850
  • ui-matrix: calculate the prepend index according to the existence of a time column #1856
  • ui-output: add the missing "ST Storages" option in the Display selector in results view #1855

Performance

  • db-init: separate database initialization from global database session #1837
  • variant: improve performances and correct snapshot generation #1854

Documentation

  • config: enhance application configuration documentation #1710

Chore

  • deps: upgrade material-react-table #1851

v2.16.0 (2023-11-30)

Features

  • api: add renewable clusters to API endpoints #1798
  • api: add endpoint get_nb_cores #1727
  • api-raw: add the create_missing flag to allow creating missing files when uploading a file #1817
  • api-storage: update initial level field default value #1836
  • api-thermal: add clusters management endpoints 2fbfcfc
  • api-thermal: delay the import of transform_name_to_id 1d80ecf
  • api-thermal: implement the __repr__ method in enum classes for easier debugging 7e595a9
  • api-thermal: improve the ThermalClusterGroup enum to allow "Other 1" and "Other" values for the OTHER1 option c2d6bc1
  • binding-constraint: add the binding constraint series in the matrix constants generator c1b4667
  • common: add dynamic size for GroupedDataTable 116c0a5
  • job-result-dto: the JobResultDTO returns the owner (ID and name) instead of owner ID a53d1b2
  • launcher: add information about which user launched a study #1761
  • launcher: unzipping task raised by the user who launched the study f6fe27f
  • launcher: allow users with Permission.READ or above to unzip a study 4568b91
  • model: handling binding constraints frequency in study configuration parsing #1702
  • model: add a one-to-many relationship between Identity and JobResult e9a10b1
  • model: handling binding constraints frequency in study configuration parsing 1702 02b6ba7
  • permission: update permission types, replaced DELETE with WRITE for improved study control #1775
  • requirements: add py7zr to project requirements e10622e
  • simulation-ui: use API to get launcher number of cores #1776
  • st-storage: allow all parameters in endpoint for short term storage creation #1736
  • tests: add integration tests for outputs import a8db0b4
  • thermal: refactor thermal view #1733
  • ui: reduce studies header height #1819
  • ui: update LauncherDialog #1789
  • ui-areas: add version check for storage tab #1825
  • ui-common: add missing areaId param to routes 4c67f3d
  • ui-common: add missing areaId param to routes 3f09111
  • ui-launcher: block launch button if cores info cannot be get 4267028
  • ui-model: add validation rules for thermal renewable and storage forms 86fe2ed
  • ui-model: check integer fields da314aa
  • ui-npm: update packages 7e08826
  • ui-renewables: add new list view #1803
  • ui-storages: add storages list view and form #1791
  • ui-studies: rework study launch dialog #1784
  • ui-studies: update launcher dialog xpansion field 011fbc6
  • ui-thermal: update thermal clusters list view and form labels #1807
  • ui-thermal: minor user experience improvements 5258d14
  • ui-thermal: update thermal cluster view with new component eb93f72
  • ui-thermal: minor improvements 4434d7c
  • ui-thermal: add type for cluster capacity 10aaea3
  • ui-thermal: add error display on thermal clusters list 92e3132
  • upgrade: denormalize study only when needed 931fdae
  • utils: add 7z support for matrices import d53a99c
  • utils: support 7z import for studies, outputs and matrices a84d2aa
  • utils: add integration test for 7z study import 1f2da96
  • utils: add support for .7z 0779d88

Performance

  • api-study: optimize study overview display in Antares Web 52cf0ca
  • role-repository: optimize the query used in get_all_by_user to fetch roles and groups at once dcde8a3
  • study-factory: FileStudy creation is done with a file lock to avoid that two studies are analyzed at the same time 0bd9d5f
  • variant: correct slow variant study snapshot generation #1828

Bug Fixes

  • matrix: matrix ID validator now raise an exception if the ID is empty d483198
  • raw-study: correct matrix list generation for thermal clusters to handle non-lowercase IDs db86384
  • role-type: correct implementation of the __ge__ operator 379d4ae
  • service: allow unzipping with permission read 0fa59a6
  • st-storage: the initial_level value must be between 0 and 1 #1815
  • tests: fix unit test and refactor integration one 6bbbffc
  • ui: update dynamic areaId segment URL path on area change #1811
  • ui: i18next API change e8a8503
  • ui: TS issues ff8e635
  • ui: immer import change d45d274
  • ui: correct merge conflict imports 77fd1ad
  • ui-common: add case check for name in GroupedDataTable 586580b
  • ui-lancher: cores limit cannot be break d3f4b79
  • ui-launcher: add API values for min max number of cores ea188b1
  • ui-study: prevent study tasks list to contain all studies tasks #1820
  • ui-tasks: filter deleted studies jobs #1816
  • ui-thermal: update regex to prevent commas in id b7ab9a5
  • ui-thermal: update regex to avoid ReDoS vulnerabilities c837474
  • xpansion: add missing separation_parameter field in the settings #1831

Documentation

  • api-thermal: add the documentation of the thermal cluster endpoints c84c6cd
  • api-thermal: improve the documentation of the thermal manager 099e4e0
  • api-thermal: correct thermal manager doctrings 3d3f8c3
  • how-to: add a "How to import a compressed study?" topic in the documentation 28c654f
  • import-api: improve the documentation of the import API f1f2112
  • rtd: correct the configuration for ReadTheDocs #1833
  • study-service: improve documentation of the StudyService class 3ece436
  • upgrade: add little documentation 7075ed8

Tests

  • correct test_commands_service: ensure the admin user is in database #1782
  • add the DbStatementRecorder class to record SQL statements in memory to diagnose the queries performed by the application c02a839
  • add unit tests for antarest.core.utils.utils.extract_zip 4878878
  • add the compare_elements function to compare two XML and find differences 15753e3
  • api: added end-to-end test to ensure seamless functionality of API endpoints with the "bot" token #1770
  • api-user: correct API endpoint user_save 483d639
  • apidoc: add unit test for apidoc page #1797
  • integration: simplify the app fixture used in integration tests and add comments e48ce6d
  • login-service: refactor unit tests to use fixture instead of mocks 02f20f0
  • matrix-dataset: correct unit test test_watcher d829033
  • matrix-dataset: correct unit test test_dataset_lifecycle da6f84b
  • model: correct and improve the TestLdapService unit tests 84c0c05
  • model: don't decorate model classes with @dataclass 82d565b
  • study-comments: add integration tests for study synthesis endpoint f56a4ae
  • study-comments: add integration tests for study comments endpoints 3eb1491
  • study-comments: remove deprecated integration tests 7651438
  • thermal-manager: add unit tests for the TestThermalManager class d7f83b8
  • watcher: correct unit test test_partial_scan cf07093

Refactoring

  • cluster: improve the implementation of the thermal, renewable and the short terme storage 48c3352
  • commands: refactor the variant commands to use thermal / renewable configurations 996fb20
  • commands: simplify implementation of study variant commands and improve constraints 4ce9bd0
  • commands: refactor the variant commands to use thermal / renewable configurations ff3ccdf
  • config: create base classes use to configure thermal and renewable clusters and short term storage e7e7198
  • config: use create_st_storage_config during config parsing 0d1bac8
  • launcher-service: rename long variable name user_who_launched_the_study 4ec7cb0
  • login-model: drop superfluous __eq__ operator 73bc168
  • raw-study: the create_from_fs method is changed to return a NamedTuple (perf) 191fb98
  • role-type: replace is_higher_or_equals by __ge__ operator fc10814
  • st-storage: implement STStorageProperties using BaseClusterProperties class 0cc639e
  • table-mode: simplify implementation of the TableModeManager class 52fcb80
  • thermal-api: replace the DELETE permission with WRITE in the delete_thermal_clusters endpoint 37f99ac
  • thermal-manager: correct the update_cluster method to update only required and changed properties 9715add
  • utils: replace HTTP exception with BadArchiveContent in extract_zip function, and update documentation accordingly 2143dd7

Styles

  • api-thermal: sort imports and reformat source code. 451c27c
  • model: simplify typing imports 2d77d65
  • typing: replace IO[bytes] by typing.BinaryIO in function signatures 4e2e5f9
  • ui: update file with new Prettier version dfd79a7
  • ui: issue with Prettier b204b6a

Chore

  • fix typo in the documentation of shell scripts #1793
  • correct the typing of the camel_case_model decorator 4784a74
  • correct bad imports in unit tests 786de74
  • fix typing in CommandExtractor class 0da8f3e
  • handle all ancestor classes in AllOptionalMetaclass 7153292
  • correct indentation in docstring 6d19ebb
  • api: modify ThermalConfig in API example to avoid ValidationError #1795
  • api-thermal: improve typing of functions 36ea466
  • doc: correct image names and titles in the documentation b976713

Reverts

  • change requirements.txt to restore PyYAML~=5.4.1 cf47556

v2.15.6 (2023-11-24)

Performance

  • variant: correct slow variant study snapshot generation #1828

Documentation

Contributors

laurent-laporte-pro.

v2.15.5 (2023-11-16)

Features

  • Remove studies filters and search value from localStorage #1788
  • ui-study: translate generate button in command view #1801
  • launcher: add information about which user launched a study #1808

Bug Fixes

  • tasks: resolve incorrect UTC timezone usage for task completion dates in list view #1786
  • upgrade: remove tmp files when upgrading #1804
  • variant: generates cascades of variants synchronously to avoid timeout dead locks #1806

Contributors

laurent-laporte-pro, skamril, MartinBelthle

v2.15.4 (2023-10-25)

Tests

  • commands: refactored study variant command unit tests, improved coverage, and fixed deprecated attribute usage (8bd0bdf)

Bug Fixes

  • results-ui: display results for a specific year #1779
  • ui-study: remove popup to prevent close after variant creation #1773
  • raw: fix HTTP exception when going on debug view #1769

Contributors

laurent-laporte-pro, MartinBelthle

v2.15.3 (2023-10-12)

Hotfix

  • api-raw: correct the /studies/{uuid}/raw endpoint to return "text/plain" content for matrices #1766
  • model: error 500 in cluster list when area change 0923c5e

Performance

  • storage: make study_upgrader much faster #1533

v2.15.2 (2023-10-11)

Hotfix

  • service: user connected via tokens cannot create a study 1757 (f620197)

Features

  • binding-constraint: handling binding constraints frequency in study configuration parsing 1702 (703351a)
  • add the binding constraint series in the matrix constants generator (e00d58b)
  • command create_binding_constraint can check the matrix shape (68bf99f)
  • command update_binding_constraint can check the matrix shape (c962f73)
  • add missing command docstring (d277805)
  • reduce code duplication (b41d957)
  • correct test_command_factory unit test to ignore abstract commands (789c2ad)
  • api: add endpoint get_nb_cores 1727 (9cfa9f1)
  • st-storage: allow all parameters in endpoint for short term storage creation 1736 (853cf6b)

Chore

  • sonarcloud: correct SonarCloud issues (901d00d)

Contributors

laurent-laporte-pro, MartinBelthle

v2.15.1 (2023-10-05)

Features

  • ui-results: move filters on top of matrices #1751
  • ui-outputs: add outputs synthesis view #1737

Bug Fixes

  • api: allow NaN, +Infinity, and -Infinity values in JSON response 7394248
  • ui-xpansion: display issue in form #1754
  • raw: impossible to see matrix containing NaN values #1714
  • raw: allow NaN in matrices 0cad1a9

Tests

  • tests: add a test to ensure GET /raw endpoint reads NaN values 29b1f71

v2.15.0 (2023-09-30)

Features

  • antares-launcher: use antares launcher v1.3.1 #1743
  • api: add Properties form endpoint 31898a1
  • api: add api doc and integration test 51db54f
  • api: add new pollutants in thermal manager bcd5a01
  • api: change the response model of "launcher/_versions" endpoint to return a list of versions e7089a1
  • api: correct default values for "/launcher/versions" endpoint f87ccca
  • api: improve error handling in "launcher/_versions" endpoint f84ff84
  • api: improve exception handling in "launcher/_versions" endpoint 1263181
  • api: improves "launcher/_versions" endppoint ae6c7d6
  • api: replace "launcher/_versions" endpoint by "/launcher/versions" fb294dd
  • api-layers: minor improvements ef7e21f
  • business: add xpansion batch size back office #1485
  • commands: add ST-Storage commands #1630
  • common: add undo/redo to Form component fc02c00
  • common: multiple updates on Form component 2193e43
  • desktop: enable year-by-year & synthesis output in study "000 Free Data Sample" #1735
  • matrix: improve matrix read/write using NumPy #1452
  • matrix: improve matrix service read/write using NumPy 8c2f14f
  • matrix: improve unexpected exception error message #1635
  • matrix-service: improve the importation function to handle NumPy arrays directly without the necessity of converting them ecf971a
  • matrix-service: avoid having to save the matrix again a40ad09
  • matrix-service: enhance the ISimpleMatrixService class and sub-classes to support creating from NumPy array 93737ae
  • matrix-service: enhance the MatrixContentRepository class to support saving NumPy array directly 1bf113b
  • matrix-service: ensure exclusive access to the matrix file between multiple processes (or threads) 66ce1bc
  • model: handle 8.6 study model and study upgrader #1489
  • service: assign to a copied study all groups of the user #1721
  • service: set PublicMode.READ when importing is done by user with no groups #1649
  • service: set PublicMode to READ when importing is done by user with no groups 04d70ed
  • service: set the user's name as author in study.antares when creating a study #1632
  • st-storage: add ST Storage API endpoints #1697
  • storage: ini reader can now take ioTextWrapper as input 015bc12
  • style: code style and refactoring enhancements 8b4ec2e
  • ui: add and use correct launcher verisons instead of study's 1878617
  • ui: enable undo/redo on some forms d0d07e9
  • ui-common: add GroupedDataTable #1633
  • ui-common: add submitButtonIcon prop in Form 6b16e01
  • ui-common: display submit error in Form 92d5a1e
  • ui-common: increase the width of the first column on tables d3d70ff
  • ui-common: update ColorPickerFE 8347556
  • ui-config: enable undo/redo in adequacy patch form #1543
  • ui-i18n: add missing adequacy patch translations #1680
  • ui-lib: add material-react-table package e88fb69
  • ui-login: update form 9631045
  • ui-map: add map zoom buttons #1518
  • ui-study: enhance study upgrade dialog #1687
  • ui-thermal: add new pollutants 5164a4c

Bug Fixes

  • api: Correct endpoint for HTTPStatus.NO_CONTENT (204) b70bc97
  • api: add missing use_leeway field and validation rules #1650
  • api: correct API endpoints and CLI tools #1726
  • api: correct update_area_ui endpoint response model 963f5ee
  • api: correct exception handling in extract_file_to_tmp_dir af38216
  • api: correct response model of "/studies/_versions" endpoint 91da3e7
  • api: correct the regex in IniReader to match a section in square brackets 123d716
  • api: enhance Python detection in version info endpoint 86fb0e5
  • api: sanitize and avoid duplicates in group IDs lists 8c9ac99
  • api: standardize 'areas_ui' to dict format for single area case #1557
  • api: study data retrieval now considers document types, enabling retrieval of Microsoft Office documents. Binary data support has also been enhanced 8204d45
  • api,tablemode: wrong adequacy patch mode path and clean code 0d00432
  • api-layers: fixed issue preventing layers deletion when no areas b3f98f2
  • api-layers: remove unnecessary parameter that causes tests to fail 052a9f3
  • build: fix pyinstaller build #1551
  • command: change code according to comments f3c68d2
  • command: fix update_config to support API PUT v1/studies/{uuid}/raw ffed124
  • docs: update README, removing obsolete instructions #1552
  • export: ZIP outputs are now uncompressed before export #1656
  • filesystem: correct the handling of default matrices in InputSeriesMatrix node #1608
  • launcher: fixing launcher versions display and API endpoint for solver versions #1671
  • log-parser: simplify parsing and make it accurate #1682
  • matrix: correct the loading and saving of empty matrices as TSV files #1746
  • matrix: create empty file if the matrix is empty 9155566
  • matrix-service: correct the MatrixService.create so that the matrix file is not deleted in case of exception 1860379
  • matrix-service: prevent the use of scientific notation when saving matrices 7387248
  • model: wrong frequency for hydro energy credits matrices #1708
  • packaging: update the packaging script to use Antares Solver v8.6.1 #1652
  • service: set public mode to NONE and assign user groups to the study during copying #1620
  • service: set public mode to NONE and assign user groups to the study during import #1619
  • st-storage: add default value for st storage group f9a3af7
  • st-storage: allow DELETE endpoint to accept multiple IDs as parameters #1716
  • st-storage: correct docstring 60bdbbf
  • st-storage: fixing archived study configuration reading for short-term storages #1673
  • st-storage: parse_st_storage works with zipped study with version previous 860 0cae9f2
  • st-storage: replace inflow.txt by inflows.txt according to the changing doc #1618
  • st-storage: update "group" parameter values for Short-Term Storage #1665
  • storage: fix INI file writing anomaly in Antares study update #1542
  • table-mode: fixes the reading of UI information in the case where the study has only one area #1674
  • table-mode: issue to read area information in the case where the study has only one area #1690
  • tests: use deepcopy for dict to only modify the copy bca0d60
  • thematic-trimming: correct the name of the "Profit by plant" variable 7190ee1
  • ui-api: resolve Area deletion & Layers/Districts UI modification issues #1677
  • ui-common: error with formState in Form 121d4e5
  • ui-common: prevent null values for string cells in HandsonTable component #1689
  • ui-debug: issue to display json file in outputs #1747
  • ui-i18n: add missing key 685c487
  • ui-i18n: missing key 7c8de2a
  • ui-map: area persistence issue after deletion 47d6bb6
  • ui-model: update Properties form with the new endpoint 15d5964
  • ui-redux: missing state update for layers/districts after node deletion 42d698c
  • ui-redux: remove eslint no-param-reassign warning 3f88166
  • ui-xpansion: add the missing batch_size field in the Xpansion parameters view #1739
  • variant: enhance VariantCommandsExtractor for Renewable Clusters and Short-Term Storage #1688
  • variant: fixed TS deletion of renewable clusters and short-term storage #1693
  • variant-manager: correct the variant manager 5cc467f
  • web: change API response_model to avoid ValidationError #1526
  • worker: archive worker must be kept alive for processing #1558
  • xpansion: correct field names and types in Xpansion settings #1684
  • correct the import of declarative_base to avoid a deprecation warning. c8c8388

Documentation

  • api: improve the documentation of the study upgrade and import endpoints a8691bb
  • correct and improve the "Variant Manager" documentation #1637
  • update changelog for the v2.15 release ccd6496

Tests

  • api: correct JSON payloads for "table mode" 41b2cc8
  • api: correct unit tests for Xpansion-related endpoints to use bytes for file upload 7936312
  • api: improve unit test of get_dependencies endpoint 0524e91
  • api: simplify initialization of the database in unit tests #1540
  • api: update UploadFile object construction for Starlette >= 0.24 d9c5152
  • api: update integration tests for Starlette 0.21.0 ec3c7b7
  • api: update stream file download tests for compatibility with Requests and Httpx ce6bdc5
  • api-layers: add layers management tests 4523022
  • export: correct unit tests for VariantStudyService.generate_task method f533fdc
  • ini: correct the IniFileNode unit tests b96a92e
  • matrix: use NumPy arrays in parse_commands UT and correct path on Windows 2528cce
  • matrix-service: improve unit tests for MatrixContentRepository class e35639f
  • matrix-service: improve unit tests for MatrixService class 8cf9f94
  • st-storage: improve unit tests to check "group" default value and add typing a3051ac
  • thematic-trimming: correct unit test (study.version was not set) 28720f5
  • add Properties form test and fix others one 5267276
  • improve and correct unit tests for AreaManager e6f7ed2
  • improve fixtures in unit tests for better reuse #1638

Refactoring

  • allocation: remove deprecated class FixedAllocationKeyIniReader b1299fe
  • api: refactor data extraction logic in _extract_data_from_file function 219990b
  • api-model: improve transform_name_to_id implementation and add UT 24b1059
  • api-model: improve transform_name_to_id implementation for more efficiency #1546
  • command: improve implementation of area management #1636
  • command: rename "cluster" as "thermal cluster" #1639
  • matrix: improve implementation of dataframe saving c156c3b
  • matrix-service: improve implementation of create_by_importation b054b8b
  • matrix-service: simplify timestamp calculation used during MatrixDTO creation be5aafe
  • matrix-service: use matrix_id in favor of matrix_hash as matrix hashing is an implementation detail fc9e48c
  • rawstudy-filesystem: improve error message raised by ChildNotFoundError 9a6c4f9
  • tools: correct migration from Requests to httpx 09be12a
  • tools: prepare for migration from Requests to httpx f494188
  • variant: enhance implementation of variant commands #1539
  • avoid always returning the same value (reported by SonarCloud) 6e4d8cb
  • correct SonarCloud issues 39f584d
  • enhance code quality in variant commands implementation 608f0b3
  • fix lambda capturing name variable reported by SonarCloud cb3022c
  • refactoring of unit tests and Model improvement #1647

Styles

  • api: change field version check d99be3f
  • matrix-service: correct the Google docstring format 26bfc2d
  • ui: correct spelling mistake in webapp code #1570
  • ui-redux-map: minor improvements 27cb4be
  • add configuration for iSort cd6ae15
  • correct mypy issues 8f5f97b
  • ignore unused imports in dbmodel.py 853af50
  • reindent ini_reader.py d5fa83d
  • reindent project base code, scripts/ and unit tests using line-length = 120 51a0f27
  • reindent source code in unit tests 4515451
  • remove unused imports in production base code 9dc34ce
  • remove unused imports in unit tests 496f164
  • sort imports in project base code and unit tests using line_length = 120 13a5929
  • sort imports in project base code and unit tests using iSort 44ac3d8

Build System

  • launcher: use Antares-Launcher v1.3.0 which preserve the "output" directory required by the --step=sensitivity Xpansion option #1606
  • add iSort in the requirements-dev.txt e86b58f
  • include typing_extensions in the project requirements (new direct usage) 00ae992
  • move checksumdir and locust libraries from project requirements to tests requirements (only used in unit tests) f8d036e
  • remove unused Sphinx-related libraries from docs requirements 6c3f4bf
  • remove unused libraries from project requirements c4495a0
  • specify the node versions supported #1553
  • update project configuration, specify exclusion of non-package directories when using find_packages 236a2d7
  • update project's metadata in setup.py (author, author email, license, platforms, classifiers) 1de508e

Continuous Integration

  • change the configuration of mypy to ignore httpx package 6eab8ac
  • change the main GitHub action to run iSort for code style checking 837a229
  • correct the main GitHub action to use Black~=23.7.0 609d334
  • upgrade mypy to v1.4.1 and Black to v23.7.0 for improved typing and formatting #1685

Chore

  • github-actions: update Node.js version to 18.16.1 b9988f6
  • correct handling of base class with no __annotations__ in AllOptionalMetaclass d9ed61f
  • correct indentation 4af01b4
  • increase line length limit to 120 characters for Black and iSort 586fb43
  • remove # fmt: off/# fmt: on Black directives c970257

v2.14.6 (2023-09-01)

🚩 NOTE

From a user perspective, this release does not include any new features or bug fixes.

This release is solely focused on developers and aims to enhance code quality and readability by organizing imports and extending line width to 120 characters. We will now be using iSort for import sorting. The configuration for Black code formatting has been updated.

Styles

  • add configuration for iSort (0b20e5d)
  • sort imports in project base code and unit tests using iSort (ec8b757)
  • ignore unused imports in dbmodel.py (175b7fe)
  • remove unused imports in production base code (3d98f93)
  • remove unused imports in unit tests (6ea3370)
  • sort imports in project base code and unit tests using line_length = 120 (c0daaf7)
  • reindent project base code and unit tests using line-length = 120 (2280d27)
  • reindent scripts/ directory using line-length = 120 (c125fc7)

Chore

  • increase line length limit to 120 characters for Black and iSort (f8d45d4)
  • remove # fmt: off/# fmt: on Black directives (c29dcac)

Build System

  • add iSort in the requirements-dev.txt (b3ff6b9)

Continuous Integration

  • change the main GitHub action to run iSort for code style checking (b2efeab)
  • correct the main GitHub action to use Black~=23.7.0 (c72d0d5)

Code Refactoring

  • fix lambda capturing name variable reported by SonarCloud (42d2213)
  • correct SonarCloud issues (693ae07)
  • avoid always returning the same value (reported by SonarCloud) (314da0b)

Contributors

laurent-laporte-pro

v2.14.5 (2023-08-11)

Features

  • ui-i18n: add missing adequacy patch translations 1680 (8a06461)
  • ui: removed the "patch" number from the list of versions in the simulation launch dialog when it's equal to 0 1698 (1bc0156)

Bug Fixes

  • web: modified API response model to prevent Watcher's ValidationError 1526 (b0e48d1)
  • xpansion: corrected field types for Xpansion parameters (sensitivity analysis) (3e481b9)
  • variant: fixed implementation of the method for extracting the difference between two studies (c534785)
  • api: added missing use_leeway field and validation rules in the hydro configuration form 1650 (27e46e5)
  • export: ZIP outputs are no longer compressed before export (used by Xpansion) 1656 (cba6261)
  • log-parser: simplified analysis and improved accuracy in displaying simulation progress for a study 1682 (2442674)
  • table-mode: corrected reading of UI information when the study has only one area 1674 (55c4181)
  • table-mode: issue to read area information in the case where the study has only one area 1690 (87d9617)
  • command: improve INI reader to support API PUT /v1/studies/{uuid}/raw 1461 (9e5cf25)
  • variant: fixed time series deletion of renewable clusters 1693 (4ba1b17)
  • launcher: fixing launcher versions display and creation of the endpoint /v1/launcher/versions (410afc2) and 1672 (a76f3a9)
  • launcher: set the default number of cores to 22 (instead of 12) 1695 (2c89799)

Continuous Integration

  • upgrade mypy to v1.4.1 and Black to v23.7.0 for improved typing and formatting 1685 (7cff8c5)

Tests

  • enhanced integration tests: refactored fixtures and resources (70af9b1)

Contributors

laurent-laporte-pro, MartinBelthle, hdinia, skamril

v2.14.4 (2023-06-28)

Bug Fixes

  • launcher: take into account the nb_cpu in the local Solver command line 1603 (7bb4f0c)
  • api: resolve version display issue in Desktop's /version endpoint 1605 (a0bf966)
  • study: fixing case sensitivity issues in reading study configuration 1610 (f03ad59)
  • api: correct /kill end-point implementation to work with PyInstaller (213fb88)
  • fastapi: correct URL inconsistency between the webapp and the API 1612 (195d22c)
  • i18n: wrong translations and add missing keys 1615 (7a7019c)
  • deploy: change example study settings to allow parallel run 1617 (389793e)
  • variant: get synthesis now also works for level 2+ variants 1622 (661b856)
  • results: refresh study outputs when job completed and add back button 1621 (39846c0)
  • deploy: remove unnecessary Outputs from "000 Free Data Sample" study 1628 (a154dac)

Documentation

  • model: add documentation to the Matrix and MatrixDataSet classes (f7ae5f4)

Code Refactoring

  • api: remove unused protected function (6ea3ad7)

Contributors

laurent-laporte-pro, MartinBelthle, skamril

v2.14.3 (2023-06-20)

Bug Fixes

  • desktop: correct Antares Desktop packaging (95d7544)
  • error: improve error handling with enhanced error message 1590 (9e22aee)
  • matrix: significant performance enhancement for Time Series update 1588 (220107a)
  • launcher: correct the launching of the local Antares Solver (8a31514)
  • api: add missing "annual" key on correlation config for new areas 1600 (ac98a76)

Documentation

  • update user instructions for Antares Web Desktop version (98bcac5)

Features

  • common: display a snackbar error when async default values failed in Form 1592 (c213437)

Contributors

laurent-laporte-pro, skamril, hdinia

v2.14.2 (2023-06-12)

Bug Fixes

  • renewable: fixing issue with missing display of renewable cluster form 1545 (03c7628)
  • worker: archive worker must be kept alive for processing 1567 (34e1675)
  • build: fix pyinstaller build 1566 (2c7b899)
  • desktop: correct date parsing in localized environment 1568 (1d9177a)
  • matrix: check invalid params and empty matrix in matrix update 1572 (f80aa6b)
  • model: raise an error if the "about-the-study/parameters.ini" file is missing in the ZIP file 1582 (c04d467)

Features

  • matrix: improve matrix read/write using NumPy 1562 (2784828)

Contributors

laurent-laporte-pro

v2.14.1 (2023-05-15)

Bug Fixes

  • storage: performs a partial unzip to read the config of the simulation results (61e019d2)

v2.14.0 (2023-05-12)

Features

  • api-hydro: add allocation form endpoints (b2bee0e)
  • api: update optimization form endpoint and add adequacy patch form endpoint (dfa1b27)
  • ui-config: update optimization form and add adequacy patch form (f68c54b)
  • ui-hydro: add allocation form (5dbb85f)
  • ui-hydro: add inflows structure tab (a466e34)
  • ui-hydro: add row names (94dc38c)
  • ui-hydro: display area name instead of ID (0df0b21)
  • ui-hydro: update allocation form styles (ac470c1)
  • ui-matrix: update "Time" column and add index row headers (3d50bf9)
  • ui: add @total-typescript/ts-reset lib and tsUtils 1408 (aa5e3e8)
  • ui: update react-hook-form lib and use the new API 1444 (1d129d9)

Bug Fixes

  • common: field array change doesn't trigger on auto submit 1439 (910db64)
  • matrix: correct the frequency of some matrices 1384 (2644416)
  • ui-common: add matrices float handling (99ba81f)
  • ui-hydro: correct column names (e529a79)
  • ui-hydro: update hydro matrices columns (56641d7)
  • ui: fix typo on error page 1390 (da00131)
  • ui: size issue with HandsonTable (f63edda)

Styles

Documentation

  • api: add API documentation for the hydraulic allocation (and fix minor awkwardness) (08680af)
  • study-upgrade: add the "How to upgrade a study?" topic in the documentation 1400 (2d03bef)

IMPORTANT: The antares-launcher Git submodule is dropped.

Contributors

hdinia, skamril, flomnes, laurent-laporte-pro

v2.13.2 (2023-04-25)

Bug Fixes

  • api: fix uncaught exceptions stopping slurm launcher loop 1477 (2737914)

Contributors

Sylvain LECLERC

v2.13.1 (2023-04-11)

Bug Fixes

  • desktop: use Antares Solver v8.5 for Antares Web Desktop version 1414 (6979e87)
  • launcher: improved reliability of task state retrieval sent to SLUM 1417 (101dd8c)
  • api: show Antares Launcher version in the /version end point 1415 (12bfa84)
  • desktop: use Antares Solver v8.5.0 for Antares Web Desktop version 1419 (8f55667)
  • api: better handling of exception to catch the stacktrace 1422 (a2d0de0)

Contributors

Laurent LAPORTE, and MartinBelthle

v2.13.0 (2023-03-09)

Features

  • ui-common: add doc link on subsections 1241 (1331232)
  • api-websocket: better handle the events in eventbus braodcasting 1240 (99f2590)
  • ui-commands: add confirm dialog on delete command 1258 (0be70f8)
  • redux: extend left menu by default 1266 (1c042af)
  • ui-study: add text ellipsis on study name 1270 (6938114)
  • launcher: integrate Antares Solver v8.5.0. 1282 (57bbd3d)
  • ui: add tooltips to folded menu 1279 (b489dd9)
  • github: add feature request template 1284 (73aa920)
  • github: add bug report template 1283 (8e05370)
  • ui-results: add download button on results matrix 1290 (343df96)
  • ui-redux: add menu state in local storage 1297 (3160f29)
  • ui-study: add path tooltip on study title 1300 (429d288)
  • ui-map: add layers and districts French translations 1292 (12f4e92)

Code Refactoring

  • simplify the maintenance mode and service. (1590f84)
  • change the MaintenanceMode class to implement a conversion from/to bool. (a5a5689)

Bug Fixes

  • api-workers: Prevent scanning of the default workspace 1244 (06fd2bc)
  • ui-study: remove the create command button 1251 (463e7a7)
  • ui-wording: correct wording of user messages 1271 (7f66c1a)
  • ui-wording: correct french translations 1273 (f4f62f2)
  • api: correct the way the task completion is notified to the event bus 1301 (b9cea1e)
  • storage: ignore zipped output if an unzipped version exists 1269 (032b581)

Build System

  • update version to 2.13.0 (a44a896)
  • remove redundant call to mypy in GitHub actions. (96e2b82)
  • upgrade Black version in requirements-dev.txt and .github/workflows/main.yml. (464c7ff)

IMPORTANT: The antares-launcher project (source files) is no longer needed, because the Antares-Launcher Python library is now declared as a dependency in the requirements.txt file.

Styles

  • fix mypy error: Unused "type: ignore" comment. (86f9076)
  • Reformat the source code and unit tests in accordance with the rules of black v23.1.0 (new release). (73bc5b0)

Continuous Integration

Contributors

hdinia, Laurent LAPORTE, pl-buiquang, skamril, MartinBelthle