diff --git a/CHANGELOG.md b/CHANGELOG.md index 3094a54c..70fcafc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,33 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e * -- +## [0.2.5] - 2022-12-01 + +### Changed + +* variable.py: get_fmi_data_type(): + * Removed the elif branch 'isinstance(arg, Sequence)'.
+ It caused problems as it falsely returned the FMI type 'Enumeration' also for strings.
+ The respective elif branch is for the time being commented out.
+ However, a proper solution is needed as soon as xs:enumeration is used in an OSP case.
+ The problem is registered as [Issue #5](https://github.com/dnv-opensource/ospx/issues/5) +* Code formatting: Changed from yapf to black +* STYLEGUIDE.md : Adjusted to match black formatting +* VS Code settings: Updated to use black as formatter +* requirements.txt: Updated dependencies to their most recent versions +* GitHub actions (yml files): Updated following actions to their most recent versions: + * checkout@v1 -> checkout@v3 + * setup-python@v2 -> setup-python@v4 + * cache@v2 -> cache@v3 + +### Added + +* watchCosim: Added commandline option --scale
+ (allows to scale the generated images by a factor) +* Added sourcery configuration (.sourcery.yaml) +* Added py.typed file into the package root folder and included it setup.cfg as package_data + + ## [0.2.4] - 2022-11-08 ### Changed @@ -220,7 +247,8 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e * Added support for Python 3.10 -[unreleased]: https://github.com/dnv-opensource/ospx/compare/v0.2.4...HEAD +[unreleased]: https://github.com/dnv-opensource/ospx/compare/v0.2.5...HEAD +[0.2.5]: https://github.com/dnv-opensource/ospx/compare/v0.2.4...v0.2.5 [0.2.4]: https://github.com/dnv-opensource/ospx/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/dnv-opensource/ospx/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/dnv-opensource/ospx/compare/v0.2.1...v0.2.2 diff --git a/docs/source/conf.py b/docs/source/conf.py index 11fd467f..38a630cf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,7 +23,7 @@ author = "Frank Lumpitzsch, Claas Rostock, Seung Hyeon Yoo" # The full version, including alpha/beta/rc tags -release = "0.2.4" +release = "0.2.5" # -- General configuration --------------------------------------------------- diff --git a/requirements.txt b/requirements.txt index 7f4b371b..657bbb24 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,4 +17,4 @@ matplotlib>=3.6 graphviz>=0.20 # ../dictIO -dictIO>=0.2.2 +dictIO>=0.2.3 diff --git a/setup.cfg b/setup.cfg index a68900ea..78c40866 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ospx -version = 0.2.4 +version = 0.2.5 summary = Extension package to farn, adding support to build OSP simulation cases using FMUs description = Extension package to farn , adding support to build OSP (co-)simulation cases using functional mockup units (FMUs). long_description = file: README.md @@ -41,7 +41,7 @@ install_requires = pandas>=1.5 matplotlib>=3.6 graphviz>=0.20 - dictIO>=0.2.2 + dictIO>=0.2.3 # dictIO @ file:../dictIO [options.packages.find]