Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 9, 2025

Bumps logger_json from 5.1.4 to 7.0.4.

Release notes

Sourced from logger_json's releases.

7.0.4

What's Changed

Full Changelog: Nebo15/logger_json@7.0.3...7.0.4

7.0.3

What's Changed

New Contributors

Full Changelog: Nebo15/logger_json@7.0.2...7.0.3

7.0.2

What's Changed

New Contributors

Full Changelog: Nebo15/logger_json@7.0.1...7.0.2

7.0.0

What's Changed

  • JSON encoder can be used with Elixir 1.18 by @​altjohndev #146
  • Add Formatter.new/1 callback to simplify creating and configuring formatters by @​ruslandoga #145. An additional benefit of this fix is that now the formatter configuration is only built once and not on each logger call, which should improve performance for some of the logger features. A similar Redactor.new/1 is also added to redactors behaviour.
  • Fixed a crash when handling improper lists by @​martosaur in #149
  • Fixed a crash in LoggerJSON.Formatters.Datadog when logging GenServer crash reports by @​wjwitek #148
  • Basic formatter now includes module.function/airty in the logged messages by @​ppeerttu #138
  • GoogleCloud formatter now will attempt to read project_id from environment variables if it's not set explicitly
  • GoogleCloud formatter will report all :emergency, :alert, :critical and :error messages to Google Cloud Error Reporter by default
  • Binary encoder performance is improved (thanks to @​josevalim for suggestions)

Upgrade instructions

Use new/1 in config/runtime.exs to set up the formatter:

config :logger, :default_handler,
--   formatter: {LoggerJSON.Formatters.Basic, [metadata: [:request_id]]}
++   formatter: LoggerJSON.Formatters.Basic.new(metadata: [:request_id])

Notice that the application and dependencies code are not available in config.exs so if it's where you configured the logging, you have two options:

  1. Move it to runtime.exs. This one is recommended because it will also reduce the amount of work the logger needs to do for each log entry;
  2. Upgrade to v7.0.1 and leave everything as is.

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Oct 9, 2025
@dependabot dependabot bot force-pushed the dependabot/hex/logger_json-7.0.4 branch from 080c0a2 to eb2b2c9 Compare October 28, 2025 15:03
Bumps [logger_json](https://github.com/Nebo15/logger_json) from 5.1.4 to 7.0.4.
- [Release notes](https://github.com/Nebo15/logger_json/releases)
- [Commits](Nebo15/logger_json@5.1.4...7.0.4)

---
updated-dependencies:
- dependency-name: logger_json
  dependency-version: 7.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/hex/logger_json-7.0.4 branch from eb2b2c9 to 35b23d9 Compare October 28, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant