go-common merge requestshttps://git.autistici.org/ai3/go-common/-/merge_requests2022-05-31T12:16:23Zhttps://git.autistici.org/ai3/go-common/-/merge_requests/57Update module github.com/cenkalti/backoff/v4 to v4.1.32022-05-31T12:16:23ZrenovateUpdate module github.com/cenkalti/backoff/v4 to v4.1.3This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) | require | patch | `v4.1.2` -> `v4.1.3` |
---
### Release Notes
<...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) | require | patch | `v4.1.2` -> `v4.1.3` |
---
### Release Notes
<details>
<summary>cenkalti/backoff</summary>
### [`v4.1.3`](https://github.com/cenkalti/backoff/compare/v4.1.2...v4.1.3)
[Compare Source](https://github.com/cenkalti/backoff/compare/v4.1.2...v4.1.3)
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/56Update golang.org/x/crypto commit hash to 793ad662022-05-31T14:58:20ZrenovateUpdate golang.org/x/crypto commit hash to 793ad66This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `ae2d966` -> `793ad66` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `ae2d966` -> `793ad66` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/55Update module github.com/go-ldap/ldap/v3 to v3.4.32022-04-08T07:14:55ZrenovateUpdate module github.com/go-ldap/ldap/v3 to v3.4.3This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | patch | `v3.4.2` -> `v3.4.3` |
---
### Release Notes
<details>...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | patch | `v3.4.2` -> `v3.4.3` |
---
### Release Notes
<details>
<summary>go-ldap/ldap</summary>
### [`v3.4.3`](https://github.com/go-ldap/ldap/compare/v3.4.2...v3.4.3)
[Compare Source](https://github.com/go-ldap/ldap/compare/v3.4.2...v3.4.3)
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/53Update golang.org/x/crypto commit hash to ae2d9662022-04-08T07:15:10ZrenovateUpdate golang.org/x/crypto commit hash to ae2d966This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `2c7772b` -> `ae2d966` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `2c7772b` -> `ae2d966` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/52Update github.com/duo-labs/webauthn commit hash to 03696f32022-04-08T07:15:04ZrenovateUpdate github.com/duo-labs/webauthn commit hash to 03696f3This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `4d1cf2d` -> `03696f3` |
---
### Configuration
...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `4d1cf2d` -> `03696f3` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/51Update golang.org/x/crypto commit hash to 2c7772b2022-03-22T09:55:39ZrenovateUpdate golang.org/x/crypto commit hash to 2c7772bThis MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `8634188` -> `2c7772b` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `8634188` -> `2c7772b` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/50Update github.com/amoghe/go-crypt commit hash to 20eada52022-02-23T09:15:10ZrenovateUpdate github.com/amoghe/go-crypt commit hash to 20eada5This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/amoghe/go-crypt](https://github.com/amoghe/go-crypt) | require | digest | `b2ff805` -> `20eada5` |
---
### Configuration
📅 *...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/amoghe/go-crypt](https://github.com/amoghe/go-crypt) | require | digest | `b2ff805` -> `20eada5` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/49Update module github.com/go-ldap/ldap/v3 to v3.4.22022-02-23T09:14:27ZrenovateUpdate module github.com/go-ldap/ldap/v3 to v3.4.2This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | patch | `v3.4.1` -> `v3.4.2` |
---
### Release Notes
<details>...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | patch | `v3.4.1` -> `v3.4.2` |
---
### Release Notes
<details>
<summary>go-ldap/ldap</summary>
### [`v3.4.2`](https://github.com/go-ldap/ldap/compare/v3.4.1...v3.4.2)
[Compare Source](https://github.com/go-ldap/ldap/compare/v3.4.1...v3.4.2)
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/48Update github.com/duo-labs/webauthn commit hash to 4d1cf2d2022-03-22T09:55:48ZrenovateUpdate github.com/duo-labs/webauthn commit hash to 4d1cf2dThis MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `81aea48` -> `4d1cf2d` |
---
### Configuration
...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `81aea48` -> `4d1cf2d` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/47Update golang.org/x/crypto commit hash to 86341882022-02-23T09:15:19ZrenovateUpdate golang.org/x/crypto commit hash to 8634188This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `30dcbda` -> `8634188` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `30dcbda` -> `8634188` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/45Update module github.com/prometheus/client_golang to v1.12.12022-02-05T12:11:26ZrenovateUpdate module github.com/prometheus/client_golang to v1.12.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | require | minor | `v1.11.0` -> `v1.12.1` |
---
### R...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | require | minor | `v1.11.0` -> `v1.12.1` |
---
### Release Notes
<details>
<summary>prometheus/client_golang</summary>
### [`v1.12.1`](https://github.com/prometheus/client_golang/releases/v1.12.1)
[Compare Source](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1)
- \[BUGFIX] Make the Go 1.17 collector concurrency-safe [#​969](https://github.com/prometheus/client_golang/issues/969)
- Use simpler locking in the Go 1.17 collector [#​975](https://github.com/prometheus/client_golang/issues/975)
- \[BUGFIX] Reduce granularity of histogram buckets for Go 1.17 collector [#​974](https://github.com/prometheus/client_golang/issues/974)
- \[ENHANCEMENT] API client: make HTTP reads more efficient [#​976](https://github.com/prometheus/client_golang/issues/976)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1
### [`v1.12.0`](https://github.com/prometheus/client_golang/releases/v1.12.0)
[Compare Source](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0)
- \[CHANGE] example/random: Move flags and metrics into main() [#​935](https://github.com/prometheus/client_golang/issues/935)
- \[FEATURE] API client: Support wal replay status api [#​944](https://github.com/prometheus/client_golang/issues/944)
- \[FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ [#​955](https://github.com/prometheus/client_golang/issues/955)
- \[ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats [#​925](https://github.com/prometheus/client_golang/issues/925)
- \[ENHANCEMENT] promhttp: Check validity of method and code label values [#​962](https://github.com/prometheus/client_golang/issues/962)
#### What's Changed
- Address minor issues on the changelog by [@​kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/879
- Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/888
- Update status badgets by [@​SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/885
- Updating dependency versions + cleanup by [@​sivabalan](https://github.com/sivabalan) in https://github.com/prometheus/client_golang/pull/881
- Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/892
- add ExponentialBucketsRange function by [@​sbunce](https://github.com/sbunce) in https://github.com/prometheus/client_golang/pull/899
- Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/909
- Update cespare/xxhash dependency by [@​dtrudg](https://github.com/dtrudg) in https://github.com/prometheus/client_golang/pull/913
- example/random: Move flags and metrics into main() by [@​beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/935
- Fix typo by [@​gozeloglu](https://github.com/gozeloglu) in https://github.com/prometheus/client_golang/pull/939
- Add support for go 1.17 by [@​mrueg](https://github.com/mrueg) in https://github.com/prometheus/client_golang/pull/950
- Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/928
- Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/952
- API: support wal replay status api by [@​yeya24](https://github.com/yeya24) in https://github.com/prometheus/client_golang/pull/944
- Update /api/v1/status/tsdb to include headStats by [@​prymitive](https://github.com/prymitive) in https://github.com/prometheus/client_golang/pull/925
- Use the runtime/metrics package for the Go collector for 1.17+ by [@​mknyszek](https://github.com/mknyszek) in https://github.com/prometheus/client_golang/pull/955
- promhttp: Check validity of method and code label values by [@​kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/962
- go.\*: Update dependencies by [@​kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/965
#### New Contributors
- [@​sivabalan](https://github.com/sivabalan) made their first contribution in https://github.com/prometheus/client_golang/pull/881
- [@​sbunce](https://github.com/sbunce) made their first contribution in https://github.com/prometheus/client_golang/pull/899
- [@​dtrudg](https://github.com/dtrudg) made their first contribution in https://github.com/prometheus/client_golang/pull/913
- [@​gozeloglu](https://github.com/gozeloglu) made their first contribution in https://github.com/prometheus/client_golang/pull/939
- [@​mrueg](https://github.com/mrueg) made their first contribution in https://github.com/prometheus/client_golang/pull/950
- [@​prymitive](https://github.com/prymitive) made their first contribution in https://github.com/prometheus/client_golang/pull/925
- [@​mknyszek](https://github.com/mknyszek) made their first contribution in https://github.com/prometheus/client_golang/pull/955
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/44Update golang.org/x/crypto commit hash to 30dcbda2022-02-05T12:11:34ZrenovateUpdate golang.org/x/crypto commit hash to 30dcbdaThis MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `5770296` -> `30dcbda` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `5770296` -> `30dcbda` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/43Update module github.com/fxamacker/cbor/v2 to v2.4.02022-02-05T12:12:34ZrenovateUpdate module github.com/fxamacker/cbor/v2 to v2.4.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/fxamacker/cbor/v2](https://github.com/fxamacker/cbor) | require | minor | `v2.2.0` -> `v2.4.0` |
---
### Release Notes
<deta...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/fxamacker/cbor/v2](https://github.com/fxamacker/cbor) | require | minor | `v2.2.0` -> `v2.4.0` |
---
### Release Notes
<details>
<summary>fxamacker/cbor</summary>
### [`v2.4.0`](https://github.com/fxamacker/cbor/releases/v2.4.0)
[Compare Source](https://github.com/fxamacker/cbor/compare/v2.3.1...v2.4.0)
This release adds two user-requested features to the decoder. It passed 3+ billion execs fuzzing before being tagged.
#### What's Changed
- Add option to specify default Go map type when decoding CBOR map into interface{} by [@​fxamacker](https://github.com/fxamacker) in https://github.com/fxamacker/cbor/pull/316
- Add support for decoding registered CBOR tag to interface type by [@​fxamacker](https://github.com/fxamacker) in https://github.com/fxamacker/cbor/pull/308
- Update CBOR docs for v2.4.0 by [@​x448](https://github.com/x448) in https://github.com/fxamacker/cbor/pull/318
#### Special Thanks
- [@​lukseven](https://github.com/lukseven) for opening issue [#​303](https://github.com/fxamacker/cbor/issues/303) and proposing a solution
- [@​Gui-Yom](https://github.com/Gui-Yom) for issue [#​301](https://github.com/fxamacker/cbor/issues/301)
**Full Changelog**: https://github.com/fxamacker/cbor/compare/v2.3.1...v2.4.0
### [`v2.3.1`](https://github.com/fxamacker/cbor/releases/v2.3.1)
[Compare Source](https://github.com/fxamacker/cbor/compare/v2.3.0...v2.3.1)
IMPORTANT:
- This release fixes an important typo in README and omission in CONTRIBUTING.
- No changes to code outside \_test.go files.
- Changes to non-test files are limited to comments.
- Next release (v2.4.0) started fuzz testing and is expected to be tagged within 1-2 weeks.
Changes to v2.3.1 include:
- Fix typo in docs (example code snippet) that can cause bugs. Thanks [@​herrjemand](https://github.com/herrjemand)!
- Update CONTRIBUTING to mention signing requirements. Thanks [@​lukseven](https://github.com/lukseven) and [@​x448](https://github.com/x448)!
- Update README. Thanks [@​x448](https://github.com/x448) and [@​rumpelsepp](https://github.com/rumpelsepp)!
- Update ci.yml to use Go 1.17.x. Thanks [@​x448](https://github.com/x448)!
- Add Revive as a lint checker.
- Cleanup lint messages in \_test.go files
- Cleanup lint messages in non-test files if the changes are limited to comments (no actual coding changes).
**Full Changelog**: https://github.com/fxamacker/cbor/compare/v2.3.0...v2.3.1
### [`v2.3.0`](https://github.com/fxamacker/cbor/releases/v2.3.0)
[Compare Source](https://github.com/fxamacker/cbor/compare/v2.2.0...v2.3.0)
Upgrading is recommended: v2.3.0 has bug fixes, is faster, and passed 1+ billion execs fuzzing.
#### ⭐ Features and Improvements
- Add built-in support for big.Int ([#​209](https://github.com/fxamacker/cbor/issues/209))
- Add support for tag 55799 self-describing CBOR ([#​227](https://github.com/fxamacker/cbor/issues/227))
- Export `valid` function ([#​248](https://github.com/fxamacker/cbor/issues/248))
- Increase user-configurable CBOR limit for MaxArrayElements and MaxMapPairs ([#​207](https://github.com/fxamacker/cbor/issues/207))
- Add decoding option to be more strict than encoding/json: fail on CBOR map if destination struct field is not found ([#​178](https://github.com/fxamacker/cbor/issues/178))
- Add option for decoding CBOR pos and neg integer to interface{} to not distinguish between uint and int ([#​216](https://github.com/fxamacker/cbor/issues/216))
#### 🚀 Performance
fxamacker/cbor 2.3.0 is faster than 2.2.0 by up to 14% (using CWT and COSE example data from RFCs).
name old time/op new time/op delta
DecodeCWTClaims-4 1.34µs ± 0% 1.25µs ± 0% -6.90% (p=0.000 n=10+9)
DecodeCOSE/128-Bit_Symmetric_Key-4 1.01µs ± 0% 0.86µs ± 0% -14.02% (p=0.000 n=9+9)
DecodeCOSE/256-Bit_Symmetric_Key-4 1.02µs ± 0% 0.88µs ± 0% -13.60% (p=0.000 n=9+10)
DecodeCOSE/ECDSA_P256_256-Bit_Key-4 1.69µs ± 0% 1.45µs ± 0% -14.14% (p=0.000 n=10+10)
DecodeWebAuthn-4 1.46µs ± 0% 1.32µs ± 0% -9.65% (p=0.000 n=10+10)
EncodeCWTClaims-4 766ns ± 0% 780ns ± 0% +1.87% (p=0.000 n=10+10)
EncodeCOSE/128-Bit_Symmetric_Key-4 910ns ± 0% 908ns ± 0% ~ (p=0.059 n=9+10)
EncodeCOSE/256-Bit_Symmetric_Key-4 912ns ± 0% 912ns ± 0% ~ (p=0.909 n=10+10)
EncodeCOSE/ECDSA_P256_256-Bit_Key-4 1.13µs ± 1% 1.14µs ± 0% +0.61% (p=0.001 n=9+10)
EncodeWebAuthn-4 794ns ± 2% 823ns ± 1% +3.69% (p=0.000 n=9+10)
<details><summary>fxamacker/cbor 2.3.0 vs ugorji/go 1.2.6</summary><p>
fxamacker/cbor 2.3.0 (not using `unsafe`) is faster than ugorji/go 1.2.6 (using `unsafe`).
name old time/op new time/op delta
DecodeCWTClaims-4 2.06µs ± 1% 1.25µs ± 0% -39.57% (p=0.000 n=10+9)
DecodeCOSE/128-Bit_Symmetric_Key-4 1.47µs ± 1% 0.86µs ± 0% -41.25% (p=0.000 n=9+9)
DecodeCOSE/256-Bit_Symmetric_Key-4 1.50µs ± 2% 0.88µs ± 0% -41.63% (p=0.000 n=10+10)
DecodeCOSE/ECDSA_P256_256-Bit_Key-4 2.22µs ± 2% 1.45µs ± 0% -34.65% (p=0.000 n=10+10)
DecodeWebAuthn-4 1.55µs ± 0% 1.32µs ± 0% -14.97% (p=0.000 n=9+10)
EncodeCWTClaims-4 1.46µs ± 0% 0.78µs ± 0% -46.52% (p=0.000 n=10+10)
EncodeCOSE/128-Bit_Symmetric_Key-4 1.79µs ± 1% 0.91µs ± 0% -49.38% (p=0.000 n=9+10)
EncodeCOSE/256-Bit_Symmetric_Key-4 1.79µs ± 1% 0.91µs ± 0% -49.15% (p=0.000 n=10+10)
EncodeCOSE/ECDSA_P256_256-Bit_Key-4 2.09µs ± 1% 1.14µs ± 0% -45.41% (p=0.000 n=10+10)
EncodeWebAuthn-4 981ns ± 0% 823ns ± 1% -16.05% (p=0.000 n=10+10)
name old alloc/op new alloc/op delta
DecodeCWTClaims-4 760B ± 0% 176B ± 0% -76.84% (p=0.000 n=10+10)
DecodeCOSE/128-Bit_Symmetric_Key-4 800B ± 0% 240B ± 0% -70.00% (p=0.000 n=10+10)
DecodeCOSE/256-Bit_Symmetric_Key-4 816B ± 0% 256B ± 0% -68.63% (p=0.000 n=10+10)
DecodeCOSE/ECDSA_P256_256-Bit_Key-4 913B ± 0% 352B ± 0% -61.45% (p=0.000 n=10+10)
DecodeWebAuthn-4 1.56kB ± 0% 0.99kB ± 0% -36.41% (p=0.000 n=10+10)
EncodeCWTClaims-4 1.36kB ± 0% 0.18kB ± 0% -87.06% (p=0.000 n=10+10)
EncodeCOSE/128-Bit_Symmetric_Key-4 1.97kB ± 0% 0.22kB ± 0% -88.62% (p=0.000 n=10+10)
EncodeCOSE/256-Bit_Symmetric_Key-4 1.97kB ± 0% 0.24kB ± 0% -87.80% (p=0.000 n=10+10)
EncodeCOSE/ECDSA_P256_256-Bit_Key-4 1.97kB ± 0% 0.32kB ± 0% -83.74% (p=0.000 n=10+10)
EncodeWebAuthn-4 1.31kB ± 0% 1.09kB ± 0% -17.07% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
DecodeCWTClaims-4 6.00 ± 0% 6.00 ± 0% ~ (all equal)
DecodeCOSE/128-Bit_Symmetric_Key-4 4.00 ± 0% 4.00 ± 0% ~ (all equal)
DecodeCOSE/256-Bit_Symmetric_Key-4 4.00 ± 0% 4.00 ± 0% ~ (all equal)
DecodeCOSE/ECDSA_P256_256-Bit_Key-4 7.00 ± 0% 7.00 ± 0% ~ (all equal)
DecodeWebAuthn-4 5.00 ± 0% 5.00 ± 0% ~ (all equal)
EncodeCWTClaims-4 4.00 ± 0% 2.00 ± 0% -50.00% (p=0.000 n=10+10)
EncodeCOSE/128-Bit_Symmetric_Key-4 6.00 ± 0% 2.00 ± 0% -66.67% (p=0.000 n=10+10)
EncodeCOSE/256-Bit_Symmetric_Key-4 6.00 ± 0% 2.00 ± 0% -66.67% (p=0.000 n=10+10)
EncodeCOSE/ECDSA_P256_256-Bit_Key-4 6.00 ± 0% 2.00 ± 0% -66.67% (p=0.000 n=10+10)
EncodeWebAuthn-4 4.00 ± 0% 2.00 ± 0% -50.00% (p=0.000 n=10+10)
</details>
Benchmarks used Go 1.15.12 on linux_amd64. Benchmark results are data dependent so run them using your own data.
#### 🐞 Bug Fixes
- Allow decoding to struct field of interface type ([#​260](https://github.com/fxamacker/cbor/issues/260), [#​275](https://github.com/fxamacker/cbor/issues/275))
- Decoding registered tag to empty interface should return object of registered type ([#​223](https://github.com/fxamacker/cbor/issues/223))
- Fix: encoding cbor.RawTag with empty content returns malformed CBOR data ([#​258](https://github.com/fxamacker/cbor/issues/258))
- Fix: encoding uninitialized cbor.(Raw)Tag returns malformed CBOR data ([#​256](https://github.com/fxamacker/cbor/issues/256))
- Decoding CBOR null to time.Time should have no effect ([#​254](https://github.com/fxamacker/cbor/issues/254))
- Fix: decoding CBOR null to cbor.Tag shouldn't return any error ([#​252](https://github.com/fxamacker/cbor/issues/252))
- Properly handle empty values for custom types ([#​232](https://github.com/fxamacker/cbor/issues/232))
- Decoding should ignore CBOR tag number 55799 when it is a prefix ([#​228](https://github.com/fxamacker/cbor/issues/228))
- Validate CBOR tag content type if tag number is 0 or 1, even when TimeTag = DecTagIgnored ([#​221](https://github.com/fxamacker/cbor/issues/221))
- Registering tag (TagSet.Add) with already registered tag number should be rejected ([#​218](https://github.com/fxamacker/cbor/issues/218))
- DecOptions.ExtraReturnErrors field should be typed [#​240](https://github.com/fxamacker/cbor/issues/240)
#### 📖 Docs
- Make README more friendly to dark themes ([#​269](https://github.com/fxamacker/cbor/issues/269))
- Private member struct tag (json:"-" and cbor:"-") are supported but not documented ([#​201](https://github.com/fxamacker/cbor/issues/201))
- TagOptions struct is missing from README.md ([#​199](https://github.com/fxamacker/cbor/issues/199))
- Fix go.dev and README compatibility ([#​173](https://github.com/fxamacker/cbor/issues/173))
- Replace CBOR "draft RFC" with CBOR "RFC 8949" because it was approved by IETF ([#​265](https://github.com/fxamacker/cbor/issues/265))
#### 🏗️ Chores
- Audit library for any missing attribution for code snippets from sources other than Go's stdlib ([#​237](https://github.com/fxamacker/cbor/issues/237))
- Audit library for any missing attribution for code snippets from Go's stdlib (encoding/json) ([#​233](https://github.com/fxamacker/cbor/issues/233))
- Create pull request template for code contributions ([#​197](https://github.com/fxamacker/cbor/issues/197))
- CI: Use safer-golangci-lint.yml GitHub Action Workflow contributed by [@​x448](https://github.com/x448)
- CI: Bump golangci-lint to 1.40.1
- CI: Use CodeQL analysis
#### 🧪 Tests and Fuzzing
- Code coverage remains above 98%.
- Coverage-guided fuzzing reached 1+ billion execs ~2 days after v2.3.0 release.
#### 👍 Special Thanks
- Special thanks to [@​kostko](https://github.com/kostko), [@​turbolent](https://github.com/turbolent), [@​x448](https://github.com/x448), [@​yawning](https://github.com/yawning) and others for reporting bugs, providing feedback, and more.
#### ⛈️ Winter Storm Uri Displaced Me (still at a hotel 3+ months later)
- As of May 30, I'm still displaced due to Winter Storm Uri started causing damage on February 16. Fire sprinklers started leaking, pipes shattered in the ceilings, and water outage lasted 2+ weeks.
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/42Update github.com/duo-labs/webauthn commit hash to 81aea482022-02-05T15:29:32ZrenovateUpdate github.com/duo-labs/webauthn commit hash to 81aea48This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `1daaee8` -> `81aea48` |
---
### Configuration
...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/duo-labs/webauthn](https://github.com/duo-labs/webauthn) | require | digest | `1daaee8` -> `81aea48` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/41Update golang.org/x/crypto commit hash to 57702962021-12-05T11:19:16ZrenovateUpdate golang.org/x/crypto commit hash to 5770296This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `ae814b3` -> `5770296` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `ae814b3` -> `5770296` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/40Update module github.com/cenkalti/backoff/v4 to v4.1.22021-11-23T22:41:50ZrenovateUpdate module github.com/cenkalti/backoff/v4 to v4.1.2This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) | require | patch | `v4.1.1` -> `v4.1.2` |
---
### Release Notes
<...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) | require | patch | `v4.1.1` -> `v4.1.2` |
---
### Release Notes
<details>
<summary>cenkalti/backoff</summary>
### [`v4.1.2`](https://github.com/cenkalti/backoff/compare/v4.1.1...v4.1.2)
[Compare Source](https://github.com/cenkalti/backoff/compare/v4.1.1...v4.1.2)
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/39Update golang.org/x/crypto commit hash to ae814b32021-11-23T22:41:59ZrenovateUpdate golang.org/x/crypto commit hash to ae814b3This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `089bfa5` -> `ae814b3` |
---
### Configuration
📅 **Schedule...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://github.com/golang/crypto) | require | digest | `089bfa5` -> `ae814b3` |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/38Update module github.com/openzipkin/zipkin-go to v0.4.02022-02-05T15:31:31ZrenovateUpdate module github.com/openzipkin/zipkin-go to v0.4.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/openzipkin/zipkin-go](https://github.com/openzipkin/zipkin-go) | require | minor | `v0.2.5` -> `v0.4.0` |
---
### Release Not...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/openzipkin/zipkin-go](https://github.com/openzipkin/zipkin-go) | require | minor | `v0.2.5` -> `v0.4.0` |
---
### Release Notes
<details>
<summary>openzipkin/zipkin-go</summary>
### [`v0.4.0`](https://github.com/openzipkin/zipkin-go/releases/v0.4.0)
[Compare Source](https://github.com/openzipkin/zipkin-go/compare/v0.3.0...v0.4.0)
This release adds Baggage functionality:
- Baggage interface for the Zipkin Span Context Data model
- Baggage implementation using explicit field registration
- Baggage support for the bundled HTTP and gRPC middlewares
### [`v0.3.0`](https://github.com/openzipkin/zipkin-go/releases/v0.3.0)
[Compare Source](https://github.com/openzipkin/zipkin-go/compare/v0.2.5...v0.3.0)
Mostly housekeeping and fixes for this release.
- feat(tracer): adds support for isNoop check on spans. ([#​181](https://github.com/openzipkin/zipkin-go/issues/181))
- fix(propagation/b3): fix incorrect parsing of a single b3 header ([#​190](https://github.com/openzipkin/zipkin-go/issues/190))
- chore(examples): makes examples use its own go.mod ([#​191](https://github.com/openzipkin/zipkin-go/issues/191))
- bump(reporter/amqp): move to migrated and official library github.com/rabbitmq/amqp091-go ([#​199](https://github.com/openzipkin/zipkin-go/issues/199))
- qa: license date updates, linter fixes, test fixes ([#​203](https://github.com/openzipkin/zipkin-go/issues/203), [#​204](https://github.com/openzipkin/zipkin-go/issues/204))
- updated dependencies and regenerated protobuf files ([#​208](https://github.com/openzipkin/zipkin-go/issues/208))
Thanks all that participated including but not limited to [@​jcchavezs](https://github.com/jcchavezs), [@​nosan](https://github.com/nosan), and [@​SteelPhase](https://github.com/SteelPhase).
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/37Update module github.com/go-ldap/ldap/v3 to v3.4.12021-10-01T08:17:07ZrenovateUpdate module github.com/go-ldap/ldap/v3 to v3.4.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | minor | `v3.3.0` -> `v3.4.1` |
---
### Release Notes
<details>...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | require | minor | `v3.3.0` -> `v3.4.1` |
---
### Release Notes
<details>
<summary>go-ldap/ldap</summary>
### [`v3.4.1`](https://github.com/go-ldap/ldap/releases/v3.4.1)
[Compare Source](https://github.com/go-ldap/ldap/compare/v3.4.0...v3.4.1)
Also, improve debug logging output.
### [`v3.4.0`](https://github.com/go-ldap/ldap/compare/v3.3.0...v3.4.0)
[Compare Source](https://github.com/go-ldap/ldap/compare/v3.3.0...v3.4.0)
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).https://git.autistici.org/ai3/go-common/-/merge_requests/36Update module github.com/theckman/go-flock to v0.8.12021-10-01T08:17:15ZrenovateUpdate module github.com/theckman/go-flock to v0.8.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/theckman/go-flock](https://github.com/theckman/go-flock) | require | patch | `v0.8.0` -> `v0.8.1` |
---
### Release Notes
<d...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/theckman/go-flock](https://github.com/theckman/go-flock) | require | patch | `v0.8.0` -> `v0.8.1` |
---
### Release Notes
<details>
<summary>theckman/go-flock</summary>
### [`v0.8.1`](https://github.com/theckman/go-flock/releases/v0.8.1)
[Compare Source](https://github.com/theckman/go-flock/compare/v0.8.0...v0.8.1)
This change includes one bugfix for AIX:
- Fix issue caused by calling F_SETLKW instead of F_SETLK ([#​52](https://github.com/theckman/go-flock/issues/52) \[[@​jwatson-cgu](https://github.com/jwatson-cgu)])
</details>
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box.
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).