Commit d7900de1 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Update 'zap' dependency.

parent 3655f1fc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@
  version = "v1.1.0"

[[projects]]
  digest = "1:eaa05fe9a5f420e6a79ba174682f0883b5e44b74ed0680b9e3c3b5648485e30f"
  digest = "1:246f378f80fba6fcf0f191c486b6613265abd2bc0f2fa55a36b928c67352021e"
  name = "go.uber.org/zap"
  packages = [
    ".",
@@ -515,8 +515,8 @@
    "zapcore",
  ]
  pruneopts = ""
  revision = "4d45f9617f7d90f7a663ff21c7a4321dbe78098b"
  version = "v1.9.0"
  revision = "ff33455a0e382e8a81d14dd7c922020b6b5e7982"
  version = "v1.9.1"

[[projects]]
  digest = "1:887074c37fcefc2f49b5ae9c6f9f36107341aec23185613d0e9f1ee81db7f94a"
+1 −1
Original line number Diff line number Diff line
[[constraint]]
  name = "go.uber.org/zap"
  version = "~1.9.0"
  version = "~1.9.1"

[[constraint]]
  name = "google.golang.org/grpc"
+8 −1
Original line number Diff line number Diff line
# Changelog

## v1.9.1 (06 Aug 2018)

Bugfixes:

* [#614][]: MapObjectEncoder should not ignore empty slices.

## v1.9.0 (19 Jul 2018)

Enhancements:
* [#602][]: Reduce number of allocations when logging with reflection.
* [#572][], [#606][]: Expose a registry for third-party logging sinks.

Thanks to @nfarah86, @AlekSi, @JeanMertz, @phillippgille, @etsangsplk, and
Thanks to @nfarah86, @AlekSi, @JeanMertz, @philippgille, @etsangsplk, and
@dimroc for their contributions to this release.

## v1.8.0 (13 Apr 2018)
@@ -296,3 +302,4 @@ upgrade to the upcoming stable release.
[#602]: https://github.com/uber-go/zap/pull/602
[#572]: https://github.com/uber-go/zap/pull/572
[#606]: https://github.com/uber-go/zap/pull/606
[#614]: https://github.com/uber-go/zap/pull/614
+20 −20
Original line number Diff line number Diff line
@@ -55,26 +55,26 @@ func TestArrayWrappers(t *testing.T) {
		field    Field
		expected []interface{}
	}{
		{"empty bools", Bools("", []bool{}), []interface{}(nil)},
		{"empty byte strings", ByteStrings("", [][]byte{}), []interface{}(nil)},
		{"empty complex128s", Complex128s("", []complex128{}), []interface{}(nil)},
		{"empty complex64s", Complex64s("", []complex64{}), []interface{}(nil)},
		{"empty durations", Durations("", []time.Duration{}), []interface{}(nil)},
		{"empty float64s", Float64s("", []float64{}), []interface{}(nil)},
		{"empty float32s", Float32s("", []float32{}), []interface{}(nil)},
		{"empty ints", Ints("", []int{}), []interface{}(nil)},
		{"empty int64s", Int64s("", []int64{}), []interface{}(nil)},
		{"empty int32s", Int32s("", []int32{}), []interface{}(nil)},
		{"empty int16s", Int16s("", []int16{}), []interface{}(nil)},
		{"empty int8s", Int8s("", []int8{}), []interface{}(nil)},
		{"empty strings", Strings("", []string{}), []interface{}(nil)},
		{"empty times", Times("", []time.Time{}), []interface{}(nil)},
		{"empty uints", Uints("", []uint{}), []interface{}(nil)},
		{"empty uint64s", Uint64s("", []uint64{}), []interface{}(nil)},
		{"empty uint32s", Uint32s("", []uint32{}), []interface{}(nil)},
		{"empty uint16s", Uint16s("", []uint16{}), []interface{}(nil)},
		{"empty uint8s", Uint8s("", []uint8{}), []interface{}(nil)},
		{"empty uintptrs", Uintptrs("", []uintptr{}), []interface{}(nil)},
		{"empty bools", Bools("", []bool{}), []interface{}{}},
		{"empty byte strings", ByteStrings("", [][]byte{}), []interface{}{}},
		{"empty complex128s", Complex128s("", []complex128{}), []interface{}{}},
		{"empty complex64s", Complex64s("", []complex64{}), []interface{}{}},
		{"empty durations", Durations("", []time.Duration{}), []interface{}{}},
		{"empty float64s", Float64s("", []float64{}), []interface{}{}},
		{"empty float32s", Float32s("", []float32{}), []interface{}{}},
		{"empty ints", Ints("", []int{}), []interface{}{}},
		{"empty int64s", Int64s("", []int64{}), []interface{}{}},
		{"empty int32s", Int32s("", []int32{}), []interface{}{}},
		{"empty int16s", Int16s("", []int16{}), []interface{}{}},
		{"empty int8s", Int8s("", []int8{}), []interface{}{}},
		{"empty strings", Strings("", []string{}), []interface{}{}},
		{"empty times", Times("", []time.Time{}), []interface{}{}},
		{"empty uints", Uints("", []uint{}), []interface{}{}},
		{"empty uint64s", Uint64s("", []uint64{}), []interface{}{}},
		{"empty uint32s", Uint32s("", []uint32{}), []interface{}{}},
		{"empty uint16s", Uint16s("", []uint16{}), []interface{}{}},
		{"empty uint8s", Uint8s("", []uint8{}), []interface{}{}},
		{"empty uintptrs", Uintptrs("", []uintptr{}), []interface{}{}},
		{"bools", Bools("", []bool{true, false}), []interface{}{true, false}},
		{"byte strings", ByteStrings("", [][]byte{{1, 2}, {3, 4}}), []interface{}{[]byte{1, 2}, []byte{3, 4}}},
		{"complex128s", Complex128s("", []complex128{1 + 2i, 3 + 4i}), []interface{}{1 + 2i, 3 + 4i}},
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ func TestErrorArrayConstructor(t *testing.T) {
		field    Field
		expected []interface{}
	}{
		{"empty errors", Errors("", []error{}), []interface{}(nil)},
		{"empty errors", Errors("", []error{}), []interface{}{}},
		{
			"errors",
			Errors("", []error{nil, errors.New("foo"), nil, errors.New("bar")}),
Loading