Jordi Boggiano
60ad5183b5
Update changelog
3.0.0
2022-05-10 12:39:55 +02:00
Jordi Boggiano
b3451b008b
Merge branch '2.x' into main
2022-05-10 11:53:02 +02:00
Jordi Boggiano
247918972a
Update changelog
2.6.0
2022-05-10 11:36:00 +02:00
Jordi Boggiano
1dacc790b9
Remove LevelName enum in favor of a Level::getName method, fixes #1667 ( #1668 )
2022-05-10 11:15:16 +02:00
Jordi Boggiano
a5d65f6ec4
Fix infinite loops when a log handler triggers logging itself
2022-05-10 11:10:07 +02:00
Jordi Boggiano
5d43fd52d3
Allow UdpSocket to reconnect after close()
2022-05-10 10:29:15 +02:00
Lito
c709906d0a
[2.X] Allow stacktraces parser on LineFormatter ( #1665 )
...
* Allow stacktraces parser on LineFormatter
* Added includeStacktraces parse tests
2022-05-09 22:37:14 +02:00
Jordi Boggiano
2a8c7dffdf
Also allow for slow ES8 start
2022-05-09 00:16:47 +02:00
Jordi Boggiano
d381140ca1
Merge branch '2.x' into main
2022-05-09 00:10:47 +02:00
Jordi Boggiano
2af3276ca6
Update list of handlers
2022-05-09 00:10:39 +02:00
Jordi Boggiano
38fd8efb89
Update docs
2022-05-09 00:08:03 +02:00
Jordi Boggiano
a71c4e0250
Update changelog
3.0.0-RC1
2022-05-08 23:50:49 +02:00
Jordi Boggiano
5eca08223d
Merge branch '2.x' into main
2022-05-08 23:50:01 +02:00
Jordi Boggiano
354ddc8020
Fix changelog
2022-05-08 23:49:54 +02:00
Jordi Boggiano
8f6efe928a
Allow more time as elastic search sometimes is slow to boot
2022-05-08 23:49:25 +02:00
Jordi Boggiano
de11fc39de
Update upgrade notes
2022-05-08 23:19:43 +02:00
Jan-Eric Ortgies
709cb93aa6
replace deprecated method calls in GelfMessageFormatter ( #1664 )
...
- the getter/setter methods for file, level and facility are deprecated in gelf v1.1
- add those fields as additional instead, as suggested in the gelf spec (https://docs.graylog.org/v1/docs/gelf#gelf-payload-specification )
- update tests to reflect changes
2022-05-08 23:13:55 +02:00
Jordi Boggiano
acc142c2b7
Drop prophecy usage
2022-05-08 23:13:26 +02:00
Jordi Boggiano
8a356498d9
Fix ES8 build
2022-05-08 23:08:23 +02:00
Jordi Boggiano
1181473f4b
Merge branch '2.x' into main
2022-05-08 23:03:49 +02:00
Jordi Boggiano
bd24765917
ElasticSearch v8 support ( #1662 )
...
* ElasticSearch v8 support
* CI updates
Co-authored-by: Thomas Müller <mimmi20@live.de >
2022-05-08 22:23:46 +02:00
Jordi Boggiano
4c7a12b026
Add SymfonyMailerHandler, deprecate SwiftMailerHandler ( #1663 )
2022-05-07 13:05:55 +02:00
Jordi Boggiano
a6a66b1178
Fix phpdoc
2022-04-24 14:11:03 +02:00
Jordi Boggiano
c312cfdabf
Restore getLevelName but deprecate it
2022-04-24 13:49:06 +02:00
Jordi Boggiano
bd5968a567
Add missing types to constructor args
2022-04-24 11:17:17 +02:00
Jordi Boggiano
6627c092d8
Add phpstan strict rules and deprecation rules, fix all related issues
2022-04-24 11:08:10 +02:00
Jordi Boggiano
ad732b37a7
Update upgrade notes
2022-04-23 13:51:36 +02:00
Jordi Boggiano
733d6f1cc6
Remove dead code
2022-04-23 13:51:26 +02:00
Jordi Boggiano
1c80bce4ad
Fix error handler to not receive $context anymore as php8 dropped that
2022-04-22 21:32:10 +02:00
Jordi Boggiano
a7de8dd0c2
Update a few more callable to Closure
2022-04-22 14:26:03 +02:00
Jordi Boggiano
0dac87975c
Add property types to all properties where possible
2022-04-21 21:58:32 +02:00
systemsolutionweb
6634bd9b79
Forgotten config ( #1652 )
2022-04-20 09:25:41 +02:00
Jordi Boggiano
7952a83e0c
Move phpdoc to native types
2022-04-20 09:21:58 +02:00
Jordi Boggiano
2695fa86cd
CI fixes
2022-04-19 22:16:53 +02:00
Dan Hemberger
e4bb5c5cf3
Replace switch with match ( #1655 )
...
The `match` expression is available as of PHP 8.0 and provides a more
intuitive interface than `switch` when a single value is returned.
Note that it performs an identity check (===) between the value and
case instead of a weak equality check (==).
https://www.php.net/manual/en/control-structures.match.php
2022-04-19 21:51:29 +02:00
Dan Hemberger
14f39fe0ce
Use never return typehint ( #1654 )
...
The `never` return typehint was added in PHP 8.1 and can be used
to indicate that a function will never return.
RFC: https://wiki.php.net/rfc/noreturn_type
2022-04-19 21:50:32 +02:00
Jordi Boggiano
2d006a8472
Convert level/levelName to enums ( #1656 )
2022-04-19 21:49:03 +02:00
Jordi Boggiano
4192345e26
Update changelog
2.5.0
2022-04-08 17:43:54 +02:00
Jordi Boggiano
4c43f12548
Link attribute file again
2022-04-08 17:32:35 +02:00
Jordi Boggiano
508df120fa
Make AsMonologProcessor compatible with PHP 7.2
2022-04-08 17:32:03 +02:00
Jordi Boggiano
248673e858
Remove at matcher
2022-03-21 14:23:30 +01:00
Jordi Boggiano
a3ba6445a4
Cleanups
2022-03-21 14:18:56 +01:00
Jordi Boggiano
0aef68ce10
Remove rollbar for now as it requires monolog 2.x or psr/log 1.x
2022-03-21 14:18:55 +01:00
Jordi Boggiano
6b5bd6af5b
More cleanups
2022-03-21 14:18:55 +01:00
Jordi Boggiano
657ff7f916
Drop support for aws-php-sdk v2 from DynamoDbHandler
2022-03-21 14:18:55 +01:00
Jordi Boggiano
5eb9b8ed93
Code cleanups
2022-03-21 14:18:54 +01:00
Jordi Boggiano
b586dbe8e6
Remove SwiftMailerHandler
2022-03-21 14:18:54 +01:00
Jordi Boggiano
400effdd45
Fix some issues, bump phpunit version
2022-03-21 14:18:54 +01:00
Jordi Boggiano
22c8b19358
Add LogRecord class, drop PHP <8.1
2022-03-21 14:18:53 +01:00
Jordi Boggiano
f2f66cd480
Fix tests
2022-03-18 10:48:03 +01:00