Skip to content

Back out message pre-rendering#229

Merged
nblumhardt merged 2 commits into
datalust:devfrom
nblumhardt:render-when-dotted
Dec 1, 2024
Merged

Back out message pre-rendering#229
nblumhardt merged 2 commits into
datalust:devfrom
nblumhardt:render-when-dotted

Conversation

@nblumhardt
Copy link
Copy Markdown
Member

I spent some time extending the new message pre-rendering support from #228 to also cover dotted property names. Unfortunately, in the process, I discovered that this technique doesn't work with the Seq Events screen, and there's not an obvious path forward to get the experience people will want, there.

So, I've backed out message pre-rendering for now. But since our efforts to add it resulted in some API breakage, instead of backing those changes out entirely, I've switched SeqCompactJsonFormatter.FormatEvent() from a static method to an instance one. This cleans up the inner workings of SeqCompactJsonFormatter quite a bit and leaves us with more options to evolve that type in the future. The type itself is only a few months old, so unlikely to cause downstream breakage in unmaintained projects. Good time to jump in and course-correct :-)

@nblumhardt nblumhardt merged commit 5554df1 into datalust:dev Dec 1, 2024
Pomdapis pushed a commit to sassy-solutions/compendium that referenced this pull request May 18, 2026
Updated [Serilog](https://github.com/serilog/serilog) from 4.3.0 to
4.3.1.

<details>
<summary>Release notes</summary>

_Sourced from [Serilog's
releases](https://github.com/serilog/serilog/releases)._

## 4.3.1

## What's Changed
* Remove SourceLink by @​SimonCropp in
serilog/serilog#2183
* Handle Exception.ToString failures in text formatter by @​krisbiradar
in serilog/serilog#2197
* Remove char[] allocation by @​karpinsn in
serilog/serilog#2198
* Remove backpressure from XMLDoc by @​timothycoleman in
serilog/serilog#2203
* Don't enable XDOC for tests by @​nblumhardt in
serilog/serilog#2205
* Target and test on net10 by @​SimonCropp in
serilog/serilog#2206
* Fix trimming error when Serilog is a transitive dependency by @​Numpsy
in serilog/serilog#2214
* Inline TraceId and SpanId JSON string formatting by @​SimonCropp in
serilog/serilog#2215

## New Contributors
* @​krisbiradar made their first contribution in
serilog/serilog#2197
* @​karpinsn made their first contribution in
serilog/serilog#2198
* @​timothycoleman made their first contribution in
serilog/serilog#2203
* @​Numpsy made their first contribution in
serilog/serilog#2214

**Full Changelog**:
serilog/serilog@v4.3.0...v4.3.1

Commits viewable in [compare
view](serilog/serilog@v4.3.0...v4.3.1).
</details>

Updated
[Serilog.Sinks.Console](https://github.com/serilog/serilog-sinks-console)
from 6.0.0 to 6.1.1.

<details>
<summary>Release notes</summary>

_Sourced from [Serilog.Sinks.Console's
releases](https://github.com/serilog/serilog-sinks-console/releases)._

## 6.1.1

## What's Changed
* Report the number of escape characters formatted into themed sequence
rendering by @​nblumhardt in
serilog/serilog-sinks-console#136


**Full Changelog**:
serilog/serilog-sinks-console@v6.1.0...v6.1.1

## 6.1.0

* #​165 - support for `{UtcTimestamp}` in output templates (@​ManuelRin)
 * #​172, #​173 - switch build to Serilog org standard (@​nblumhardt)
 

Commits viewable in [compare
view](serilog/serilog-sinks-console@v6.0.0...v6.1.1).
</details>

Updated
[Serilog.Sinks.File](https://github.com/serilog/serilog-sinks-file) from
6.0.0 to 7.0.0.

<details>
<summary>Release notes</summary>

_Sourced from [Serilog.Sinks.File's
releases](https://github.com/serilog/serilog-sinks-file/releases)._

## 7.0.0

## What's Changed

* Fix issue with force-reopen after 30 minutes by @​Falco20019 in
serilog/serilog-sinks-file#337
* Support `ILoggingFailureListener` by @​nblumhardt in
serilog/serilog-sinks-file#342

## New Contributors

* @​Falco20019 made their first contribution in
serilog/serilog-sinks-file#337

**Full Changelog**:
serilog/serilog-sinks-file@v4.1.0...v7.0.0

Commits viewable in [compare
view](serilog/serilog-sinks-file@v6.0.0...v7.0.0).
</details>

Updated
[Serilog.Sinks.Seq](https://github.com/datalust/serilog-sinks-seq) from
8.0.0 to 9.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [Serilog.Sinks.Seq's
releases](https://github.com/datalust/serilog-sinks-seq/releases)._

## 9.1.0

## What's Changed
* Upgrade .NET and dependencies by @​liammclennan in
datalust/serilog-sinks-seq#244


**Full Changelog**:
datalust/serilog-sinks-seq@v9.0.0...v9.1.0

## 9.0.0

## What's Changed
* Accept a non-default `IFormatProvider` and use it for message
rendering by @​liammclennan in
datalust/serilog-sinks-seq#228,
datalust/serilog-sinks-seq#229
* Don't write a spurious `SelfLog` event when disposing an unused sink
in durable mode by @​nblumhardt in
datalust/serilog-sinks-seq#231
* Default to nesting (un-flattening) dotted property names by
@​nblumhardt in datalust/serilog-sinks-seq#232
* Use Actions build, .NET 9 SDK by @​nblumhardt in
datalust/serilog-sinks-seq#234
* Serilog 4.2 RTM by @​KodrAus in
datalust/serilog-sinks-seq#237


Commits viewable in [compare
view](datalust/serilog-sinks-seq@v8.0.0...v9.1.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[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.

1 participant