Skip to content

Commit

Permalink
Release version 0.0.33
Browse files Browse the repository at this point in the history
  • Loading branch information
MikMuellerDev committed May 24, 2022
1 parent 62b5d08 commit 4dfeb07
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appname := smarthome
workingdir := smarthome
sources := $(wildcard *.go)
version := 0.0.32
version := 0.0.33

build = CGO_ENABLED=0 GOOS=$(1) GOARCH=$(2) go build -ldflags "-s -w" -v -o $(appname) $(4)
tar = mkdir -p build && cd ../ && tar -cvzf ./$(appname)_$(1)_$(2).tar.gz $(workingdir)/$(appname) $(workingdir)/web/dist $(workingdir)/web/html $(workingdir)/resources && mv $(appname)_$(1)_$(2).tar.gz $(workingdir)/build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Smarthome
**Version**: `0.0.32`
**Version**: `0.0.33`

A completely self-built Smarthome-system written in Go.

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
smarthome:
image: mikmuellerdev/smarthome:0.0.32
image: mikmuellerdev/smarthome:0.0.33
container_name: smarthome
hostname: smarthome
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion docker/container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3

LABEL author="MikMuellerDev"
LABEL version="0.0.32"
LABEL version="0.0.33"

COPY ./cache /app

Expand Down
2 changes: 1 addition & 1 deletion docker/container/motd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######## Smarthome: A completely self-built Smarthome-system written in Go
### ### Issues : https://github.com/smarthome-go/smarthome/issues
### ### Version : 0.0.32
### ### Version : 0.0.33
### ###
### ###
|# #########@ |
Expand Down
28 changes: 16 additions & 12 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
## Changelog for v0.0.32
## Changelog for v0.0.33

### Rooms Frontend
- (*Bugfix*) Fixed wrong alignment of add room button in rooms GUI
### Backend
- (*Addition*) Added `SMARTHOME_ENV_PRODUCTION` environment variable to the server
- During docker-image build, the variable is set to `true` by default
- Is now included in the `docker-compose.yml` as example
- (*Improvement*) Modified startup log messages to be more precise
- (*Bugfix*) Fixed bad user-color bug: added default user-colors to homescript `AddUser` function
### Homescript
- Added Http methods for making network requests via Homescript
- Introduced the `hmsNetwork` permission which is required in order to make network requests from Homescript
- The `get` method requires an arbitrary URL and returns the response as a string
- An example for the print function is: `print(get('http://localhost:8082'))`
- The `http` method requires a URL, a request-method, and a request-body and returns the response as a string
- An example fot the http function is: `print(http('http://localhost:8082', 'POST', '{"key": "value"}'))`

### Development
- (*Improvement*) Restructured development docker directory
- (*Bugfix*) Prevented interference of `foo-bar-docker-compose.yml` files in docker directory
### Tweaks
- Tweaked label of *create-automation* button in automation GUI
- Altered a debug message in the configuration backend
- Indroduced dynamic orientations when opening the web-ui as a PWA

### Docker-Container
- Created a symlink from `/usr/bin/homescript` to `/usr/bin/shome`
- Allows the user to use the `shome` command as an alias for the `homescript` command
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var port = 8082 // Default port on which the server listens, can be overwritten

func main() {
// Do not change manually, use the `make version` command instead
utils.Version = "0.0.32"
utils.Version = "0.0.33"

startTime := time.Now()

Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smarthome-web",
"version": "0.0.32",
"version": "0.0.33",
"description": "Web interface for Smarthome",
"author": "MikMuellerDev",
"contributors": [
Expand Down

0 comments on commit 4dfeb07

Please sign in to comment.