Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jsii): allow specifying a deprecation message regardless of stability #4145

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

RomainMuller
Copy link
Contributor

Previously, jsii required the package's stability to be deprecated if there cas a deprecated message configured. This is however problematic when a stable package reaches End-of-Support and the maintainer wants to signal this in npmjs.com.

Instead of failing, only log a warning to possibly raise awareness on an unintended configuration.

Additionally - emit the Development Status :: 7 - Inactive trove classifier on packages with a deprecated message, even if their stability is not deprecated.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…ility

Previously, `jsii` required the package's stability to be `deprecated`
if there cas a `deprecated` message configured. This is however
problematic when a `stable` package reaches End-of-Support and the
maintainer wants to signal this in npmjs.com.

Instead of failing, only log a warning to possibly raise awareness on
an unintended configuration.

Additionally - emit the `Development Status :: 7 - Inactive` trove
classifier on packages with a `deprecated` message, even if their
stability is not `deprecated`.
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jun 13, 2023
RomainMuller added a commit to aws/jsii-compiler that referenced this pull request Jun 13, 2023
Previously, `jsii` required the package's stability to be `deprecated` if there cas a `deprecated` message configured. This is however problematic when a `stable` package reaches End-of-Support and the maintainer wants to signal this in npmjs.com.

Instead of failing, only log a warning to possibly raise awareness on an unintended configuration.

Foward-ports: aws/jsii#4145
github-merge-queue bot pushed a commit to aws/jsii-compiler that referenced this pull request Jun 13, 2023
…146)

Previously, `jsii` required the package's stability to be `deprecated`
if there cas a `deprecated` message configured. This is however
problematic when a `stable` package reaches End-of-Support and the
maintainer wants to signal this in npmjs.com.

Instead of failing, only log a warning to possibly raise awareness on an
unintended configuration.

Foward-ports: aws/jsii#4145



---

By submitting this pull request, I confirm that my contribution is made
under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
@mergify
Copy link
Contributor

mergify bot commented Jun 13, 2023

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Jun 13, 2023
@mergify
Copy link
Contributor

mergify bot commented Jun 13, 2023

Merging (with squash)...

@RomainMuller RomainMuller merged commit 38d327c into main Jun 13, 2023
@RomainMuller RomainMuller deleted the rmuller/deprecated branch June 13, 2023 14:16
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants