Skip to content

Bump github.com/kataras/golog from 0.1.12 to 0.1.15 in /pg - #668

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/pg/github.com/kataras/golog-0.1.15
Open

Bump github.com/kataras/golog from 0.1.12 to 0.1.15 in /pg#668
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/pg/github.com/kataras/golog-0.1.15

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/kataras/golog from 0.1.12 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)

Changelog

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

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Sun 24 Aug 2025 | v0.1.14

Added

  • Memory Management for Child Loggers: New methods to prevent memory leaks in long-running applications
    • RemoveChild(key any) bool - Remove specific child logger by key
    • ClearChildren() - Remove all child loggers at once
    • ChildCount() int - Get current number of child loggers
    • ListChildKeys() []any - List all child logger keys
  • Enhanced Scan Functionality: Complete implementation of the Scan() method
    • Time-formatted input scanning with bufio.Scanner
    • Goroutine-based processing for non-blocking operation
    • Proper resource cleanup and error handling

Changed

  • Removed External Dependencies: Eliminated github.com/kataras/pio dependency
    • Replaced with lightweight internal printer system
    • Maintained 100% API compatibility
    • Reduced binary size and simplified dependency management
  • Improved Performance: Streamlined internal architecture
    • Direct formatting via formatLog() method instead of complex hijacking
    • Atomic operations for thread-safe multi-writer support
    • More efficient color and styling system
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
  • 30dca19 update dependencies
  • 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 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.12 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.12...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] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 4, 2026
@CLAassistant

Copy link
Copy Markdown

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.

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.

1 participant