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

Packagist.org v1 metadata deprecated | Aug 1st 2025 deadline #1165

Open
Seldaek opened this issue Feb 17, 2025 · 7 comments
Open

Packagist.org v1 metadata deprecated | Aug 1st 2025 deadline #1165

Seldaek opened this issue Feb 17, 2025 · 7 comments

Comments

@Seldaek
Copy link

Seldaek commented Feb 17, 2025

You are using v1 metadata here https://github.com/yiisoft-contrib/yiiframework.com/blob/master/models/Extension.php#L236 which is now deprecated, and readonly (i.e. no more updates/new versions/new packages) since Feb 1st.

We recommend using the v2 metadata instead as that is complete.

Not sure what you're doing nor what you need the data for, but if you can explain I'm happy to help figure out what the best path forward is.

@samdark
Copy link
Member

samdark commented Feb 17, 2025

That's for validation at https://www.yiiframework.com/extensions/create

Image

@samdark
Copy link
Member

samdark commented Feb 17, 2025

@samdark
Copy link
Member

samdark commented Feb 17, 2025

@Seldaek
Copy link
Author

Seldaek commented Feb 17, 2025

Then if you only need this very rarely (if it's a one-off when someone submits an extension) I'd say it's probably easier to fetch from the API URL i.e. https://packagist.org/packages/monolog/monolog.json and not the /p/ one. That is gonna be more up to date and doesn't require the composer/metadata-minifier dependency.

@samdark
Copy link
Member

samdark commented Feb 18, 2025

Alright. Thanks.

When's the deadline for removal?

@Seldaek
Copy link
Author

Seldaek commented Feb 18, 2025

August 1st we plan on shutting that down.

@samdark
Copy link
Member

samdark commented Feb 19, 2025

Alright. Thanks for letting us know.

@samdark samdark changed the title Packagist.org v1 metadata deprecated Packagist.org v1 metadata deprecated | Aug 1st 2025 deadline Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants