Skip to content

v3.0.1-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@openui5bot openui5bot released this 23 Dec 08:38
· 215 commits to main since this 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:

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

Dependency Updates

All changes

v2.0.1...v3.0.1-rc.0