Skip to content

Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.

feat: S3 Object Lock, replication, tagging — bump to v1.1.9, 730 tests (#40)

Nahuel Nucera96fa28d89500
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 55c156ab..ff4b6e1d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,23 @@ Versioning follows [Semantic Versioning](https://semver.org/).
---
+## [1.1.9] — 2026-03-31
+
+### Added
+- **S3 Object Lock** — full WORM enforcement on top of versioned buckets
+ - `PutObjectLockConfiguration` / `GetObjectLockConfiguration` — enable Object Lock on a bucket with `COMPLIANCE` or `GOVERNANCE` default retention (days or years)
+ - `PutObjectRetention` / `GetObjectRetention` — per-object retention with `COMPLIANCE` (always blocks delete) and `GOVERNANCE` (`x-amz-bypass-governance-retention` header bypasses)
+ - `PutObjectLegalHold` / `GetObjectLegalHold` — `ON` status unconditionally blocks deletion regardless of retention mode
+ - Default retention auto-applied on `PutObject` when bucket lock configuration is present
+- **S3 Replication** — bucket-level replication configuration CRUD
+ - `PutBucketReplication` / `GetBucketReplication` / `DeleteBucketReplication`
+- **S3 Tagging improvements** — URL-encoded tagging header parsing now correctly handles `x-amz-tagging` on `PutObject` and `CopyObject`
+
+### Tests
+- 16 new integration tests covering Object Lock, Replication, and Tagging — 730 tests total, all passing
+
+---
+
## [1.1.8] — 2026-03-30
### Added
diff --git a/README.md b/README.md
index 48435954..90602781 100644
--- a/README.md
+++ b/README.md
@@ -467,20 +467,20 @@ pip install boto3 pytest duckdb docker cbor2
# Start MiniStack
docker compose up -d
-# Run the full test suite (714 tests across all 30 services)
+# Run the full test suite (730 tests across all 30 services)
pytest tests/ -v
```
Expected output:
```
-collected 714 items
+collected 730 items
tests/test_services.py::test_s3_create_bucket PASSED
...
tests/test_services.py::test_app_asgi_callable PASSED
-714 passed in ~60s
+730 passed in ~60s
```
---
diff --git a/pyproject.toml b/pyproject.toml
index 6f9faf02..d0d49ce8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "ministack"
-version = "1.1.8"
+version = "1.1.9"
description = "Free, open-source local AWS emulator — drop-in LocalStack replacement"
readme = "README.md"
license = { file = "LICENSE" }