Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps electron-log from 5.1.4 to 5.4.1.

Changelog

Sourced from electron-log's changelog.

Changelog

5.4.0

  • #465 Allow using %c template for the transports.console.format. This change may break formatting if you already use %c in your format string. In this case, you can run log.transports.console.transforms.shift() before initializing the logger.

5.2.4

  • Add Buffering feature.

5.2.0

  • fix: #436 log.log isn't bound to log.info. Previously, it was processed with non-existent log level.

5.1.0

  • New entry point for NW.js / Node.js apps: 'electron-log/node'

5.0.0

Core

  • Now it's a time to use modern ES instead of ES5. It was a joy to use old-fashioned ES5, but since the library grows it becomes harder to follow its restrictions. Starting from v5 the library requires Node.js 14+ or Electron 13 at least.
  • Now a renderer process just sends log data to the main through IPC, so only the main logger can be configured. See initialize for more information
  • A new tranforms property is added for each transport. It allows to configure transformations preformed on message data. See transforms for more information.
  • log.create(logId) is replaced by log.create({ logId })

File transport

  • archiveLog options is renamed to archiveLogFn
  • resolvePath options is renamed to resolvePathFn
  • All logs are written to main.log file. If you want to write renderer logs to a separated file, you can do that by overriding resolvePathFn

Console transport

  • writeFn callback is added. By default, it just passes message.data to console.log function

... (truncated)

Commits
  • 60c3abf 5.4.1
  • e901617 feat: Warn when electron-log/renderer is used in the main proc
  • 5ce0327 5.4.0
  • 1533675 fix(ci): The setup-node action freezes on Windows (#466)
  • 8758265 fix(main): Support color formatting for individual console formats (#465)
  • fcb6c8e fix(renderer): Remove superfluous space in console messages (#464)
  • fb37076 5.3.4
  • 7ebc84f fix(buffering): Save the actual log message date, fixes #463
  • ecdb765 5.3.3
  • e1877fc chore(docs): Improve extend docs
  • Additional commits viewable in compare view

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)

Bumps [electron-log](https://github.com/megahertz/electron-log) from 5.1.4 to 5.4.1.
- [Changelog](https://github.com/megahertz/electron-log/blob/master/CHANGELOG.md)
- [Commits](megahertz/electron-log@v5.1.4...v5.4.1)

---
updated-dependencies:
- dependency-name: electron-log
  dependency-version: 5.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 2, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 2, 2025

@github-actions
Copy link

github-actions bot commented Jul 2, 2025

There are 1 test cases, failed count 0:

Name Average Max Min Count Error
11.089939ms 11.652759ms 10.417941ms 3 0

Reported by api-testing.

@LinuxSuRen LinuxSuRen merged commit 636ca76 into master Jul 4, 2025
13 of 14 checks passed
@LinuxSuRen LinuxSuRen deleted the dependabot/npm_and_yarn/console/atest-desktop/electron-log-5.4.1 branch July 4, 2025 02:49
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants