Skip to content

Commit 24b83c8

Browse files
authored
docs: update the docs and create a new announcement blog (#217)
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: CONTRIBUTING.md#commit - [ ] Tests for the changes have been added (for bug fixes / features) - [x] Docs have been added / updated (for bug fixes / features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [x] Documentation content changes [ ] Other... Please describe: ``` ## What is the new behavior? - Update the docs to reflect the new changes - Write an announcement blog post
1 parent 0ec04a7 commit 24b83c8

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'Announcing Lumberjack v19: Angular 19 and no more Enum-based levels'
3+
description: Lumberjack v19 is here and it brings compatibility with Angular 19 and removes the old and depricated Enum-based levels.
4+
slug: announcing-lumberjack-v18
5+
authors:
6+
- name: Nacho Vazquez
7+
title: NgWorker and core maintainer of Lumberjack
8+
url: https://github.com/NachoVazquez
9+
image_url: https://github.com/NachoVazquez.png
10+
tags: [announcement, lumberjack, v19]
11+
image: https://pub-2294738bc2c249ff8040505bf960c018.r2.dev/logo.svg
12+
hide_table_of_contents: false
13+
---
14+
15+
It took us a couple of months, but here we are. Lumberjack v19 is out, which brings compatibility with Angular 19 and removes the old and depricated Enum-based levels.
16+
17+
## Angular 19
18+
19+
With the new version of Angular out, we are happy to announce that Lumberjack is compatible with Angular 19.
20+
21+
This closes issue: [#213](https://github.com/ngworker/lumberjack/issues/213)
22+
23+
## Enum-based levels removal
24+
25+
In version 17, we deprecated the usage of Enum-based levels in favor of string literal unions and announced they would be removed in version 19. See [here](https://ngworker.github.io/lumberjack/blog/announcing-lumberjack-v17). Mission accomplished.
26+
27+
This change simplifies the API and reduces the library bundle size.
28+
29+
## Wrapping Up
30+
31+
There is nothing else to add; update your dependencies and enjoy the new version of Lumberjack.

packages/docs/lumberjack-docs-app/docs/compatibility.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Refer to the following table to determine which version of Lumberjack is compati
77

88
| Angular version | Lumberjack version |
99
| --------------- | ------------------ |
10+
| 19.x | 19.x |
1011
| 18.x | 18.x |
1112
| 17.x | 17.x |
1213
| 16.x | 16.x |

packages/docs/lumberjack-docs-app/docs/log-drivers/log-drivers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ levels for the HTTP driver as seen in the following example.
5151
```ts
5252
import { bootstrapApplication } from '@angular/platform-browser';
5353

54-
import { Level as LumberjackLevel, provideLumberjack } from '@ngworker/lumberjack';
54+
import { LumberjackLevel, provideLumberjack } from '@ngworker/lumberjack';
5555
import { provideLumberjackConsoleDriver } from '@ngworker/lumberjack/console-driver';
5656
import { provideLumberjackHttpDriver, withHttpConfig } from '@ngworker/lumberjack/http-driver';
5757

0 commit comments

Comments
 (0)