@exabugs/dynamodb-client 1.0.3 → 1.1.0

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,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.0] - 2025-01-02
11
+
12
+ ### Changed
13
+
14
+ - **Parameter Store命名規則の統一**: すべてのパラメータを `/infra/` カテゴリに統一
15
+ - `/infra/dynamodb-client-api-url` - DynamoDB Client API URL(旧: `/app/records-api-url`)
16
+ - `/infra/dynamodb-client-api-arn` - Lambda ARN(旧: `/lambda/records-function-arn`)
17
+ - `/infra/dynamodb-table-name` - DynamoDB Table Name
18
+ - `/infra/dynamodb-table-arn` - DynamoDB Table ARN(新規追加)
19
+ - dynamodb-clientは**インフラ基盤**を提供するライブラリとして、すべて「インフラ情報」カテゴリに統一
20
+
21
+ ### Breaking Changes
22
+
23
+ - Parameter Storeのパラメータ名が変更されました
24
+ - 既存プロジェクトは新しいパラメータ名に移行する必要があります
25
+ - 詳細は [Parameter Store Migration Guide](./docs/parameter-store-migration.md) を参照
26
+
10
27
  ## [1.0.3] - 2025-12-31
11
28
 
12
29
  ### Fixed
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v1.0.3
2
- // Built: 2025-12-31T01:03:53.388Z
1
+ // @exabugs/dynamodb-client v1.1.0
2
+ // Built: 2026-01-01T17:24:24.955Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exabugs/dynamodb-client",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
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",
@@ -8,40 +8,42 @@ locals {
8
8
  # AWS管理キー(alias/aws/ssm)を使用(カスタマー管理キーは禁止)
9
9
  }
10
10
 
11
- # Records Lambda Function URL (外部参照用)
12
- resource "aws_ssm_parameter" "app_records_api_url" {
13
- name = "/${var.project_name}/${var.environment}/app/records-api-url"
11
+ # DynamoDB Client API URL (外部参照用)
12
+ resource "aws_ssm_parameter" "infra_dynamodb_client_api_url" {
13
+ name = "/${var.project_name}/${var.environment}/infra/dynamodb-client-api-url"
14
14
  type = local.parameter_type
15
15
  tier = local.parameter_tier
16
16
  value = var.records_function_url
17
17
  overwrite = true
18
18
 
19
- description = "Records Lambda Function URL"
19
+ description = "DynamoDB Client API URL (for Admin UI and internal Lambdas)"
20
20
 
21
21
  tags = {
22
22
  Environment = var.environment
23
23
  ManagedBy = "terraform"
24
- Category = "app-config"
24
+ Category = "infra-info"
25
25
  }
26
26
  }
27
27
 
28
- # Records Lambda Function ARN (外部参照用)
29
- resource "aws_ssm_parameter" "lambda_records_function_arn" {
30
- name = "/${var.project_name}/${var.environment}/lambda/records-function-arn"
28
+ # DynamoDB Client API Lambda ARN (外部参照用)
29
+ resource "aws_ssm_parameter" "infra_dynamodb_client_api_arn" {
30
+ name = "/${var.project_name}/${var.environment}/infra/dynamodb-client-api-arn"
31
31
  type = local.parameter_type
32
32
  tier = local.parameter_tier
33
33
  value = var.records_function_arn
34
34
  overwrite = true
35
35
 
36
- description = "Records Lambda Function ARN"
36
+ description = "DynamoDB Client API Lambda Function ARN"
37
37
 
38
38
  tags = {
39
39
  Environment = var.environment
40
40
  ManagedBy = "terraform"
41
- Category = "lambda-info"
41
+ Category = "infra-info"
42
42
  }
43
43
  }
44
44
 
45
+
46
+
45
47
  # DynamoDB Table Name (外部参照用)
46
48
  resource "aws_ssm_parameter" "infra_dynamodb_table_name" {
47
49
  name = "/${var.project_name}/${var.environment}/infra/dynamodb-table-name"
@@ -58,3 +60,20 @@ resource "aws_ssm_parameter" "infra_dynamodb_table_name" {
58
60
  Category = "infra-info"
59
61
  }
60
62
  }
63
+
64
+ # DynamoDB Table ARN (外部参照用)
65
+ resource "aws_ssm_parameter" "infra_dynamodb_table_arn" {
66
+ name = "/${var.project_name}/${var.environment}/infra/dynamodb-table-arn"
67
+ type = local.parameter_type
68
+ tier = local.parameter_tier
69
+ value = var.dynamodb_table_arn
70
+ overwrite = true
71
+
72
+ description = "DynamoDB Table ARN"
73
+
74
+ tags = {
75
+ Environment = var.environment
76
+ ManagedBy = "terraform"
77
+ Category = "infra-info"
78
+ }
79
+ }
@@ -34,3 +34,8 @@ variable "dynamodb_table_name" {
34
34
  description = "DynamoDB Table Name"
35
35
  type = string
36
36
  }
37
+
38
+ variable "dynamodb_table_arn" {
39
+ description = "DynamoDB Table ARN"
40
+ type = string
41
+ }