Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: uber-go/zap Loading
base: v1.23.0
Choose a base ref
...
head repository: uber-go/zap Loading
compare: v1.24.0
Choose a head ref
  • 10 commits
  • 22 files changed
  • 7 contributors

Commits on Aug 25, 2022

  1. tests: assert.Error/Contains => assert.ErrorContains (#1158)

    Replace uses of assert.Error followed by
    assert.Contains on the error message,
    with the single-line assert.ErrorContains.
    prashantv committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    0d6a75b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Logger, SugaredLogger: Add Level method (#1148)

    Add a `Level() Level` method on Logger and SugaredLogger
    that reports the current minimum enabled log level for the logger.
    
    This relies on the zapcore.LevelOf function added in #1147.
    
    Resolves #1144
    Depends on #1147
    abhinav committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    eae3743 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9abd14b View commit details
    Browse the repository at this point in the history
  3. Export objectMarshalerPtr (#1171)

    We should export objectMarshalerPtr since it's exposed in a public
    API - ObjectValues[T any, P objectMarshalerPtr[T]].
    sywhang committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    7681a0a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Open absolute paths as files, limited Windows support (#1159)

    Ref #994, #1000
    
    Alternate approach to #999, this approach brings absolute path support
    to Windows.
    It does so by checking for absolute paths and handling them using the
    file factory directly.
    
    To test different paths without trying to actually open them (UNC paths
    hit the network), this change also
    prefactors the sink registry into a separate type that allows stubbing
    of the `os.OpenFile` call.
    
    Note: This change does not bring full Windows support -- many tests
    still fail, and Windows file URIs don't work.
    prashantv committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    7cabba7 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    9137e0e View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2022

  1. SugaredLogger: Turn error into zap.Error (#1185)

    Craig Pastro committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    9b86a50 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Chore: Fix deprecation docs and links (#1193)

    Some of the doc comments on deprecated APIs weren't formatted correctly
    and wasn't showing up as deprecated on pkg.go.dev.
    
    This fixes those incorrectly formatted docs. Also added links to point
    to the new APIs that deprecated them.
    sywhang committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    da406e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Configuration menu
    Copy the full SHA
    ed5598a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Release v1.24.0 (#1208)

    This release includes the following changes:
    
    [v1.23.0...ed5598a.](v1.23.0...ed5598a)
    
    Refs GO-1752.
    sywhang committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    a55bdc3 View commit details
    Browse the repository at this point in the history
Loading