You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .chglog/CHANGELOG.tpl.md
+102-1Lines changed: 102 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,111 @@ A list of unreleased changes can be found [here]({{ .Info.RepositoryURL }}/compa
33
33
{{ end -}}
34
34
{{ end -}}
35
35
36
+
37
+
### Breaking Changes
38
+
39
+
- Replace npmlog with @ui5/logger/Logger (#363) [`66a159a`](https://github.com/SAP/ui5-logger/commit/66a159acd9b67a27dd66d1e8056c362585f51bcf)
40
+
- Deprecate advanced APIs in preparation of refactoring [`3aea5e7`](https://github.com/SAP/ui5-logger/commit/3aea5e766f9bda156e8c7e62a2e8c65f613ef7e9)
41
+
- Transform to ES Modules ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
The @ui5/logger got refactored and as a result its API went public.
47
+
48
+
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.
49
+
50
+
This breaking change removes capabilities that are likely to change and should not be part of a public API.
51
+
52
+
This will ensure that later changes to the module can be donen in a
53
+
compatible manner.
54
+
55
+
Relevant changes:
56
+
57
+
- Restrict log-methods to two argument only. The use of placeholders
58
+
like '%s' is no longer supported. A warning will be logged if more
59
+
than two argument is supplied. Placeholders will be replaced with a
60
+
deprecation message. We suggest the use of template literals.
61
+
- Deprecate #getGroupLogger method. Calling it throws an error.
62
+
It will be removed in one of the next patch releases
63
+
- Deprecate #setShowProgress method. Calling it throws an error.
64
+
It will be removed in one of the next patch releases
65
+
- Remove GroupLogger and TaskLogger classes. Similar functionality might
66
+
be re-added in a later release.
67
+
68
+
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
69
+
If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import.
0 commit comments