Fix version reporting #260

Merged
cmo merged 5 commits from fix-version into master 2026-07-29 08:56:49 +00:00
6 changed files with 18 additions and 7 deletions

View file

@ -1,6 +1,18 @@
# 6.3.4 (2026-07-29)
## Bugfixes
- Show the correct version in FastAPI docs and in the `/server`-endpoint.
- Fix info-output for conversion of version 1 configuration to version 2 configuration.
The output now shows the correct source file.
- Fix typos
# 6.3.3 (2026-07-15) # 6.3.3 (2026-07-15)
# Changes ## Changes
- Ensure that curated path and incoming path definitions do not point - Ensure that curated path and incoming path definitions do not point
outside the storage-root tree. outside the storage-root tree.

View file

@ -18,7 +18,7 @@ import dump_things_service
project = 'dump-things-service' project = 'dump-things-service'
copyright = '2025-2026, Christian Mönch' copyright = '2025-2026, Christian Mönch'
author = 'Christian Mönch and' author = 'Christian Mönch'
release = dump_things_service.__version__ release = dump_things_service.__version__
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View file

@ -1 +0,0 @@
__version__ = '6.3.0'

View file

@ -43,7 +43,7 @@ from dump_things_service import (
HTTP_404_NOT_FOUND, HTTP_404_NOT_FOUND,
Format, Format,
) )
from dump_things_service.__about__ import __version__ from dump_things_service import __version__
from dump_things_service.abstract_config import ( from dump_things_service.abstract_config import (
Configuration, Configuration,
check_collection, check_collection,
@ -258,7 +258,7 @@ def initialize_from_config_file(
if config_version == CONFIG_VERSION_1_ID: if config_version == CONFIG_VERSION_1_ID:
logger.info( logger.info(
'Converting version 1 configuration at %s', 'Converting version 1 configuration at %s',
arguments.config, config_file,
) )
config_dict = convert_config_1_to_config_2( config_dict = convert_config_1_to_config_2(
config_dict, config_dict,

View file

@ -118,7 +118,7 @@ def compile_module_with_increasing_recursion_limit(
def get_model_for_schema( def get_model_for_schema(
schema_location: str, schema_location: str,
) -> tuple[ModuleType, list[str], str]: ) -> tuple[ModuleType, list[str], str]:
lgr.info(f'Building pydantic modulr for schema {schema_location}') lgr.info(f'Building pydantic module for schema {schema_location}')
pydantic_generator = PydanticGenerator(schema_location) pydantic_generator = PydanticGenerator(schema_location)
model = compile_module_with_increasing_recursion_limit( model = compile_module_with_increasing_recursion_limit(
pydantic_generator, pydantic_generator,

View file

@ -6,7 +6,7 @@ from .. import (
HTTP_404_NOT_FOUND, HTTP_404_NOT_FOUND,
HTTP_503_SERVICE_UNAVAILABLE, HTTP_503_SERVICE_UNAVAILABLE,
) )
from ..__about__ import __version__ from .. import __version__
from . import schema_file from . import schema_file
from .create_store import ( from .create_store import (
given_name, given_name,