Comments (9)
@thefrosty The branch "2.x" is the alpha right now https://github.com/inpsyde/Wonolog/tree/2.x
And it needs testing :)
Docs: https://github.com/inpsyde/Wonolog/tree/2.x/docs are already updated
from wonolog.
v2 already tests in both unit and integration in all PHP version from 7.2 to 8.2.
I'm closing this. If anyone has feedback, please share, thanks!
from wonolog.
@gmazzap We are looking to test Wonolog 2.x in order to fix these PHP 8 deprecations. I've looked through the docs, but cannot see any sort of upgrade guide. Does that mean Wonolog 2.x should be a drop-in replacement for Wonolog 1.x.
In other words - are there breaking changes we need to be aware of?
from wonolog.
@thefrosty we have a couple of lefotover instances of that string in v2, because PHP did not provide a replacement for it :(, and so we need to refactor https://github.com/inpsyde/Wonolog/blob/2.x/src/Data/Log.php
I will fix them in v2, but likely not in in v1
from wonolog.
That's fine, I wasn't aware of a v2, would love to see a beta or alpha tag to try out.
from wonolog.
Hello @gmazzap,
Any news regarding this issue ?
We are already using branch 2.x in production on a few projects, and it seems pretty much stable at this point, but we're still running them in PHP 8.0.
Now, with PHP 8.0 end of support coming before the end of the year, upgrade to 8.1 or 8.2 is becoming urgent.
I started to work on a PR a few weeks ago, but I didn't manage to have a strictly equivalent behavior with htmlspecialchars()
, and I wasn't sure of the logic here, so I didn't achieve it..
Bests regards,
Pierre
from wonolog.
Hi @pierre-dargham I should be able to fix this and release v2 in beta very soon.
from wonolog.
v2.0.0-beta.1 Should fix this already.
from wonolog.
@braders It's not a drop-in replacement.
As you know, Wonolog is very extensible and can do many things. The "basics" that you get out of the box are the same for v1 and v2.
But if you have extended v1 in some way, it might need adjustment to get the same extension work in v2, even if we tried to make it as much backward compatible as possible. But it is still a major version, so some breaking changes exist.
However, there're relevant changes in the configuration.
You right, we need to work on an upgrade guide, in the meantime if you tell me how you're configuring your v1 I can tell you the way to obtain same things in v2.
from wonolog.
Related Issues (20)
- Missing Update Return Type Documentation HOT 2
- Monolog 2.0.0 breaks compatability with Wonolog custom handlers. HOT 1
- Errors not appearing on sematext/Raygun HOT 4
- Support for audit/logging plugins HOT 1
- Great package needs great static analysis :) HOT 5
- Upgrade to Monolog 2* HOT 8
- Question: Getting wonolog to work HOT 1
- Do not log silenced PHP errors HOT 1
- [2.x] Q&A improvments HOT 3
- CronDebugListener: array_merge(): Expected parameter 1 to be an array, null given HOT 3
- Version 1 already uses PHP 7 code HOT 2
- Integrating with newrelic/monolog-enricher HOT 1
- Possible to change default listener priority? Re: FailedLoginListener HOT 1
- Log to custom channel HOT 1
- How to Log to php://stderr or php://stdout HOT 1
- [Bug]: PHP Deprecated: Return type of Inpsyde\Wonolog\Processor\ProcessorsRegistry::count() HOT 1
- [Feature Request]: Support for "wp_php_error_message"-hook HOT 6
- [Bug]: After update wordpress to 6.2.2 i get the following error HOT 1
- [Bug]: v1.x - PHP 8.1 compat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wonolog.