go mod tudy -go 1.16
.- CI Tests:
go1.16
,go1.17
,go1.18
. - CI Cross-build: cleanup.
golangci-lint
added & code cleaned.- obsolete
darwin/386
code removed.
ppc64le
build supported #33.
GOOS=android
build supported #29.- Unused second argument for unix build in method
Port.SetTimeoutEx()
was made optional in backward compatibility manner. go 1.13
errors supported:PortError.Unwrap()
method added,PortError.Cause()
method marked as deprecated.
GOOS=darwin GOARCH=arm64
build supported #25.- Fixed regression in
GOOS=darwin
build was introduced inv2.3.0
- Some fixes backported from https://github.com/bugst/go-serial #22.
PortError.Cause()
method added
- New Go Module import path
github.com/albenik/go-serial/v2
serial.Port
interface discarded in favor ofserial.Port
structure (similar toos.File
)serial.Mode
discared and replaced withserial.Option
serial.Open()
method changed to useserila.Option
)port.SetMode(mode *Mode)
replaced withport.Reconfigure(opts ...Option)
Disable HUPCL by default
#7WithHUPCL(bool)
option introduced- Minor bugfix & refactoring
- Forked from https://github.com/bugst/go-serial
- Minor but incompatible interface & logic changes implemented
- Import path altered