v3.0.1-rc.0
Pre-release
Pre-release
π This is the first release candidate of @ui5/logger
version 3
Breaking Changes
- Deprecate advanced APIs in preparation of refactoring
3aea5e7
- Transform to native ESM (#306)
c79608b
- Require Node.js >= 16.13.2 / npm >= 8
a8af8a7
BREAKING CHANGE
In preparation for a major refactoring of @ui5/logger, and as part of
making its API public, this breaking change removes capabilities that
are likely to change and should not be part of a public API.
This will ensure that later changes to the module can be donen in a
compatible manner.
Relevant changes:
- Restrict log-methods to two argument only. The use of placeholders
like '%s' is no longer supported. A warning will be logged if more
than two argument is supplied. Placeholders will be replaced with a
deprecation message. We suggest the use of template literals. - Deprecate #getGroupLogger method. Calling it throws an error.
It will be removed in one of the next patch releases - Deprecate #setShowProgress method. Calling it throws an error.
It will be removed in one of the next patch releases - Remove GroupLogger and TaskLogger classes. Similar functionality might
be re-added in a later release.
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export.
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
For more information see also:
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Support for older Node.js and npm releases has been dropped.
Only Node.js v16.18.0 and npm v8 or higher are supported.
Features
- Add new log level "perf"
acf0c71