diff --git a/Makefile b/Makefile index d2f0d148..a01cfd3d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ workingdir := smarthome sources := $(wildcard *.go) # Do not edit manually, use the `version` target to change the # version programmatically in all places -version := 0.1.1 +version := 0.2.0 build = CGO_ENABLED=0 GOOS=$(1) GOARCH=$(2) go build -ldflags "-s -w" -v -o $(appname) $(4) # TODO: eliminate usage of workingdir diff --git a/README.md b/README.md index a1581ec8..e5656af9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Smarthome -**Version**: `0.1.1` +**Version**: `0.2.0` A completely self-built Smarthome-system written in Go. diff --git a/docker-compose.yml b/docker-compose.yml index 29b2597e..3306ed0f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.7' services: smarthome: - image: mikmuellerdev/smarthome:0.1.1 + image: mikmuellerdev/smarthome:0.2.0 container_name: smarthome hostname: smarthome depends_on: diff --git a/docker/container/Dockerfile b/docker/container/Dockerfile index 655cca29..57c60d6d 100644 --- a/docker/container/Dockerfile +++ b/docker/container/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3 LABEL author="MikMuellerDev" -LABEL version="0.1.1" +LABEL version="0.2.0" COPY ./cache /app diff --git a/docker/container/motd b/docker/container/motd index d29bb131..be8ae83e 100644 --- a/docker/container/motd +++ b/docker/container/motd @@ -1,6 +1,6 @@ ######## Smarthome: A completely self-built Smarthome-system written in Go ### ### Issues : https://github.com/smarthome-go/smarthome/issues - ### ### Version : 0.1.1 + ### ### Version : 0.2.0 ### ### ### ### |# #########@ | diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index dc5e34a0..ae47ec86 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,11 @@ -## Changelog for v0.1.1 +## Changelog for v0.2.0 ### Bugfixes -- Fixed multiple bugs which affect the visual display of Homescript workspaces in the Homescript manager page -- Fixed a bug which affects the Homescript editor +- Decrease label size of create-new HMS button in HMS manager page (*avoid text-wrapping on mobile*) +- Decreased label text ambiguity of the same create-new HMS button +- Fixed overflowing header when using too many HMS-workspaces +- Updated some `NPM` dependencies (*for the web-UI*) + +### Additions +- Added the `/api/power/usage/all` API endpoint which returns all power-usage data since records started +- This endpoint is protected with normal API-authentication because it will cause some load on the server when requested diff --git a/main.go b/main.go index c88b803f..d0611066 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ var port uint16 = 8082 func main() { // Do not change the version manually, use the `make version` command instead - utils.Version = "0.1.1" + utils.Version = "0.2.0" startTime := time.Now() diff --git a/web/package-lock.json b/web/package-lock.json index 6d54bced..4eba2b51 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "smarthome-web", - "version": "0.1.1", + "version": "0.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "smarthome-web", - "version": "0.1.1", + "version": "0.2.0", "license": "GPL-2.0-only", "dependencies": { "@codemirror/basic-setup": "^0.20.0", diff --git a/web/package.json b/web/package.json index 1c1905a1..035b411c 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "smarthome-web", - "version": "0.1.1", + "version": "0.2.0", "description": "Web interface for Smarthome", "author": "MikMuellerDev", "contributors": [