diff --git a/CHANGELOG.md b/CHANGELOG.md index 30ccd03..a93e8b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# v0.4.0 (2024-02-16) + +* *(jsonbytes)* Added utilities for en/decoding byte slices as unpadded base64. +* *(jsontime)* Fixed serialization of Unix(Micro|Nano)String types. +* *(exzerolog)* Added helper function for setting sensible zerolog globals + such as CallerMarshalFunc, default loggers and better level colors. +* *(dbutil)* Added helper for wrapping a raw slice in a RowIter. + * This is useful for interfaces that return RowIters to allow implementing + the interface without SQL. + * The RowIter interface may be moved to a separate package in the future to + further separate it from SQL databases. +* *(dbutil)* Added helper for converting RowIter to map. + # v0.3.0 (2024-01-16) * **Breaking change *(dbutil)*** Removed all non-context methods. diff --git a/go.mod b/go.mod index 454c4f6..2ea566c 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.8.4 - golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 + golang.org/x/exp v0.0.0-20240213143201-ec583247a57a gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index e15aa87..b101c50 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.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 h1:/RIbNt/Zr7rVhIkQhooTxCxFcdWLGIKnZA4IXNFSrvo= -golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/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 eb4bd27..b8de5e4 100644 --- a/util.go +++ b/util.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Tulir Asokan +// Copyright (c) 2024 Tulir Asokan // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -6,8 +6,8 @@ package util -const Version = "v0.3.0" +const Version = "v0.4.0" func VersionArray() [3]uint { - return [3]uint{0, 3, 0} + return [3]uint{0, 4, 0} }