Skip to content

Commit 291963b

Browse files
authored
chore(assert): deprecate assert, assert-internal, @monocdk-experiment/assert (#18634)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 5775e7e commit 291963b

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

packages/@aws-cdk/assert-internal/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33

44
---
55

6-
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
6+
![Deprecated](https://img.shields.io/badge/deprecated-critical.svg?style=for-the-badge)
77

8-
> The APIs of higher level constructs in this module are experimental and under active development.
9-
> They are subject to non-backward compatible changes or removal in any future version. These are
10-
> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be
11-
> announced in the release notes. This means that while you may use them, you may need to update
12-
> your source code when upgrading to a newer version of this package.
8+
> This API may emit warnings. Backward compatibility is not guaranteed.
139
14-
If using monocdk, use [@monocdk-experiment/assert](https://www.npmjs.com/package/@monocdk-experiment/assert) instead.
10+
## Replacement recommended
11+
12+
This library has been deprecated. We recommend you use the
13+
[@aws-cdk/assertions](https://docs.aws.amazon.com/cdk/api/v1/docs/assertions-readme.html) module instead.
1514

1615
---
1716

packages/@aws-cdk/assert-internal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"engines": {
5656
"node": ">= 10.13.0 <13 || >=13.7.0"
5757
},
58-
"stability": "experimental",
59-
"maturity": "experimental",
58+
"stability": "deprecated",
59+
"maturity": "deprecated",
6060
"publishConfig": {
6161
"tag": "latest"
6262
},

packages/@aws-cdk/assert/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
"exclude": true
7272
},
7373
"nozem": false,
74-
"stability": "experimental",
75-
"maturity": "developer-preview",
74+
"stability": "deprecated",
75+
"maturity": "deprecated",
7676
"publishConfig": {
7777
"tag": "latest-1"
7878
}

packages/@monocdk-experiment/assert/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"engines": {
6565
"node": ">= 10.13.0 <13 || >=13.7.0"
6666
},
67-
"stability": "experimental",
68-
"maturity": "developer-preview",
67+
"stability": "deprecated",
68+
"maturity": "deprecated",
6969
"publishConfig": {
7070
"tag": "latest"
7171
}

0 commit comments

Comments
 (0)