From 9cd927cc8e2aa23403ccb167cc5113d1a8d56d46 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 19 Dec 2023 04:45:19 +0100 Subject: [PATCH] feat: release v0.5.5 --- CHANGELOG.md | 14 ++++++++++++++ README.md | 14 +++++--------- .../etc/spaceapi-server/config.yaml | 2 +- .../etc/spaceapi-server/template.yaml | 2 ++ spaceapi_server/__init__.py | 2 +- 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d8992..202e60b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # SpaceAPI Server Changelog + +## Version 0.5.5 + +Bugfix & Maintenance release + +### Changes + + +- Add SpaceAPI Schema v14 in example +- Fix template filename in example config.yaml + + + + ## Version 0.5.4 diff --git a/README.md b/README.md index 2744ddb..eb38a92 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # SpaceAPI Server -[![status-badge](https://woodpecker.kabelsalat.ch/api/badges/85/status.svg)](https://woodpecker.kabelsalat.ch/repos/85) - A lightweight server for [SpaceAPI][spaceapi] endpoints. Includes support for pluggable templating, so dynamic content, like sensor values, can be added. @@ -92,14 +90,12 @@ sensors: ### 0. Download -Head over to the [Releases][releases], download and install the -package that suits your needs. Alternatively, clone the repo and get -started. There also is a Container Image available through the -[Gitlab registry][registry] tagged as -`registry.gitlab.com/s3lph/spaceapi-server`. +Head over to the [Packages][packages] tab, download and install the +package that suits your needs or set up the Debian repository. +Alternatively, clone the repo and get started. The remainder of this document assumes that you installed the -server as an OS distribution package. +server as a Debian package. ### 1. Overview @@ -307,7 +303,7 @@ state: !lookup_sensor [main]: https://gitlab.com/s3lph/spaceapi-server/commits/main -[releases]: https://gitlab.com/s3lph/spaceapi-server/-/releases +[packages]: https://git.kabelsalat.ch/s3lph/spaceapi-server/packages [spaceapi]: https://spaceapi.io/ [pypi-bottle]: https://pypi.org/project/bottle/ [pypi-yaml]: https://pypi.org/project/PyYAML/ diff --git a/package/debian/spaceapi-server/etc/spaceapi-server/config.yaml b/package/debian/spaceapi-server/etc/spaceapi-server/config.yaml index 25033a3..2f1cf6f 100644 --- a/package/debian/spaceapi-server/etc/spaceapi-server/config.yaml +++ b/package/debian/spaceapi-server/etc/spaceapi-server/config.yaml @@ -1,6 +1,6 @@ --- address: "::" port: 8080 -template: /etc/spaceapi-server/template.json +template: /etc/spaceapi-server/template.yaml plugins_dir: /etc/spaceapi-server/plugins plugins: {} diff --git a/package/debian/spaceapi-server/etc/spaceapi-server/template.yaml b/package/debian/spaceapi-server/etc/spaceapi-server/template.yaml index d331863..144b348 100644 --- a/package/debian/spaceapi-server/etc/spaceapi-server/template.yaml +++ b/package/debian/spaceapi-server/etc/spaceapi-server/template.yaml @@ -1,5 +1,7 @@ --- api: "0.13" +api_compatibility: + - "14" space: Example logo: https://example.org/logo.png url: https://example.org diff --git a/spaceapi_server/__init__.py b/spaceapi_server/__init__.py index 0413107..c328cbd 100644 --- a/spaceapi_server/__init__.py +++ b/spaceapi_server/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.5.4' +__version__ = '0.5.5'