Skip to content

Commit

Permalink
chore: Bump version to 0.4.0, write CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MikMuellerDev committed May 5, 2023
1 parent 2a8baf2 commit 40cd001
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Node (formerly *Smarthome-hw*)
**Version**: `0.3.1`
**Version**: `0.4.0`
Hardware interface for the Smarthome server

### Purpose
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 40cd001

Please sign in to comment.