Skip to content

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

fix(glue): add catalog (#1659)

Nahuel Nucera146af2ed56c4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc400fe7..a5326eb7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,7 +17,7 @@ Versioning follows [Semantic Versioning](https://semver.org/).
### Fixed
- **Lambda — the Docker executor extracts each code and layer zip once** — every cold start unpacked the code and layers into a fresh temporary directory that accumulated (a 30 MB function wrote 60 MB of disk per cold start). Extraction is now content-addressed into one shared read-only directory per distinct zip, so a repeat cold start writes nothing; entries are swept when the referencing function or layer version goes, and a state reset clears the cache.
-- **S3 Tables / Glue — the Iceberg REST catalogs honour `upgrade-format-version`** — the commit action a Spark job sends for the `format-version` `3` table property was silently dropped, so the table kept reporting version 2; real S3 Tables supports Iceberg v3. Both catalogs now apply it atomically: re-asserting the current version is a no-op, a downgrade or a version above 3 is refused with 400 and commits nothing.
+- **S3 Tables / Glue — the Iceberg REST catalogs honour `upgrade-format-version`** — the commit action a Spark job sends for the `format-version` `3` table property was silently dropped, so the table kept reporting version 2; real S3 Tables supports Iceberg v3. Both catalogs now apply it atomically: re-asserting the current version is a no-op, a downgrade or a version above 3 is refused with 400 and commits nothing. The Glue-route createTable also honours the property — it is reserved, so it lands as the top-level metadata field and the rest of the request's properties reach the metadata's properties map.
- **CloudFormation — `Fn::Cidr`, `Fn::GetAZs`, `Fn::FindInMap` and the condition functions follow AWS** — `Fn::Cidr` now splits the block it is given (was `10.0.{i}.0/…` always; IPv6 included), `Fn::GetAZs` answers the stack's own zones (was a fabricated `a/b/c`), `Fn::FindInMap` gains `DefaultValue` and fails a missing key with `Template error: Unable to get mapping for M::x::y`, and `Fn::And`/`Fn::Or`/`Fn::Not` in a value position resolve to a boolean — all measured on AWS. Contributed by @iot-rocket.
- **S3 — the Multi-Region Access Point alias follows the documented pattern** — the alias was 13 uuid-hex characters, so a digit-only draw was possible; it now matches S3's `^[a-z][a-z0-9]*[.]mrap$`: a letter, then twelve lowercase letters or digits. Contributed by @iot-rocket.
- **CloudFormation — parameter constraints are enforced** — `AllowedPattern`, `MinLength`, `MaxLength`, `MinValue` and `MaxValue` were ignored; they are checked before a stack exists with CloudFormation's message (`Parameter 'P' must match pattern ^[a-z]+$`, measured) or the `ConstraintDescription`, per member for a `CommaDelimitedList`. Contributed by @iot-rocket.