@jaypie/mcp 0.8.74 → 0.8.75
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.
|
@@ -9,7 +9,7 @@ import { gt } from 'semver';
|
|
|
9
9
|
/**
|
|
10
10
|
* Docs Suite - Documentation services (skill, version, release_notes)
|
|
11
11
|
*/
|
|
12
|
-
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.
|
|
12
|
+
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.75#7dfeb98d"
|
|
13
13
|
;
|
|
14
14
|
const __filename$1 = fileURLToPath(import.meta.url);
|
|
15
15
|
const __dirname$1 = path.dirname(__filename$1);
|
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.65
|
|
3
|
+
date: 2026-06-18
|
|
4
|
+
summary: Stabilize JaypieEnvSecret cross-stack export name across both call forms
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `JaypieEnvSecret` now always derives its CloudFormation cross-stack export name from the construct id, for both the shorthand and explicit `(id, { envKey })` call forms.
|
|
10
|
+
- Previously the explicit form derived the export name from `envKey`, silently renaming the export across a version bump and breaking existing `Fn::ImportValue` consumers (e.g. `env-sandbox-agents-AgentsInternalKey` became `env-sandbox-agents-AGENTSINTERNALKEY`).
|
|
11
|
+
|
|
12
|
+
## Migration
|
|
13
|
+
|
|
14
|
+
No changes required. Unchanged explicit-form call sites now keep their original id-based export name, restoring compatibility with previously published exports (issues #347, #365).
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.3.1
|
|
3
|
+
date: 2026-06-18
|
|
4
|
+
summary: Version step to 1.3.1 to avoid conflict with an accidental 1.3.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- No functional changes. Version advances directly from `1.2.41` to `1.3.1` to step over an accidental `1.3.0` and prevent ongoing version conflicts.
|
|
10
|
+
|
|
11
|
+
## Migration
|
|
12
|
+
|
|
13
|
+
No changes required.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.8.75
|
|
3
|
+
date: 2026-06-18
|
|
4
|
+
summary: Document JaypieMigration in the cdk skill
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `cdk` skill: add a Database Migrations section covering `JaypieMigration` and link to `skill("migrations")`.
|
|
10
|
+
|
|
11
|
+
## Migration
|
|
12
|
+
|
|
13
|
+
No changes required.
|
package/skills/cdk.md
CHANGED
|
@@ -237,6 +237,27 @@ new JaypieLambda(this, "Handler", {
|
|
|
237
237
|
|
|
238
238
|
See `skill("dynamodb")` for table key conventions and query patterns.
|
|
239
239
|
|
|
240
|
+
## Database Migrations
|
|
241
|
+
|
|
242
|
+
`JaypieMigration` runs DynamoDB migrations as a CloudFormation custom resource on every `cdk deploy`. It wraps a `JaypieLambda` in a `cr.Provider` and re-fires on the deploy nonce, so newly added migrations run on code-only deploys instead of being skipped:
|
|
243
|
+
|
|
244
|
+
```typescript
|
|
245
|
+
import { JaypieDynamoDb, JaypieMigration } from "@jaypie/constructs";
|
|
246
|
+
|
|
247
|
+
const table = new JaypieDynamoDb(this, "myApp");
|
|
248
|
+
|
|
249
|
+
new JaypieMigration(this, "SeedData", {
|
|
250
|
+
code: "dist/migrations/seed",
|
|
251
|
+
handler: "index.handler",
|
|
252
|
+
tables: [table],
|
|
253
|
+
dependencies: [table], // Ensures the table exists first
|
|
254
|
+
});
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Use `migrationHandler` from `jaypie` in the migration Lambda so errors propagate as CloudFormation failures. Prefer this construct over a hand-rolled `cr.Provider` + `cdk.CustomResource`, which is easy to key on the table name alone and thereby skip the deploy-nonce re-fire.
|
|
258
|
+
|
|
259
|
+
See `skill("migrations")` for the full props table, behavior, and handler pattern.
|
|
260
|
+
|
|
240
261
|
## Lambda with Secrets
|
|
241
262
|
|
|
242
263
|
Pass secrets as strings (auto-creates `JaypieEnvSecret`) or as construct instances:
|
|
@@ -390,6 +411,7 @@ new JaypieOrganizationTrail(this, "OrgTrail", {
|
|
|
390
411
|
- **`skill("dynamodb")`** - DynamoDB key design and query patterns
|
|
391
412
|
- **`skill("express")`** - Express handler and Lambda adapter
|
|
392
413
|
- **`skill("lambda")`** - Lambda handler wrappers and lifecycle
|
|
414
|
+
- **`skill("migrations")`** - JaypieMigration DynamoDB migration custom resources
|
|
393
415
|
- **`skill("secrets")`** - Secret management with JaypieEnvSecret
|
|
394
416
|
- **`skill("streaming")`** - JaypieDistribution and JaypieNextJs streaming configuration
|
|
395
417
|
- **`skill("variables")`** - Environment variables reference
|