Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clock: Move to zapcore #950

Merged
merged 1 commit into from May 25, 2021
Merged

clock: Move to zapcore #950

merged 1 commit into from May 25, 2021

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented May 25, 2021

We don't need to export the Clock interface from the top-level Zap
package. This is a low-level API so we can keep it in zapcore only.

We don't need to export the Clock interface from the top-level Zap
package. This is a low-level API so we can keep it in zapcore only.
@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #950 (a07ecd6) into master (dedcdad) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #950      +/-   ##
==========================================
- Coverage   98.12%   98.02%   -0.11%     
==========================================
  Files          44       44              
  Lines        1975     1975              
==========================================
- Hits         1938     1936       -2     
- Misses         29       30       +1     
- Partials        8        9       +1     
Impacted Files Coverage Δ
options.go 100.00% <ø> (ø)
logger.go 96.19% <100.00%> (ø)
zapcore/clock.go 100.00% <100.00%> (ø)
zapcore/sampler.go 96.15% <0.00%> (-3.85%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dedcdad...a07ecd6. Read the comment docs.

Copy link
Contributor

@moisesvega moisesvega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@abhinav abhinav merged commit 7699673 into master May 25, 2021
@abhinav abhinav deleted the abg/mv-clock branch May 25, 2021 16:57
@abhinav abhinav mentioned this pull request May 25, 2021
abhinav added a commit that referenced this pull request May 25, 2021
This release v1.17.0 of Zap with all changes from `master` minus the following:

- #897
- #948
- #950

These changes were omitted because we're still in the process of
changing the interface introduced in #897. We will include that in the
next release.

Release changelog: https://github.com/uber-go/zap/blob/release-1-17/CHANGELOG.md#1170-25-may-2021

Using [apidiff], the surface area of this release compared to v1.16.0
is:

```
--- go.uber.org/zap ---
Compatible changes:
- Inline: added

--- go.uber.org/zap/zapcore ---
Compatible changes:
- InlineMarshalerType: added

--- go.uber.org/zap/zapgrpc ---
Compatible changes:
- (*Logger).Error: added
- (*Logger).Errorf: added
- (*Logger).Errorln: added
- (*Logger).Info: added
- (*Logger).Infof: added
- (*Logger).Infoln: added
- (*Logger).V: added
- (*Logger).Warning: added
- (*Logger).Warningf: added
- (*Logger).Warningln: added

--- go.uber.org/zap/zaptest/observer ---
Compatible changes:
- (*ObservedLogs).FilterFieldKey: added
```

  [apidiff]: https://github.com/golang/exp/blob/master/apidiff/README.md

Resolves #942
Refs GO-599
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants