diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e3d01..e7d99be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -## Changelog for v0.3.1 +## Changelog for v0.4.0 ### Bugfixes -- Fixed SegFaults due to concurrent acces to `github.com/stianeikeland/go-rpio` (the GPIO library this project uses) -- Those bugs would occur if using a `switchRF` after a `switchGPIO` + +- (Breaking) Health check now also requires authentication and therefore + validates the node's token diff --git a/Makefile b/Makefile index 0eeee80..4f81dca 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ appname := smarthome-hw -version := 0.3.1 +version := 0.4.0 sources := $(wildcard *.go) build = mkdir -p smarthome-hw-bin && cp -r dist/* smarthome-hw-bin && GOOS=$(1) GOARCH=$(2) go build -o ./smarthome-hw-bin/$(appname)$(3) $(4) diff --git a/README.md b/README.md index 28b7f0b..932dfdb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Node (formerly *Smarthome-hw*) -**Version**: `0.3.1` +**Version**: `0.4.0` Hardware interface for the Smarthome server ### Purpose diff --git a/go.mod b/go.mod index 80d45cc..9f325b3 100644 --- a/go.mod +++ b/go.mod @@ -15,3 +15,5 @@ require ( github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect ) + +replace github.com/smarthome-go/rpirf => ../rpirf/ diff --git a/main.go b/main.go index 6358e71..56c695f 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ func main() { if err := config.ReadConfigFile(); err != nil { log.Fatal("Failed to read config file: ", err.Error()) } - config.Version = "0.3.1" + config.Version = "0.4.0" log.Debug("Successfully read config file") r := api.NewRouter()