Skip to content

Replace abandoned packages #2295

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

Open
ddeboer opened this issue Apr 17, 2025 · 2 comments
Open

Replace abandoned packages #2295

ddeboer opened this issue Apr 17, 2025 · 2 comments

Comments

@ddeboer
Copy link

ddeboer commented Apr 17, 2025

Some Laminas packages, including laminas/log, are now abandoned. Replace them with their modern counterparts (Monolog).

@Daniel-KM
Copy link
Contributor

This is a good idea and i started working on it in #2270.

But the main idea i had to avoid to repeat the Omeka Classic Hole, is to release a version 5.0 with fresh dependencies at the same time than version 4.2. And to use composer for anything, modules and theme included. So abandoned packages and omeka itself will be simpler to manage. See #2272 .

So i'll publish a test release like that when 4.2 will be released. It will requires changes in many modules.

@zerocrates
Copy link
Member

zerocrates commented Apr 18, 2025

More or less we're not going to be making composer changes in 4.2, with some possible minor exceptions.

Probably long-term we'll replace laminas-log with monolog, and we'll probably work up a small little adapter on our end to avoid anything that was logging to need to change... but just requiring some minor updates to logging code in a future major release might not be too bad either. 4.2 will probably include a second logger "facade" that's PSR compatible and that would be seamless but obviously there's lots of code out there using the laminas logger directly.

Similar pathway for other abandoned things: some have forks we could switch to, others we just aren't really using and could probably just drop. But again, don't expect action on any of that for 4.2.

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

No branches or pull requests

3 participants