Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix v2.16.6 #1965

Merged
merged 9 commits into from
Mar 4, 2024
Prev Previous commit
build: prepare hotfix release v2.16.6 (2024-03-04)
skamril committed Mar 4, 2024
commit 65f9ed7d0eca886f94b4206b06b952319b04914c
4 changes: 2 additions & 2 deletions antarest/__init__.py
Original file line number Diff line number Diff line change
@@ -7,9 +7,9 @@

# Standard project metadata

__version__ = "2.16.5"
__version__ = "2.16.6"
__author__ = "RTE, Antares Web Team"
__date__ = "2024-02-29"
__date__ = "2024-03-04"
# noinspection SpellCheckingInspection
__credits__ = "(c) Réseau de Transport de l’Électricité (RTE)"

18 changes: 17 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Antares Web Changelog
=====================

v2.16.6 (2024-03-04)
--------------------

### Features

* **ui-tasks:** add launcher metrics [`#1960`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1960)
* **ui-tasks:** auto refresh launcher metrics [`#1963`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1963)


### Bug Fixes

* **ui-results:** adjust date times for accurate frequency display [`#1960`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1960)
* **ui-common:** matrices display issues [`#1960`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1960)
* **ui-common:** download latest value of matrices [`#1962`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1962)


v2.16.5 (2024-02-29)
--------------------

@@ -18,7 +34,7 @@ v2.16.5 (2024-02-29)
* **ui-hydro:** disable stretch to fix display issue on some matrices [`#1945`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1945)
* **variants:** correct the generation of variant when a snapshot is removed [`#1947`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1947)
* **tags:** resolve issue with `study.additional_data.patch` attribute reading [`#1944`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1944)
* **study:** correct access to study `additional_data` (#1949) [`#1949`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1949)
* **study:** correct access to study `additional_data` [`#1949`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1949)
* **ui-tablemode:** create modal is frozen when submitting without column [`#1946`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1946)
* **ui-tablemode:** 'co2' column not working [`#1952`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1952)
* **ui:** add missing i18n dependency [`#1954`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1954)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

setup(
name="AntaREST",
version="2.16.5",
version="2.16.6",
description="Antares Server",
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -6,5 +6,5 @@ sonar.exclusions=antarest/gui.py,antarest/main.py
sonar.python.coverage.reportPaths=coverage.xml
sonar.python.version=3.8
sonar.javascript.lcov.reportPaths=webapp/coverage/lcov.info
sonar.projectVersion=2.16.5
sonar.projectVersion=2.16.6
sonar.coverage.exclusions=antarest/gui.py,antarest/main.py,antarest/singleton_services.py,antarest/worker/archive_worker_service.py,webapp/**/*
4 changes: 2 additions & 2 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antares-web",
"version": "2.16.5",
"version": "2.16.6",
"private": true,
"type": "module",
"scripts": {

Unchanged files with check annotations Beta

import ConfirmationDialog from "../../../../../common/dialogs/ConfirmationDialog";
import LinearProgressWithLabel from "../../../../../common/LinearProgressWithLabel";
export const ColorStatus = {

Check warning on line 33 in webapp/src/components/App/Singlestudy/HomeView/InformationView/LauncherHistory/JobStepper.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
running: "warning.main",
pending: "grey.400",
success: "success.main",
apiRef?: React.Ref<UseFormReturnPlus<TFieldValues, TContext> | undefined>;
}
export function useFormContextPlus<TFieldValues extends FieldValues>() {

Check warning on line 86 in webapp/src/components/common/Form/index.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
return useFormContextOriginal() as UseFormReturnPlus<TFieldValues>;
}
};
}
function BooleanFE(props: BooleanFEProps) {

Check warning on line 32 in webapp/src/components/common/fieldEditors/BooleanFE.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Move your component(s) to a separate file
const {
defaultValue,
value,
);
}
export default reactHookFormSupport({ defaultValue: false })(BooleanFE);

Check warning on line 65 in webapp/src/components/common/fieldEditors/BooleanFE.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh can't handle anonymous components. Add a name to your export
helperText?: React.ReactNode;
}
function CheckBoxFE(props: CheckBoxFEProps) {

Check warning on line 21 in webapp/src/components/common/fieldEditors/CheckBoxFE.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Move your component(s) to a separate file
const {
value,
defaultValue,
);
}
export default reactHookFormSupport({ defaultValue: false })(CheckBoxFE);

Check warning on line 58 in webapp/src/components/common/fieldEditors/CheckBoxFE.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh can't handle anonymous components. Add a name to your export
// TODO Add `onChange`'s value in `inputRef` and `onBlur`'s event
function CheckboxesTagsFE<

Check warning on line 45 in webapp/src/components/common/fieldEditors/CheckboxesTagsFE.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Move your component(s) to a separate file
T,
DisableClearable extends boolean | undefined = undefined,
FreeSolo extends boolean | undefined = undefined,
defaultValue?: string;
};
function ColorPickerFE(props: ColorPickerFEProps) {

Check warning on line 19 in webapp/src/components/common/fieldEditors/ColorPickerFE/index.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Move your component(s) to a separate file
const { value, defaultValue, onChange, sx, inputRef, ...textFieldProps } =
props;
const [currentColor, setCurrentColor] = useState(defaultValue || value || "");
);
}
export default reactHookFormSupport({ defaultValue: "" })(ColorPickerFE);

Check warning on line 116 in webapp/src/components/common/fieldEditors/ColorPickerFE/index.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh can't handle anonymous components. Add a name to your export
helperText?: string;
}
function ListFE<TItem, TOption>(props: ListFEProps<TItem, TOption>) {

Check warning on line 62 in webapp/src/components/common/fieldEditors/ListFE/index.tsx

GitHub Actions / npm-test (ubuntu-20.04)

Fast refresh only works when a file only exports components. Move your component(s) to a separate file
const {
value,
defaultValue,