@exabugs/dynamodb-client 1.14.0 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.14.1] - 2026-10-18
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **terraform/media**: media の sharp レイヤー(`aws_lambda_layer_version.sharp`)が、ライブラリの版を上げるたびに置き換わる問題を直した。pnpm では `filename` のパスにライブラリの版が入る(`node_modules/.pnpm/@exabugs+dynamodb-client@<版>_…`)ため、版を上げるだけで `filename`(ForceNew)が変わり、zip の中身が同じでもレイヤーが置き換わっていた。`lifecycle.ignore_changes = [filename]` を足した。中身(`source_code_hash`)が変わったときだけ置き換わる
|
|
15
|
+
|
|
10
16
|
## [1.14.0] - 2026-10-18
|
|
11
17
|
|
|
12
18
|
### Added
|
package/dist/server/handler.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @exabugs/dynamodb-client v1.14.
|
|
2
|
-
// Built: 2026-10-
|
|
1
|
+
// @exabugs/dynamodb-client v1.14.1
|
|
2
|
+
// Built: 2026-10-18T06:44:22.491Z
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -38980,7 +38980,7 @@ async function handler(event) {
|
|
|
38980
38980
|
return createCorsResponse(HTTP_STATUS.OK);
|
|
38981
38981
|
}
|
|
38982
38982
|
if (event.requestContext.http.method === "GET" && event.requestContext.http.path === "/version") {
|
|
38983
|
-
const version = "1.14.
|
|
38983
|
+
const version = "1.14.1";
|
|
38984
38984
|
return createSuccessResponse({ version, timestamp: (/* @__PURE__ */ new Date()).toISOString() }, requestId);
|
|
38985
38985
|
}
|
|
38986
38986
|
if (event.requestContext.http.method !== "POST") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exabugs/dynamodb-client",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "DynamoDB Single-Table Client SDK with MongoDB-like API, Shadow Records, and Lambda implementation for serverless applications",
|
|
5
5
|
"author": "exabugs",
|
|
6
6
|
"license": "MIT",
|
package/terraform/media/main.tf
CHANGED
|
@@ -120,6 +120,15 @@ resource "aws_lambda_layer_version" "sharp" {
|
|
|
120
120
|
compatible_runtimes = ["nodejs22.x"]
|
|
121
121
|
# sharp-layer.zipはlinux/arm64向けにビルドされる(build-sharp-layer.sh参照)
|
|
122
122
|
compatible_architectures = ["arm64"]
|
|
123
|
+
|
|
124
|
+
# filenameのパスは、利用側(pnpm)ではライブラリの版を含む
|
|
125
|
+
# (node_modules/.pnpm/@exabugs+dynamodb-client@<版>_…)ため、版を上げるだけで
|
|
126
|
+
# 変わる。filenameはForceNewなので、zipの中身が同じでもレイヤーが置き換わり、
|
|
127
|
+
# 連鎖して無関係なリソースも置き換わる。中身の変更はsource_code_hashで検知する
|
|
128
|
+
# ので、filenameの変更は無視し、中身が変わったときだけ置き換える
|
|
129
|
+
lifecycle {
|
|
130
|
+
ignore_changes = [filename]
|
|
131
|
+
}
|
|
123
132
|
}
|
|
124
133
|
|
|
125
134
|
# ============================================================
|