Skip to content

Commit 7e66bb2

Browse files
committed
Bump version to 0.4.2
1 parent 084169d commit 7e66bb2

8 files changed

Lines changed: 52 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.2] - 2026-06-12
11+
1012
### Added
1113

12-
- User identity propagation from frontend JWT through M2M tokens to Cedar policy evaluation at AgentCore Gateway
13-
- Cedar Policy Engine and Cedar Policy lifecycle management via Custom Resource Lambda (`infra-cdk/lambdas/cedar-policy/`)
14+
- **AgentCore Policy Integration** — Full user identity propagation from frontend JWT through M2M tokens to Cedar policy evaluation at AgentCore Gateway
15+
- Cedar Policy Engine and lifecycle management via Custom Resource Lambda (`infra-cdk/lambdas/cedar-policy/`)
1416
- Cognito V3 Pre-Token Generation Lambda for injecting custom claims into M2M tokens (`infra-cdk/lambdas/pretoken-v3/`)
1517
- Cedar policy file with custom claim-based access control — two versions for allow/deny testing (`gateway/policies/policy.cedar`)
1618
- Cognito ESSENTIALS tier for V3 Pre-Token Lambda trigger support
17-
- Direct Cognito `/oauth2/token` call with `aws_client_metadata` for user identity propagation (Approach 1) across all 6 agent patterns
18-
- Alternative `@requires_access_token` decorator approach (Approach 2) documented and commented out in each pattern's `tools/gateway.py`
19+
- Direct Cognito `/oauth2/token` call with `aws_client_metadata` for user identity propagation across all 6 agent patterns
20+
- Alternative `@requires_access_token` decorator approach documented and commented out in each pattern's `tools/gateway.py`
21+
- **Long-Term Memory** — Configurable long-term semantic memory for Strands-based agents via `use_long_term_memory` in `config.yaml`
22+
- LTM `top_k` and `relevance_score` parameters exposed in config
23+
- **Context Management Guide** (`docs/CONTEXT_MANAGEMENT.md`) — Sliding window, summarization, LangGraph middleware, and custom hook-based approaches
24+
- **Session Management Guide** (`docs/SESSION_MANAGEMENT.md`) — Three patterns: AgentCore Memory only, Memory + DynamoDB, and S3SessionManager
1925
- Identity propagation and Cedar policy documentation (`docs/IDENTITY_POLICY.md`)
2026
- Cedar policy syntax, capabilities, and reference documentation (`docs/CEDAR_POLICY_GUIDE.md`)
2127
- Identity provider swap and Gateway interceptors guide (`docs/REPLACING_COGNITO.md`)
28+
- `ListGatewayTargets` IAM permission for Cedar Policy Lambda to support policy creation validation
29+
- `CheckAuthorizePermissions` on Gateway Role for Policy Engine attachment
30+
- CodeBuild deployment documentation for CloudFormation teardown
31+
- Updated architecture diagram with latest logos (`docs/architecture-diagram/FAST-architecture-20260403.png`)
2232

2333
### Changed
2434

25-
- Updated all 6 agent patterns to pass `user_id` to Gateway client for identity-aware M2M tokens
26-
- Updated NAT Gateway documentation in `docs/DEPLOYMENT.md` for VPC mode with identity propagation
27-
- Updated root `README.md` architecture flow and project structure
28-
- Updated architecture diagram with latest logos (`docs/architecture-diagram/FAST-architecture-20260403.png`)
35+
- All 6 agent patterns updated to pass `user_id` to Gateway client for identity-aware M2M tokens
36+
- Pre-Token Lambda rewritten to use `USER_ROLE_MAP` dictionary keyed by Cognito `sub` (UUID) instead of email-based if/else logic
37+
- AG-UI Strands agent refactored to build agent directly in entrypoint with optional Memory support
38+
- AG-UI LangGraph agent simplified entrypoint
39+
- Documentation updated to use UUID placeholders instead of email addresses (`docs/IDENTITY_POLICY.md`, `docs/CEDAR_POLICY_GUIDE.md`, `docs/REPLACING_COGNITO.md`)
40+
- NAT Gateway documentation updated in `docs/DEPLOYMENT.md` for VPC mode with identity propagation
41+
- CodeBuild deploy script updated to package tracked files only with ephemeral resources
42+
- Consolidated `.prettierrc` to top-level
43+
- Root `README.md` architecture flow and project structure updated
2944

3045
### Fixed
3146

47+
- AG-UI Strands agent session memory recall restored with durable AgentCore Memory
48+
- Cedar policy never matching due to email-based substring matching against UUID identifiers
49+
- Cedar policy name shortened to stay within 48-character API limit
3250
- ZIP packager: permissive pattern directory reader with recursive subdirectory support
3351
- ZIP packager: added `patterns/utils/` to deployment package
3452
- ZIP packager: renamed repo-root `tools/` to `agentcore_tools/` to avoid conflict with pattern's `tools/` directory
@@ -37,6 +55,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3755
- `langgraph>=1.1.5` version bump to fix `ServerInfo` import error
3856
- `copilotkit>=0.1.84` version bump to fix compatibility with newer langgraph
3957
- Added placeholder graph in `ActorAwareLangGraphAgent.__init__` for newer copilotkit validation
58+
- Frontend: reset UUID when a new chat is initiated
59+
- CodeBuild deploy script removed git dependency
60+
61+
### Security
62+
63+
- Bumped `hono` from 4.12.14 to 4.12.23 in frontend
64+
- Bumped `react-router` and `react-router-dom` in frontend
65+
- Bumped `vitest` from 4.0.18 to 4.1.0 in frontend
66+
- Bumped `js-cookie` from 3.0.5 to 3.0.7 in frontend
67+
- Bumped `qs` from 6.14.2 to 6.15.2 in frontend
68+
- Bumped `postcss` from 8.5.6 to 8.5.14 in frontend
69+
- Bumped `fast-uri` from 3.1.0 to 3.1.2 in frontend
70+
- Bumped `fast-xml-parser` and `@aws-sdk/xml-builder` in frontend
71+
- Bumped `lodash` from 4.17.23 to 4.18.1 in frontend
72+
- Bumped `ip-address` and `express-rate-limit` in frontend
73+
- Bumped `yaml` from 2.8.2 to 2.8.3 in infra-cdk
74+
- Bumped `picomatch` in frontend and infra-cdk
4075

4176
## [0.4.1] - 2026-03-25
4277

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.1
1+
0.4.2

frontend/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fullstack-agentcore-solution-template-frontend",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"private": true,
55
"scripts": {
66
"dev": "vite",

infra-cdk/lib/fast-main-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class FastMainStack extends cdk.Stack {
1818

1919
constructor(scope: Construct, id: string, props: FastAmplifyStackProps) {
2020
const description =
21-
"Fullstack AgentCore Solution Template - Main Stack (v0.4.1) (uksb-v6dos0t5g8)"
21+
"Fullstack AgentCore Solution Template - Main Stack (v0.4.2) (uksb-v6dos0t5g8)"
2222
super(scope, id, { ...props, description })
2323

2424
// Step 1: Create the Amplify stack to get the predictable domain

infra-cdk/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infra-cdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fast-cdk",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"bin": {
55
"fast-cdk": "bin/fast-cdk.js"
66
},

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "fullstack-agentcore-solution-template"
7-
version = "0.4.1"
7+
version = "0.4.2"
88
description = "Fullstack AgentCore Solution Template - A template for building AgentCore applications"
99
readme = "README.md"
1010
license = { text = "Apache-2.0" }

0 commit comments

Comments
 (0)