Releases: puellanivis/breton
Go 1.21 and dependencies update
- go 1.21
- protoc-24.2
- google.golang.org/protobuf v1.31.0
[masher] Support ARM64
masher
now supports building ARM64. It does so by default if uname -m
says it is on arm64, or if the --arm64
flag is passed in. On an arm64 machine the default can be overridden with --amd64
or --x86_64
to build again an x86_64 binary.
Go 1.20 compatibility
Yet again, the internal sort
functions have changed.
Go 1.19 compatibility
This update is to add compatibility with go1.19.
v0.2.12: Wider GOOS support
I’ve written lib/files/clipboard
to cover more than just linux, windows, and darwin.
Not supported: android
, nacl
, plan9
, and zos
but at least they should not compile-time error anymore.
The OSes: dragonflybsd
, freebsd
, linux
, netbsd
, openbsd
and solaris
still require you to have either xclip
or xsel
installed. If you do not have them installed, then the clip:
and clipboard:
URI schemes will always return os.ErrNotExist
.
v0.2.11: Avoiding UDP truncated reads.
Using files.Copy
with a UDP source had a problem where it was sometimes making reads with small buffers, which could lead to truncation of packets. This was solved in two parts:
- Datagram readers are now a buffered stream fed from individual packet reads. This means all
files.Reader
can be assumed to operate compatibly as a stream. (i.e. it will not break if used withio.LimitReader
) files.Copy
now uses afuzzyLimitedReader
that does not narrow theRead
buffer to ensure only at most N bytes are read from its underlying source.
As a result of the datagram readers now being buffered, they now also have a receiver method of ReadPacket(buf []byte) (n int, err error)
which does not ever buffer its reads, so that it can be type-asserted by packet-aware code to avoid potentially going through the buffer.
v0.2.10: Reworked lib/files/socketfiles code
The socket code was reworked to fix some bugs, and also be better engineered. See PR-16 for more details.
v0.2.9: Go 1.14 bump
- Brings in
go1.14
for masher, and expectgo1.1.4
fromgo.mod
. - Updates
go.mod
dependencies to newest versions.
v0.2.8: Clean up
Mostly the go.mod file is cleaned up. A few additional bug fixes also.
v0.2.7: Updates for go1.13 and protoc 3.9.2
Updates masher scripts and build directives:
- Uses go1.13 for building
- Uses protoc 3.9.2 for protocol buffers
- Injects
main.Version
from git tags - Detects vendoring and short-circuits downloading dependencies and builds with
-mod=vendor
- includes
sumdb
support - Pass-through of
GOPRIVATE
into underlying docker container.
There are no updates to the lib/
portion of this repository from this release.