Skip to content

Commit 40cd001

Browse files
committed
chore: Bump version to 0.4.0, write CHANGELOG.md
1 parent 2a8baf2 commit 40cd001

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## Changelog for v0.3.1
1+
## Changelog for v0.4.0
22

33
### Bugfixes
4-
- Fixed SegFaults due to concurrent acces to `github.com/stianeikeland/go-rpio` (the GPIO library this project uses)
5-
- Those bugs would occur if using a `switchRF` after a `switchGPIO`
4+
5+
- (Breaking) Health check now also requires authentication and therefore
6+
validates the node's token

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
appname := smarthome-hw
2-
version := 0.3.1
2+
version := 0.4.0
33
sources := $(wildcard *.go)
44

55
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)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Node (formerly *Smarthome-hw*)
2-
**Version**: `0.3.1`
2+
**Version**: `0.4.0`
33
Hardware interface for the Smarthome server
44

55
### Purpose

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ require (
1515
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
1616
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
1717
)
18+
19+
replace github.com/smarthome-go/rpirf => ../rpirf/

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717
if err := config.ReadConfigFile(); err != nil {
1818
log.Fatal("Failed to read config file: ", err.Error())
1919
}
20-
config.Version = "0.3.1"
20+
config.Version = "0.4.0"
2121
log.Debug("Successfully read config file")
2222

2323
r := api.NewRouter()

0 commit comments

Comments
 (0)