Skip to content

Commit bbc437a

Browse files
authored
feat(deps): update dependencies (#1161)
1 parent e901df3 commit bbc437a

9 files changed

Lines changed: 243 additions & 223 deletions

File tree

.projen/deps.json

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

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
const GITHUB_USER = 'awslabs';
3030
const PUBLICATION_NAMESPACE = 'cdklabs';
3131
const PROJECT_NAME = 'generative-ai-cdk-constructs';
32-
const CDK_VERSION: string = '2.216.0';
32+
const CDK_VERSION: string = '2.219.0';
3333

3434
function camelCaseIt(input: string): string {
3535
// Hypens and dashes to spaces and then CamelCase...

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CDK Generative AI Constructs v0.1.310 (2025-09-25)
1+
# CDK Generative AI Constructs v0.1.310 (2025-10-10)
22

3-
Based on CDK library version 2.216.0
3+
Based on CDK library version 2.219.0
44

55
# CDK Generative AI Constructs V0.1.306 (2025-04-25)
66

DEVELOPER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Default output format [None]: json
1616
```
1717

1818
- [Node](https://nodejs.org/en) >= v20.9.0
19-
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.216.0) >= 2.216.0
19+
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.219.0) >= 2.219.0
2020
- [Python](https://www.python.org/downloads/) >=3.9
2121
- [Projen](https://github.com/projen/projen) >= 0.91.5
2222
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/cli/install/) >= 1.22.19

lambda/opensearch-serverless-custom-resources/custom_resources/opensearch_index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def create_index(
193193
logger.debug(f"setting: {setting}")
194194
logger.debug(f"mapping: {mapping}")
195195
client.indices.create(
196-
index_name,
196+
index=index_name,
197197
body={
198198
"settings": setting,
199199
"mappings": mapping,
@@ -220,7 +220,7 @@ def handle_create(
220220
metadata_management: Sequence[MetadataManagementField],
221221
analyzer: AnalyzerProperties | None,
222222
):
223-
if client.indices.exists(index_name):
223+
if client.indices.exists(index=index_name):
224224
raise ValueError(f"Index {index_name} already exists")
225225

226226
try:
@@ -241,7 +241,7 @@ def handle_create(
241241
)
242242
def handle_delete(client: OpenSearch, index_name: str):
243243
try:
244-
client.indices.delete(index_name)
244+
client.indices.delete(index=index_name)
245245
except Exception as e:
246246
logger.error(f"Error deleting index {index_name}")
247247
logger.exception(e)

lambda/opensearch-serverless-custom-resources/poetry.lock

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

lambda/opensearch-serverless-custom-resources/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ description = ""
99
authors = [ "Amazon Web Services - Prototyping and Cloud Engineering" ]
1010

1111
[tool.poetry.dependencies]
12-
boto3 = "^1.33.6"
13-
opensearch-py = "^2.4.2"
12+
boto3 = "^1.40.49"
13+
opensearch-py = "^3.0.0"
1414
python = "^3.11"
15-
tenacity = "^8.2.3"
15+
tenacity = "^9.1.2"
1616

1717
[tool.poetry.dev-dependencies]
1818
mypy = "^1.2.0"
19-
pytest = "^7.4.3"
19+
pytest = "^8.4.2"
2020

package.json

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

yarn.lock

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

0 commit comments

Comments
 (0)