Skip to content

Latest commit

 

History

History
106 lines (66 loc) · 3.13 KB

CHANGELOG.md

File metadata and controls

106 lines (66 loc) · 3.13 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

Changed

Deprecated

Removed

Fixed

Security

[0.31.6]

Fixed

  • Fixed a bug in scenario filter

[0.31.5]

Changed

  • GdxWriter now uses gamsapi module instead of gdxcc. A relatively recent version of GAMS may be needed to use the facility.

[0.31.4]

Fixed

  • Fixed issues with removing committed items, then adding new items with the same unique key.

[0.31.3]

Added

  • parameter_type table was added to the database. It defines valid value types for a parameter definition. The types are not currently enforced.
  • display_mode and entity_class_display_mode tables were added to the database. They define available display modes and how each class should be displayed under each mode. This is for visualization purposes only.

Changed

  • DB server version was bumped from 7 to 8 due to the changes below.
  • Scalar parameters (float, string, boolean) now have a proper type in parameter_definition, parameter_value and list_value tables. Previously, the type was left unspecified (None). Consequently, to_database() always returns a valid type string unless the value is None. Breaking: A type must now be always supplied to from_database() explicitly. A new migration script adds missing type information to existing databases.

[0.31.2]

Changed

  • It is now possible to omit name for add_entity_class_item() if dimension_name_list is supplied instead. The name of the class is then automatically generated from the dimensions.
  • It is now possible to omit name for add_entity_item() if element_name_list is supplied instead. The name of the entity is then automatically generated from the dimensions.

[0.31.1]

Changed

  • The server default of active_by_default is now True.

Removed

  • ScenarioActiveFlag import and export mappings have been removed. While the flag column is still in the database schema, it is not used anywhere, nor is it accessible e.g. in Toolbox.

[0.31.0]

This is the first release where we keep a Spine-Database-API specific changelog.

The database structure has changed quite a bit. Large parts of the API have been rewritten or replaced by new systems. We are still keeping many old entry points for backwards compatibility, but those functions and methods are pending deprecation.

Changed

  • Python 3.12 is now supported.
  • Objects and relationships have been replaced by entities. Zero-dimensional entities correspond to objects while multidimensional entities to relationships.

Added

  • Entity alternatives control the visibility of entities. This replaces previous tools, features and methods.
  • Support for superclasses. It is now possible to set a superclass for an entity class. The class then inherits parameter definitions from its superclass.

Removed

  • Tools, features and methods have been removed.