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

feat: send config to transports on init #1930

Merged
merged 3 commits into from
Apr 24, 2024
Merged

feat: send config to transports on init #1930

merged 3 commits into from
Apr 24, 2024

Conversation

10xLaCroixDrinker
Copy link
Contributor

@10xLaCroixDrinker 10xLaCroixDrinker commented Mar 22, 2024

PR 2 of 3 for #1925

Relates to pinojs/thread-stream#145
Relates to pinojs/pino-abstract-transport#90

Include pinoWillSendConfig in workerData so that transports using the config know to wait, and emit a message event with PINO_CONFIG on the stream when initializing Pino

@mcollina
Copy link
Member

@10xLaCroixDrinker can you add an integration test that verifies all 3 pieces works correctly? Thanks

@10xLaCroixDrinker
Copy link
Contributor Author

@10xLaCroixDrinker can you add an integration test that verifies all 3 pieces works correctly? Thanks

Added in 18cb39d

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina mentioned this pull request Apr 24, 2024
@mcollina mcollina merged commit 5ceb596 into pinojs:master Apr 24, 2024
18 of 21 checks passed
@10xLaCroixDrinker 10xLaCroixDrinker deleted the feature/send-config-to-transports branch April 24, 2024 14:53
renovate bot added a commit to fwouts/previewjs that referenced this pull request Apr 24, 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://togithub.com/pinojs/pino)) | [`^8.20.0` ->
`^8.21.0`](https://renovatebot.com/diffs/npm/pino/8.20.0/8.21.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.20.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.20.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/pinojs/pino/compare/v8.20.0...v8.21.0)

#### What's Changed

- docs: add a section about pino-logfmt
[#&#8203;1879](https://togithub.com/pinojs/pino/issues/1879) by
[@&#8203;botflux](https://togithub.com/botflux) in
[pinojs/pino#1941
- Docs: Separate ecosystem lists by
[@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) in
[pinojs/pino#1942
- feat: send config to transports on init by
[@&#8203;10xLaCroixDrinker](https://togithub.com/10xLaCroixDrinker) in
[pinojs/pino#1930

#### New Contributors

- [@&#8203;botflux](https://togithub.com/botflux) made their first
contribution in
[pinojs/pino#1941
- [@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) made their
first contribution in
[pinojs/pino#1942

**Full Changelog**:
pinojs/pino@v8.20.0...v8.21.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to redwoodjs/redwood that referenced this pull request May 16, 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://togithub.com/pinojs/pino)) | [`8.19.0` ->
`8.21.0`](https://renovatebot.com/diffs/npm/pino/8.19.0/8.21.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.19.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.19.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/pinojs/pino/compare/v8.20.0...v8.21.0)

#### What's Changed

- docs: add a section about pino-logfmt
[#&#8203;1879](https://togithub.com/pinojs/pino/issues/1879) by
[@&#8203;botflux](https://togithub.com/botflux) in
[pinojs/pino#1941
- Docs: Separate ecosystem lists by
[@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) in
[pinojs/pino#1942
- feat: send config to transports on init by
[@&#8203;10xLaCroixDrinker](https://togithub.com/10xLaCroixDrinker) in
[pinojs/pino#1930

#### New Contributors

- [@&#8203;botflux](https://togithub.com/botflux) made their first
contribution in
[pinojs/pino#1941
- [@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) made their
first contribution in
[pinojs/pino#1942

**Full Changelog**:
pinojs/pino@v8.20.0...v8.21.0

###
[`v8.20.0`](https://togithub.com/pinojs/pino/compare/v8.19.0...v8.20.0)

[Compare
Source](https://togithub.com/pinojs/pino/compare/v8.19.0...v8.20.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Josh-Walker-GM pushed a commit to redwoodjs/redwood that referenced this pull request May 17, 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://togithub.com/pinojs/pino)) | [`8.19.0` ->
`8.21.0`](https://renovatebot.com/diffs/npm/pino/8.19.0/8.21.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pino/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pino/8.19.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pino/8.19.0/8.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/pinojs/pino/compare/v8.20.0...v8.21.0)

#### What's Changed

- docs: add a section about pino-logfmt
[#&#8203;1879](https://togithub.com/pinojs/pino/issues/1879) by
[@&#8203;botflux](https://togithub.com/botflux) in
[pinojs/pino#1941
- Docs: Separate ecosystem lists by
[@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) in
[pinojs/pino#1942
- feat: send config to transports on init by
[@&#8203;10xLaCroixDrinker](https://togithub.com/10xLaCroixDrinker) in
[pinojs/pino#1930

#### New Contributors

- [@&#8203;botflux](https://togithub.com/botflux) made their first
contribution in
[pinojs/pino#1941
- [@&#8203;EstebanDalelR](https://togithub.com/EstebanDalelR) made their
first contribution in
[pinojs/pino#1942

**Full Changelog**:
pinojs/pino@v8.20.0...v8.21.0

###
[`v8.20.0`](https://togithub.com/pinojs/pino/compare/v8.19.0...v8.20.0)

[Compare
Source](https://togithub.com/pinojs/pino/compare/v8.19.0...v8.20.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.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.

2 participants