4.5.0
版本发布时间: 2024-05-17 15:48:33
guanguans/laravel-exception-notify最新发布版本:4.6.0(2024-08-16 16:04:59)
4.5.0 - 2024-05-17
Docs
- README: update supported notification channels in English README
- README: Add caution for 4.x version
- mail: Update mail.jpg
- readme: update list of available features
- readme: Update README.md with more descriptive content
- readme: update supported notification channels
Feat
- Channel: add Channel base class and extend other channel classes
- ExceptionNotify: Add skipWhen method
- ExceptionNotifyManager: Add skipWhen method
- ToInternalExceptionRector: Add ToInternalExceptionRector for internal exceptions
- collectors: Add time field to ApplicationCollector
- composer-require-checker: Add configuration file for composer-require-checker
- config: Add environment configuration for exception notification
- config: Add new notification channels
- config: add aggregate channel configuration
- config: add mail configuration
- config: Add WithLogMiddlewareClientTapper class for exception-notify config
- laravel: Add Laravel 8.0 set list and related rules
Fix
- Optimized the email sending logic and added pipeline handling in the exception notification feature
- command: Fix condition check for driver in TestCommand.php
Refactor
- Replace ExceptionNotifyManager with ExceptionNotify facade
- change visibility of Request properties to private
- Fix exception handling and enhance type safety
- Fix exception handling and enhance type safety
- update contract names in classes
- modify ExceptionNotifyManager to use configRepository
- Channel: refactor string replacement method
- Channels: Improve readability of MailChannel and NotifyChannel
- DefaultNotifyClientExtender: Improve channel parameter handling
- ExceptionNotifyManager: Improve createDriver method
- FuncCallToStaticCall: refactor static calls to function calls
- MailChannel: simplify createMail method
- Naming: improve name generation logic
- NotifyChannel: Refactor NotifyChannel class for better readability and maintainability
- StaticCallToFuncCall: refactor Str::of to str
- app: Modify boot method in AppServiceProvider.php
- code: Improve ExceptionNotify skipWhen method
- collect: Improve RequestHeaderCollector to handle header array
- collector: remove unused code and fix access level of method
- collector: Improve exception trace collection
- collector: update rejected headers list
- collectors: remove unnecessary properties from ExceptionBasicCollector
- command: update TestCommand signature and handle method
- commands: improve readability of TestCommand.php
- composer: remove guanguans/ai-commit dependency
- config: Update default queue connection
- config: update Lark configuration and rename client tapper
- config: refactor RectorConfig
- config: Update exception notification rate limit cache store
- config: Update email recipients key in exception notification config
- config: update client extender references
- config: remove unnecessary code in exception-notify configuration
- config: update exception-notify.php configuration
- config: update notify client extenders
- config: remove 'report_using_creator' from exception-notify.php
- config: update 'env' to 'envs' in exception-notify.php
- config: update exception-notify extender function
- config: update exception-notify configuration
- config: Remove unnecessary comment lines
- config: remove FixPrettyJsonPipe from exception-notify.php
- exception-notify: update lark configuration
- log: Simplify LogChannel constructor and report method
- mail: Improve mail channel configuration and method handling
- mail: update mail classes names
- mail: rename ExceptionReportMail to ReportExceptionMail
- mail: Improve method call in MailChannel
- mail: Improve mail channel configuration handling
- mail: Improve reduce method in MailChannel.php
- mixins: Update mixins for Str and Stringable classes
- pipes: Add LimitLengthPipe to CollectorManager
- service provider: remove DeferrableProvider interface implementation
- service provider: improve extendExceptionHandler method
- serviceprovider: comment out unnecessary mixin calls
- src: Update static variable references to use self
- test: Improve env_explode test case
- testcommand: refactor TestCommand handle method
- tests: refactor ExceptionNotifyManagerTest.php and Support/HeplersTest.php
Test
- Update tests and refactor code
- Remove useless files, change exception class names, adjust configuration settings, and refactor notification methods.
- Channels: Update mail channel configuration
- Channels: add tests for mail and notify channels
- Commands: update TestCommandTest.php and PipeTest.php
- MailChannelTest: Add test case for sending report email
- MailChannelTest: add throws method in test
- ReportExceptionMailTest: add test for building self
- skip: skip test that throws InvalidArgumentException