Releases: contributte/newrelic
Releases · contributte/newrelic
v9.0.1
Bumped! 📊
Diff: v9.0.0...v9.0.1
Changes:
- Fix duplicate union type in OnErrorCallback::__invoke [0eb72b0] (@lukasprofant)
v9.0.0
Bumped! 🚀
Diff: v8.1.0...v9.0.0
Changes:
- Add support for contributte/console [31b0b21] (@RiKap)
- Refactoring: use Agent class instead of calling NewRelic functions directly [983e463] (@foxycode)
- Refactoring: get rid of Bootstrap class [b3a7d5b] (@foxycode)
- Refactoring: get rid of Custom static classes [4773701] (@foxycode)
- Added configurable transaction name formatters [2a3f796] (@foxycode)
- Added RUMControlFactory for HeaderControl and FooterControl [7d59b61] (@foxycode)
- NewRelicExtension: moved config options to separate classes [8e47f5a] (@foxycode)
- NewRelicExtension: set logger as service [0890b67] (@foxycode)
- Logger: use Agent interface [be307c8] (@foxycode)
- Composer: use PHP 8.2+, update to contributte QA tooling [c035fe8] (@f3l1x)
- Composer: updated supported php and nette package versions [22f7d16] (@foxycode)
- Code: apply code style fixes, use new Presenter constants [1e0e319] (@f3l1x)
Maintenance:
- CI: use PHP 8.2 for QA, add PHP 8.5 tests, add coverage workflow [eb073b4] (@f3l1x)
- Tests: use Toolkit::test(), update namespaces, cleanup [ab6842e] (@f3l1x)
- Config: use contributte/qa and contributte/phpstan, update configs [c1748b8] (@f3l1x)
- QA: added PHPStan [21aca5b] (@foxycode)
- Updated README [83a4b67] (@foxycode)
- Added Docker container config for local testing [567d715] (@foxycode)
9.0.0-alpha1
New features
- Added support for contributte/console (thanks to @RiKap)
- Improved console action name when not using contributte/console (thanks to @RiKap)
- Added
Agentclass for smarter work with NewRelic extension. NewRelic functions aren't called directly now. - Added tests for major things
- Added PHPStan static analysis
- Use nette/schema for extension config validation
- Added
WebTransactionNameFormatterandCliTransactionNameFormatterinterfaces which you can implement to format transaction names using your own style. - Added
RUMControlFactoryandRUMControlTraitfor easier registration ofHeaderControlandFooterControl
Changes
- Dropped PHP 7.1 support
- Minimum
nette/applicationversion is now^3.1 - Transaction name is now created using
DefaultWebTransactionNameFormatterwhich appendsPresenter::DEFAULT_ACTIONvalue when action is not present in presenter parameters [BC break] - Removed
Bootstrapclass [BC break] - Removed custom
Metrics,Parameters,Tracersclassees [BC break] - Removed RUM
Userclass [BC break] - Removed
actionKeyconfig option, extension is now usingPresenter::ACTION_KEY - Classes
HeaderControlandFooterControlare no longer registered as services [BC break]