From b7b9dd6d384d8ae531fd3194d3e8a2ff2559e1bd Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 16 Mar 2024 12:46:31 +0200 Subject: [PATCH] Bump version to v0.4.1 --- CHANGELOG.md | 12 ++++++++++++ go.mod | 2 +- go.sum | 4 ++-- util.go | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a93e8b8..b0f5328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.4.1 (2024-03-16) + +* *(exfmt)* Added utility for converting HTTP requests to `curl` commands. +* *(exmime)* Added hardcoded extension override for `audio/mp4` -> `.m4a`. +* *(dbutil)* Added `UnixPtr`, `UnixMilliPtr` and `ConvertedPtr` helpers for + converting `time.Time` into `*int64` so that zero times are nil and other + times are unix. +* *(dbutil)* Added `UntypedNil` utility for avoiding typed nils, and `JSONPtr` + for wrapping a struct in the existing `JSON` utility using `UntypedNil`. +* *(dbutil)* Added periodic logs to `DoTxn` if the transaction takes more than + 5 seconds. + # v0.4.0 (2024-02-16) * *(jsonbytes)* Added utilities for en/decoding byte slices as unpadded base64. diff --git a/go.mod b/go.mod index ce04cba..1edaee8 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/mattn/go-sqlite3 v1.14.22 github.com/rs/zerolog v1.32.0 github.com/stretchr/testify v1.9.0 - golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 + golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 0ac74e2..ea401c3 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ= -golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f h1:3CW0unweImhOzd5FmYuRsD4Y4oQFKZIjAnKbjV4WIrw= +golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= diff --git a/util.go b/util.go index b8de5e4..bffba9a 100644 --- a/util.go +++ b/util.go @@ -6,8 +6,8 @@ package util -const Version = "v0.4.0" +const Version = "v0.4.1" func VersionArray() [3]uint { - return [3]uint{0, 4, 0} + return [3]uint{0, 4, 1} }