Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 563c65f

Browse files
authored
Update to v1.5.12 open-source release (#231)
1 parent a6d9195 commit 563c65f

File tree

5 files changed

+19
-154
lines changed

5 files changed

+19
-154
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.5.12] - 2024-11-19
8+
### Security:
9+
- Bump cross-spawn to `7.0.6` to resolve [CVE-2024-9506](https://github.com/advisories/GHSA-5j4c-8p2g-v4jx)
10+
11+
### Fixed:
12+
- If a filesystem's stack changes from CREATE_COMPLETE to UPDATE_COMPLETE it no longer lists as managed [#229](https://github.com/aws-solutions/simple-file-manager-for-amazon-efs/issues/229)
13+
714
## [1.5.11] - 2024-10-29
815
### Security:
916
- Bump http-proxy-middleware to `2.0.7` to resolve [cve-2024-21536](https://github.com/advisories/GHSA-c7qv-q95q-8v27)

source/api/app.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def format_filesystem_response(filesystem):
101101
new_filesystem_object["managed"] = "Deleting"
102102
elif stack_status['Stacks'][0]['StackStatus'] == 'CREATE_IN_PROGRESS':
103103
new_filesystem_object["managed"] = "Creating"
104-
elif stack_status['Stacks'][0]['StackStatus'] == 'CREATE_COMPLETE':
104+
elif stack_status['Stacks'][0]['StackStatus'] == 'UPDATE_IN_PROGRESS':
105+
new_filesystem_object["managed"] = "Updating"
106+
elif stack_status['Stacks'][0]['StackStatus'] in ['CREATE_COMPLETE', 'UPDATE_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE']:
105107
new_filesystem_object["managed"] = True
106108

107109
new_filesystem_object["file_system_id"] = filesystem_id
@@ -476,7 +478,7 @@ def delete_filesystem_lambda(filesystem_id):
476478
:raises ChaliceViewError, BadRequestError
477479
"""
478480
stack_status = describe_manager_stack(filesystem_id)
479-
if stack_status['Stacks'][0]['StackStatus'] == 'CREATE_COMPLETE':
481+
if stack_status['Stacks'][0]['StackStatus'] in ['CREATE_COMPLETE', 'UPDATE_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE']:
480482
try:
481483
delete_stack = delete_manager_stack(filesystem_id)
482484
app.log.info(delete_stack)

source/web/package-lock.json

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

source/web/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,14 @@
5656
"fast-xml-parser": "4.4.1",
5757
"postcss": "8.4.31",
5858
"axios": "0.28.0",
59-
"cookie": "0.7.0"
59+
"cookie": "0.7.0",
60+
"cross-spawn": "^7.0.6"
6061
},
6162
"resolutions": {
6263
"fast-xml-parser": "4.4.1",
6364
"postcss": "8.4.31",
6465
"axios": "0.28.0",
65-
"cookie": "0.7.0"
66+
"cookie": "0.7.0",
67+
"cross-spawn": "^7.0.6"
6668
}
6769
}

test/unit/api/service_responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
],
182182
'MonitoringTimeInMinutes': 123
183183
},
184-
'StackStatus': 'CREATE_COMPLETE',
184+
'StackStatus': 'UPDATE_COMPLETE',
185185
'StackStatusReason': 'string',
186186
'DisableRollback': True,
187187
'NotificationARNs': [

0 commit comments

Comments
 (0)