Skip to content

Commit

Permalink
Bump version to v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Aug 28, 2024
1 parent feffe66 commit db94ee1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.1.1"
current_version = "2.2.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project tries to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.2.0] - 2024-08-28
### Added
- sankey colors from user input and/or predefined color mapping
- units to sankey
Expand Down
7 changes: 4 additions & 3 deletions django_comparison_dashboard/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
import pathlib
from enum import IntEnum

VERSION = "2.1.1"
VERSION = "2.2.0"

USE_DUMMY_DATA = os.environ.get("USE_DUMMY_DATA", "False") == "True"
SKIP_TS = os.environ.get("SKIP_TS", "False") == "True"

DATAPACKAGE_PATH = pathlib.Path(__file__).parent / "datamodel" / "datapackage.json"
COLOR_DICT_PATH = pathlib.Path(__file__).parent / "datamodel" / "color_dict.json"


class DataType(IntEnum):
Scalar = 0
Timeseries = 1
Expand Down Expand Up @@ -66,7 +67,7 @@ def __str__(self):

# Load the color dictionary from the JSON file
if os.path.exists(COLOR_DICT_PATH):
with open(COLOR_DICT_PATH, 'r', encoding='UTF-8') as color_file:
with open(COLOR_DICT_PATH, encoding="UTF-8") as color_file:
COLOR_DICT = json.load(color_file)
else:
COLOR_DICT = {}
COLOR_DICT = {}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-comparison-dashboard"
version = "2.1.1"
version = "2.2.0"
description = "Django app to compare scenarios in a dashboard"
authors = ["Hendrik Huyskens <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit db94ee1

Please sign in to comment.