Skip to content

Commit 4af4b76

Browse files
committed
Release 3.0.0
1 parent 888dfc9 commit 4af4b76

File tree

3 files changed

+31
-97
lines changed

3 files changed

+31
-97
lines changed

CHANGELOG.md

Lines changed: 28 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -2,112 +2,62 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
44

5-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.3...HEAD).
5+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v3.0.0...HEAD).
66

7-
<a name="v3.0.1-rc.3"></a>
8-
## [v3.0.1-rc.3] - 2023-02-02
9-
10-
<a name="v3.0.1-rc.2"></a>
11-
## [v3.0.1-rc.2] - 2023-01-24
12-
13-
<a name="v3.0.1-rc.1"></a>
14-
## [v3.0.1-rc.1] - 2023-01-18
7+
<a name="v3.0.0"></a>
8+
## [v3.0.0] - 2023-02-09
159
### Breaking Changes
16-
- Replace npmlog with [@ui5](https://github.com/ui5)/logger/Logger ([#363](https://github.com/SAP/ui5-logger/issues/363)) [`66a159a`](https://github.com/SAP/ui5-logger/commit/66a159acd9b67a27dd66d1e8056c362585f51bcf)
17-
18-
### BREAKING CHANGE
19-
20-
2110

22-
23-
<a name="v3.0.1-rc.0"></a>
24-
## [v3.0.1-rc.0] - 2022-12-23
25-
### Breaking Changes
11+
- Replace npmlog with @ui5/logger/Logger (#363) [`66a159a`](https://github.com/SAP/ui5-logger/commit/66a159acd9b67a27dd66d1e8056c362585f51bcf)
2612
- Deprecate advanced APIs in preparation of refactoring [`3aea5e7`](https://github.com/SAP/ui5-logger/commit/3aea5e766f9bda156e8c7e62a2e8c65f613ef7e9)
13+
- Transform to ES Modules ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
14+
- Require Node.js ^16.18.0, >=18.12.0 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
2715

2816
### BREAKING CHANGE
2917

18+
The @ui5/logger got refactored and as a result its API went public.
3019

20+
Remove the usage of npmlog and refactor @ui5/logger modules to emit log events which are then caught in dedicated handlers. This is somewhat inspired by npm's proc-log module.
3121

22+
This breaking change removes capabilities that are likely to change and should not be part of a public API.
3223

33-
<a name="v3.0.1-beta.1"></a>
34-
## [v3.0.1-beta.1] - 2022-11-11
35-
### Dependency Updates
36-
- Bump npmlog from 5.0.1 to 7.0.1 ([#321](https://github.com/SAP/ui5-logger/issues/321)) [`6c5c154`](https://github.com/SAP/ui5-logger/commit/6c5c154c53d8f81774d588714e8426922fa85271)
37-
24+
This will ensure that later changes to the module can be donen in a
25+
compatible manner.
3826

39-
<a name="v3.0.1-beta.0"></a>
40-
## [v3.0.1-beta.0] - 2022-11-07
41-
42-
<a name="v3.0.1-alpha.3"></a>
43-
## [v3.0.1-alpha.3] - 2022-10-24
44-
### Breaking Changes
45-
- Transform to native ESM ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
27+
Relevant changes:
4628

47-
### BREAKING CHANGE
29+
- Restrict log-methods to two argument only. The use of placeholders
30+
like '%s' is no longer supported. A warning will be logged if more
31+
than two argument is supplied. Placeholders will be replaced with a
32+
deprecation message. We suggest the use of template literals.
33+
- Deprecate #getGroupLogger method. Calling it throws an error.
34+
It will be removed in one of the next patch releases
35+
- Deprecate #setShowProgress method. Calling it throws an error.
36+
It will be removed in one of the next patch releases
37+
- Remove GroupLogger and TaskLogger classes. Similar functionality might
38+
be re-added in a later release.
4839

49-
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export.
50-
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
40+
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
41+
If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import.
5142

5243
For more information see also:
44+
5345
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
5446
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
5547

56-
57-
<a name="v3.0.1-alpha.2"></a>
58-
## [v3.0.1-alpha.2] - 2022-07-28
59-
### Features
60-
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
61-
62-
63-
<a name="v3.0.1-alpha.1"></a>
64-
## [v3.0.1-alpha.1] - 2022-01-25
65-
### Breaking Changes
66-
- Require Node.js >= 16.13.2 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
67-
68-
### BREAKING CHANGE
69-
7048
Support for older Node.js and npm releases has been dropped.
71-
Only Node.js v16.13.2 and npm v8 or higher are supported.
72-
73-
74-
<a name="v3.0.1-alpha.0"></a>
75-
## [v3.0.1-alpha.0] - 2021-12-14
76-
77-
<a name="v3.0.0-next.0"></a>
78-
## [v3.0.0-next.0] - 2021-11-29
79-
80-
<a name="v3.0.0-beta.1"></a>
81-
## [v3.0.0-beta.1] - 2022-11-07
82-
### Breaking Changes
83-
- Transform to native ESM ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
84-
- Require Node.js >= 16.13.2 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
49+
Only Node.js versions v16.18.0, v18.12.0 or higher as well as npm v8 or higher are supported.
8550

8651
### Features
87-
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
88-
89-
### BREAKING CHANGE
90-
91-
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export.
92-
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
93-
94-
For more information see also:
95-
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
96-
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
97-
98-
Support for older Node.js and npm releases has been dropped.
99-
Only Node.js v16.13.2 and npm v8 or higher are supported.
10052

53+
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
10154

102-
<a name="v3.0.0-alpha.0"></a>
103-
## [v3.0.0-alpha.0] - 2021-12-14
10455

10556
<a name="v2.0.1"></a>
10657
## [v2.0.1] - 2020-10-22
10758
### Bug Fixes
10859
- Typos in error messages [`1d25902`](https://github.com/SAP/ui5-logger/commit/1d2590223c4332f5ea6f1326b23ecf584fea5934)
10960

110-
11161
<a name="v2.0.0"></a>
11262
## [v2.0.0] - 2020-03-31
11363
### Breaking Changes
@@ -118,13 +68,11 @@ Only Node.js v16.13.2 and npm v8 or higher are supported.
11868
Support for older Node.js releases has been dropped.
11969
Only Node.js v10 or higher is supported.
12070

121-
12271
<a name="v1.0.2"></a>
12372
## [v1.0.2] - 2019-10-14
12473
### Bug Fixes
12574
- Fix handling of log level "silent" [`020ced8`](https://github.com/SAP/ui5-logger/commit/020ced85a82d33c94e429aa28983affa0d8341ba)
12675

127-
12876
<a name="v1.0.1"></a>
12977
## [v1.0.1] - 2019-03-21
13078

@@ -136,7 +84,6 @@ Only Node.js v10 or higher is supported.
13684
### Features
13785
- Add UI5_LOG_LVL environment variable [`c3e65c4`](https://github.com/SAP/ui5-logger/commit/c3e65c444045832773e4dc43ffa2baf903a27e52)
13886

139-
14087
<a name="v0.2.1"></a>
14188
## [v0.2.1] - 2018-10-29
14289

@@ -148,20 +95,7 @@ Only Node.js v10 or higher is supported.
14895

14996
<a name="v0.0.1"></a>
15097
## v0.0.1 - 2018-06-06
151-
152-
[v3.0.1-rc.3]: https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.2...v3.0.1-rc.3
153-
[v3.0.1-rc.2]: https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.1...v3.0.1-rc.2
154-
[v3.0.1-rc.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.0...v3.0.1-rc.1
155-
[v3.0.1-rc.0]: https://github.com/SAP/ui5-logger/compare/v3.0.1-beta.1...v3.0.1-rc.0
156-
[v3.0.1-beta.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-beta.0...v3.0.1-beta.1
157-
[v3.0.1-beta.0]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.3...v3.0.1-beta.0
158-
[v3.0.1-alpha.3]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.2...v3.0.1-alpha.3
159-
[v3.0.1-alpha.2]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.1...v3.0.1-alpha.2
160-
[v3.0.1-alpha.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.0...v3.0.1-alpha.1
161-
[v3.0.1-alpha.0]: https://github.com/SAP/ui5-logger/compare/v3.0.0-next.0...v3.0.1-alpha.0
162-
[v3.0.0-next.0]: https://github.com/SAP/ui5-logger/compare/v3.0.0-beta.1...v3.0.0-next.0
163-
[v3.0.0-beta.1]: https://github.com/SAP/ui5-logger/compare/v3.0.0-alpha.0...v3.0.0-beta.1
164-
[v3.0.0-alpha.0]: https://github.com/SAP/ui5-logger/compare/v2.0.1...v3.0.0-alpha.0
98+
[v3.0.0]: https://github.com/SAP/ui5-logger/compare/v2.0.1...v3.0.0
16599
[v2.0.1]: https://github.com/SAP/ui5-logger/compare/v2.0.0...v2.0.1
166100
[v2.0.0]: https://github.com/SAP/ui5-logger/compare/v1.0.2...v2.0.0
167101
[v1.0.2]: https://github.com/SAP/ui5-logger/compare/v1.0.1...v1.0.2

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ui5/logger",
3-
"version": "3.0.0-rc.4",
3+
"version": "3.0.0",
44
"description": "UI5 Tooling - Internal Logger",
55
"author": {
66
"name": "SAP SE",

0 commit comments

Comments
 (0)