Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2025

Bumps github.com/kataras/golog from 0.1.13 to 0.1.15.

Release notes

Sourced from github.com/kataras/golog's releases.

v0.1.15

See https://github.com/kataras/golog/releases/tag/v0.1.14

v0.1.14

🚀 Golog v0.1.14 - Zero Dependencies, Enhanced Memory Management

Lightweight • Powerful • Memory-Efficient

🌟 What's New

Zero External Dependencies

We've completely eliminated the external kataras/pio dependency while maintaining 100% backward compatibility. Your existing code works exactly as before, but now with:

  • Smaller binary size - Reduced footprint for your applications
  • Faster builds - Fewer dependencies to download and compile
  • Enhanced security - Reduced attack surface
  • Simplified deployment - No external dependency management

🧠 Smart Memory Management

New child logger memory management prevents memory leaks in long-running applications:

// Create child loggers for different services
dbLogger := logger.Child("database")
apiLogger := logger.Child("api")
cacheLogger := logger.Child("cache")
// Monitor memory usage
fmt.Printf("Active children: %d\n", logger.ChildCount())
fmt.Printf("Child keys: %v\n", logger.ListChildKeys())
// Clean up when services shut down
logger.RemoveChild("api")        // Remove specific child
logger.ClearChildren()           // Remove all children

📡 Enhanced Scan Functionality

Complete implementation of the Scan() method for real-time log processing:

  • Time-formatted input - Automatic timestamp prefixing
  • Non-blocking operation - Goroutine-based processing
  • Resource management - Proper cleanup and error handling

🎯 Perfect For

  • Microservices - Organize logs by service with memory-efficient child loggers
  • Web Applications - Track requests with automatic cleanup
  • Long-Running Daemons - Prevent memory leaks over extended periods
  • Container Deployments - Minimal dependencies and smaller images
  • High-Performance Systems - Streamlined internal architecture

📊 Performance Improvements

... (truncated)

Commits
  • ab983e9 minor: use the golang.org/x/sys/windows instead of manually syscall
  • 3c86c70 minor: Printer.Printf and Printer.WriteString helper methods
  • 6b57eca minor: Printer.Terminal -> io.Writer (multiwriter) to just *Printer
  • f6d97ce minor: Printer.TerminalOrStderr
  • be04db3 minor: Printer.TerminalOrStdout
  • 585ebf0 expose the internal package, renamed to 'printer' as advanced implementations...
  • b152955 minor: add Clone on Printer too, so we do a deeper clone on logger.Clone
  • 7c75b48 minor: see prev commit
  • 030b933 new release, read the release page for more information
  • See full diff 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 [github.com/kataras/golog](https://github.com/kataras/golog) from 0.1.13 to 0.1.15.
- [Release notes](https://github.com/kataras/golog/releases)
- [Changelog](https://github.com/kataras/golog/blob/master/HISTORY.md)
- [Commits](kataras/golog@v0.1.13...v0.1.15)

---
updated-dependencies:
- dependency-name: github.com/kataras/golog
  dependency-version: 0.1.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 1, 2025
@dependabot dependabot bot requested a review from kataras as a code owner September 1, 2025 11:24
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 1, 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.

@kataras kataras closed this Sep 15, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/kataras/golog-0.1.15 branch September 15, 2025 09:09
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants