Skip to content

Commit 6a1d055

Browse files
author
Bob Strahan
committed
Update CHANGELOG.md to consolidate bug fixes under v0.4.1
1 parent bf26cbd commit 6a1d055

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,6 @@ SPDX-License-Identifier: MIT-0
55

66
## [Unreleased]
77

8-
9-
### Fixed
10-
11-
- **IDP CLI Deploy Command Parameter Preservation Bug**
12-
- Fixed critical bug where `idp-cli deploy` command was resetting ALL stack parameters to their default values during updates, even when users only intended to change specific parameters
13-
- **Root Cause**: The `build_parameters()` function was using default values for all parameters (e.g., `max_concurrent=100`, `log_level="INFO"`, `enable_hitl="false"`), causing these defaults to be sent to CloudFormation even when users didn't explicitly provide them
14-
- **Solution**: Refactored `build_parameters()` to only include explicitly provided parameters, allowing CloudFormation to automatically preserve existing values for parameters not specified in the update command
15-
- **Benefits**: Users can now safely update individual stack parameters without accidentally resetting other parameters to defaults, significantly reducing the risk of unintended stack configuration changes
16-
- **Implementation Details**:
17-
- Changed all `build_parameters()` function parameters to `Optional` with `None` defaults
18-
- Added conditional parameter inclusion - only adds parameter to dictionary if value is not `None`
19-
- Updated CLI to convert Click's default values to `None` when detecting they haven't been explicitly changed by the user
20-
- Removed unnecessary existing parameter retrieval code that attempted to fill in pattern/admin_email from existing stack
21-
- **Testing**: Added comprehensive test suite with 15 test cases covering new stack creation, empty updates, selective updates, and parameter preservation scenarios
22-
238
## [0.4.1]
249

2510
### Changed
@@ -35,7 +20,10 @@ SPDX-License-Identifier: MIT-0
3520
- **Re-enabled Regex Functionality** - Restored document name and page content regex functionality for Pattern-2 classification that was temporarily missing
3621
- **Pattern-2 ECR Enhanced Scanning Support** - Added required IAM permissions (inspector2:ListCoverage, inspector2:ListFindings) to Pattern2DockerBuildRole to support AWS accounts with Amazon Inspector Enhanced Scanning enabled. Also added KMS permissions (kms:Decrypt, kms:CreateGrant) for customer-managed encryption keys. This resolves AccessDenied errors and CodeBuild timeouts when deploying Pattern-2 in accounts with enhanced scanning enabled.
3722
- **Reporting Database Data Loss After Evaluation Refactoring - Fixes #121**
38-
- Fixed critical bug where metering data and document_section data stopped being written to the reporting database after evaluation was migrated from EventBridge to Step Functions workflow
23+
- Fixed bug where metering data and document_section data stopped being written to the reporting database after evaluation was migrated from EventBridge to Step Functions workflow
24+
- **IDP CLI Deploy Command Parameter Preservation Bug**
25+
- Fixed bug where `idp-cli deploy` command was resetting ALL stack parameters to their default values during updates, even when users only intended to change specific parameters
26+
3927

4028
## [0.4.0]
4129

0 commit comments

Comments
 (0)