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

Support unknown, reverts 1783, add tests #1866

Merged
merged 3 commits into from
Dec 14, 2023
Merged

Support unknown, reverts 1783, add tests #1866

merged 3 commits into from
Dec 14, 2023

Conversation

mcollina
Copy link
Member

@mcollina mcollina commented Dec 14, 2023

This reverts #1783.
I as not aware that TypeScript matched errors as unknown.

Specifically, the following should be supported without any additional helpers:

try {
  dangerousFunc();
} catch (err) {
  logger.error(err)
}

As this is part of the Pino and should be supported on both JavaScript and TypeScript.

Fixes #1865

cc @Zamiell @kibertoad

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina
Copy link
Member Author

I've also added a couple of tests.

@mcollina mcollina changed the title Revert ts change Support unknown, reverts 1783, add tests Dec 14, 2023
@mcollina mcollina merged commit 6b470c1 into master Dec 14, 2023
20 of 21 checks passed
@mcollina mcollina deleted the revert-ts-change branch December 14, 2023 09:28
renovate bot referenced this pull request in ettorepuccetti/terrarossa Dec 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pino](https://getpino.io)
([source](https://github.com/pinojs/pino)) | [`8.16.2` ->
`8.17.1`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.17.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.16.2/8.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.16.2/8.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pinojs/pino (pino)</summary>

### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1)

#### What's Changed

- Support unknown, reverts 1783, add tests by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866)
- Add Type Example for custom logger by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867)

**Full Changelog**:
pinojs/pino@v8.17.0...v8.17.1

### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0)

#### What's Changed

- build(deps): bump actions/github-script from 6 to 7 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857)
- Make license detectable by GitHub by
[@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- docs: Clarify how to log both to a custom transport and to stdout by
[@&#8203;kibertoad](https://github.com/kibertoad) in
[https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860)
- Fix/types by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858)
- Bumped tsd to v0.29.0 by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863)
- fix: typescript types by
[@&#8203;Zamiell](https://github.com/Zamiell) in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)
- build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766)

#### New Contributors

- [@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker)
made their first contribution in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- [@&#8203;Zamiell](https://github.com/Zamiell) made their first
contribution in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)

**Full Changelog**:
pinojs/pino@v8.16.2...v8.17.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on Friday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ettorepuccetti/terrarossa).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in fwouts/previewjs Dec 26, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pino](https://getpino.io)
([source](https://github.com/pinojs/pino)) | [`^8.16.2` ->
`^8.17.2`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.17.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.16.2/8.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.16.2/8.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pinojs/pino (pino)</summary>

### [`v8.17.2`](https://github.com/pinojs/pino/releases/tag/v8.17.2)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2)

#### What's Changed

- build(deps): bump process-warning from 2.3.2 to 3.0.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1869](https://github.com/pinojs/pino/pull/1869)
- fix: type of child logger with custom levels by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1871](https://github.com/pinojs/pino/pull/1871)

**Full Changelog**:
pinojs/pino@v8.17.1...v8.17.2

### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1)

#### What's Changed

- Support unknown, reverts 1783, add tests by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866)
- Add Type Example for custom logger by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867)

**Full Changelog**:
pinojs/pino@v8.17.0...v8.17.1

### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0)

#### What's Changed

- build(deps): bump actions/github-script from 6 to 7 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857)
- Make license detectable by GitHub by
[@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- docs: Clarify how to log both to a custom transport and to stdout by
[@&#8203;kibertoad](https://github.com/kibertoad) in
[https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860)
- Fix/types by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858)
- Bumped tsd to v0.29.0 by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863)
- fix: typescript types by
[@&#8203;Zamiell](https://github.com/Zamiell) in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)
- build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766)

#### New Contributors

- [@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker)
made their first contribution in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- [@&#8203;Zamiell](https://github.com/Zamiell) made their first
contribution in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)

