Skip to content

Conversation

@priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Feb 4, 2025

This change will break the const platforms for users, but it’s likely only used in the Sentry icon stories. I considered adding @deprecation warning types, but since Object.keys() removes the types, it didn’t seem effective.

Other than that, users using the component <PlatformIcons /> passing a platform with a 'node-' prefix will be unaffected

contributes to

@priscilawebdev priscilawebdev requested review from a team and ArthurKnaus February 4, 2025 09:43
@priscilawebdev priscilawebdev marked this pull request as ready for review February 4, 2025 09:44
Copy link
Contributor

@constantinius constantinius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a sensible solution.

Comment on lines 135 to 136
node: "nodejs",
"node-awslambda": "awslambda",
"node-azurefunctions": "azure-functions",
"node-cloudflare-pages": "cloudflare",
"node-cloudflare-workers": "cloudflare",
"node-connect": "connect",
"node-express": "express",
"node-fastify": "fastify",
"node-gcpfunctions": "gcp-functions",
"node-hapi": "hapi",
"node-koa": "koa",
"node-nestjs": "nestjs",
"node-serverlesscloud": "serverless",
nvidia: "nvidia",
Copy link
Member

@ArthurKnaus ArthurKnaus Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that we do this, just note that this is a breaking change and we need to bump to the next major version on release.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeap. I am aware of that :)

@priscilawebdev priscilawebdev merged commit 627a469 into master Feb 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants