From dc7bd11d855f0b3266612a18606801f4e09ecc09 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 21 Jul 2026 14:18:35 +0200 Subject: make Account.Headers and Container.Headers thread-safe For type Object, it is a good tradeoff to not carry a mutex in every instance, since Objects are likely only used in the scope of a particular operation (and thus within an individual goroutine). But Account and Container instances are much more likely to be initialized once on startup and then shared across goroutines, so making them safer to use at the expense of a slight increase in resource usage looks like a good choice. --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bd8c5d..14589b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v2.2.1 (TBD) + +Changes: + +- `Account.Headers` and `Container.Headers` are now thread-safe. + # v2.2.0 (2026-07-17) Changes: -- cgit v1.3.1