**Full Changelog**:
pinojs/pino@v8.16.2...v8.17.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in redwoodjs/redwood Mar 19, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pino](https://getpino.io)
([source](https://github.com/pinojs/pino)) | [`8.16.2` ->
`8.19.0`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.19.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.16.2/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.16.2/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pinojs/pino (pino)</summary>

### [`v8.19.0`](https://github.com/pinojs/pino/releases/tag/v8.19.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0)

#### What's Changed

- api.md: Fix link declaration by
[@&#8203;homersimpsons](https://github.com/homersimpsons) in
[https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900)
- Update transports.md by
[@&#8203;huijiewei](https://github.com/huijiewei) in
[https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897)
- Add a basic `formatters` option to the browser pino by
[@&#8203;KatelynKim](https://github.com/KatelynKim) in
[https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898)
- `setLevel` should respect level comparison option by
[@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) in
[https://github.com/pinojs/pino/pull/1901](https://github.com/pinojs/pino/pull/1901)
- Add formatters log option by
[@&#8203;KatelynKim](https://github.com/KatelynKim) in
[https://github.com/pinojs/pino/pull/1905](https://github.com/pinojs/pino/pull/1905)

#### New Contributors

- [@&#8203;homersimpsons](https://github.com/homersimpsons) made their
first contribution in
[https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900)
- [@&#8203;huijiewei](https://github.com/huijiewei) made their first
contribution in
[https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897)
- [@&#8203;KatelynKim](https://github.com/KatelynKim) made their first
contribution in
[https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898)

**Full Changelog**:
pinojs/pino@v8.18.0...v8.19.0

### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0)

#### What's Changed

- build(deps): bump actions/upload-artifact from 3 to 4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873)
- chore(license): Update licensing year by
[@&#8203;codershiba](https://github.com/codershiba) in
[https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882)
- fix: destination docs and types by
[@&#8203;codershiba](https://github.com/codershiba) in
[https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881)
- Correct type of `pino`'s `stream` parameter by
[@&#8203;quisido](https://github.com/quisido) in
[https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874)
- Add ability to override custom levels comparison by
[@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) in
[https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883)
- build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888)

#### New Contributors

- [@&#8203;codershiba](https://github.com/codershiba) made their first
contribution in
[https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882)
- [@&#8203;quisido](https://github.com/quisido) made their first
contribution in
[https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874)
- [@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) made
their first contribution in
[https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883)

**Full Changelog**:
pinojs/pino@v8.17.2...v8.18.0

### [`v8.17.2`](https://github.com/pinojs/pino/releases/tag/v8.17.2)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2)

#### What's Changed

- build(deps): bump process-warning from 2.3.2 to 3.0.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1869](https://github.com/pinojs/pino/pull/1869)
- fix: type of child logger with custom levels by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1871](https://github.com/pinojs/pino/pull/1871)

**Full Changelog**:
pinojs/pino@v8.17.1...v8.17.2

### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1)

#### What's Changed

- Support unknown, reverts 1783, add tests by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866)
- Add Type Example for custom logger by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867)

**Full Changelog**:
pinojs/pino@v8.17.0...v8.17.1

### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0)

#### What's Changed

- build(deps): bump actions/github-script from 6 to 7 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857)
- Make license detectable by GitHub by
[@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- docs: Clarify how to log both to a custom transport and to stdout by
[@&#8203;kibertoad](https://github.com/kibertoad) in
[https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860)
- Fix/types by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858)
- Bumped tsd to v0.29.0 by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863)
- fix: typescript types by
[@&#8203;Zamiell](https://github.com/Zamiell) in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)
- build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766)

#### New Contributors

- [@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker)
made their first contribution in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- [@&#8203;Zamiell](https://github.com/Zamiell) made their first
contribution in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)

**Full Changelog**:
pinojs/pino@v8.16.2...v8.17.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Price <thedavid@thedavidprice.com>
thedavidprice referenced this pull request in redwoodjs/redwood Mar 27, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pino](https://getpino.io)
([source](https://github.com/pinojs/pino)) | [`8.16.2` ->
`8.19.0`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.19.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.16.2/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.16.2/8.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pinojs/pino (pino)</summary>

### [`v8.19.0`](https://github.com/pinojs/pino/releases/tag/v8.19.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0)

#### What's Changed

- api.md: Fix link declaration by
[@&#8203;homersimpsons](https://github.com/homersimpsons) in
[https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900)
- Update transports.md by
[@&#8203;huijiewei](https://github.com/huijiewei) in
[https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897)
- Add a basic `formatters` option to the browser pino by
[@&#8203;KatelynKim](https://github.com/KatelynKim) in
[https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898)
- `setLevel` should respect level comparison option by
[@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) in
[https://github.com/pinojs/pino/pull/1901](https://github.com/pinojs/pino/pull/1901)
- Add formatters log option by
[@&#8203;KatelynKim](https://github.com/KatelynKim) in
[https://github.com/pinojs/pino/pull/1905](https://github.com/pinojs/pino/pull/1905)

#### New Contributors

- [@&#8203;homersimpsons](https://github.com/homersimpsons) made their
first contribution in
[https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900)
- [@&#8203;huijiewei](https://github.com/huijiewei) made their first
contribution in
[https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897)
- [@&#8203;KatelynKim](https://github.com/KatelynKim) made their first
contribution in
[https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898)

**Full Changelog**:
pinojs/pino@v8.18.0...v8.19.0

### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0)

#### What's Changed

- build(deps): bump actions/upload-artifact from 3 to 4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873)
- chore(license): Update licensing year by
[@&#8203;codershiba](https://github.com/codershiba) in
[https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882)
- fix: destination docs and types by
[@&#8203;codershiba](https://github.com/codershiba) in
[https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881)
- Correct type of `pino`'s `stream` parameter by
[@&#8203;quisido](https://github.com/quisido) in
[https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874)
- Add ability to override custom levels comparison by
[@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) in
[https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883)
- build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888)

#### New Contributors

- [@&#8203;codershiba](https://github.com/codershiba) made their first
contribution in
[https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882)
- [@&#8203;quisido](https://github.com/quisido) made their first
contribution in
[https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874)
- [@&#8203;obrus-corcentric](https://github.com/obrus-corcentric) made
their first contribution in
[https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883)

**Full Changelog**:
pinojs/pino@v8.17.2...v8.18.0

### [`v8.17.2`](https://github.com/pinojs/pino/releases/tag/v8.17.2)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2)

#### What's Changed

- build(deps): bump process-warning from 2.3.2 to 3.0.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1869](https://github.com/pinojs/pino/pull/1869)
- fix: type of child logger with custom levels by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1871](https://github.com/pinojs/pino/pull/1871)

**Full Changelog**:
pinojs/pino@v8.17.1...v8.17.2

### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1)

#### What's Changed

- Support unknown, reverts 1783, add tests by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866)
- Add Type Example for custom logger by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867)

**Full Changelog**:
pinojs/pino@v8.17.0...v8.17.1

### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0)

[Compare
Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0)

#### What's Changed

- build(deps): bump actions/github-script from 6 to 7 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857)
- Make license detectable by GitHub by
[@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- docs: Clarify how to log both to a custom transport and to stdout by
[@&#8203;kibertoad](https://github.com/kibertoad) in
[https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860)
- Fix/types by
[@&#8203;UndefinedBehaviour](https://github.com/UndefinedBehaviour) in
[https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858)
- Bumped tsd to v0.29.0 by
[@&#8203;mcollina](https://github.com/mcollina) in
[https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863)
- fix: typescript types by
[@&#8203;Zamiell](https://github.com/Zamiell) in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)
- build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766)

#### New Contributors

- [@&#8203;10xLaCroixDrinker](https://github.com/10xLaCroixDrinker)
made their first contribution in
[https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859)
- [@&#8203;Zamiell](https://github.com/Zamiell) made their first
contribution in
[https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783)

**Full Changelog**:
pinojs/pino@v8.16.2...v8.17.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Price <thedavid@thedavidprice.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pino 8.17.0 breaks logging from catch in TypeScript
2 participants