Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update the docs and create a new announcement blog #217

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: 'Announcing Lumberjack v19: Angular 19 and no more Enum-based levels'
description: Lumberjack v19 is here and it brings compatibility with Angular 19 and removes the old and depricated Enum-based levels.
slug: announcing-lumberjack-v18
authors:
- name: Nacho Vazquez
title: NgWorker and core maintainer of Lumberjack
url: https://github.com/NachoVazquez
image_url: https://github.com/NachoVazquez.png
tags: [announcement, lumberjack, v19]
image: https://pub-2294738bc2c249ff8040505bf960c018.r2.dev/logo.svg
hide_table_of_contents: false
---

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.

## Angular 19

With the new version of Angular out, we are happy to announce that Lumberjack is compatible with Angular 19.

This closes issue: [#213](https://github.com/ngworker/lumberjack/issues/213)

## Enum-based levels removal

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.

This change simplifies the API and reduces the library bundle size.

## Wrapping Up

There is nothing else to add; update your dependencies and enjoy the new version of Lumberjack.
1 change: 1 addition & 0 deletions packages/docs/lumberjack-docs-app/docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Refer to the following table to determine which version of Lumberjack is compati

| Angular version | Lumberjack version |
| --------------- | ------------------ |
| 19.x | 19.x |
| 18.x | 18.x |
| 17.x | 17.x |
| 16.x | 16.x |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ levels for the HTTP driver as seen in the following example.
```ts
import { bootstrapApplication } from '@angular/platform-browser';

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

Expand Down