illumos: add FEN backend to support illumos and Solaris. (#371)
all: add NewBufferedWatcher() to use a buffered channel, which can be useful in cases where you can't control the kernel buffer and receive a large number of events in bursts. (#550, #572)
all: add AddWith(), which is identical to Add() but allows passing options. (#521)
windows: allow setting the ReadDirectoryChangesW() buffer size with fsnotify.WithBufferSize(); the default of 64K is the highest value that works on all platforms and is enough for most purposes, but in some cases a highest buffer is needed. (#521)
Changes and fixes
inotify: remove watcher if a watched path is renamed (#518)
After a rename the reported name wasn't updated, or even an empty string. Inotify doesn't provide any good facilities to update it, so just remove the watcher. This is already how it worked on kqueue and FEN.
On Windows this does work, and remains working.
windows: don't listen for file attribute changes (#520)
File attribute changes are sent as FILE_ACTION_MODIFIED by the Windows API, with no way to see if they're a file write or attribute change, so would show up as a fsnotify.Write event. This is never useful, and could result in many spurious Write events.
windows: return ErrEventOverflow if the buffer is full (#525)
Before it would merely return "short read", making it hard to detect this error.
kqueue: make sure events for all files are delivered properly when removing a watched directory (#526)
Previously they would get sent with "" (empty string) or "." as the path name.
kqueue: don't emit spurious Create events for symbolic links (#524)
The link would get resolved but kqueue would "forget" it already saw the link itself, resulting on a Create for every Write event for the directory.
all: return ErrClosed on Add() when the watcher is closed (#516)
other: add Watcher.Errors and Watcher.Events to the no-op Watcher in backend_other.go, making it easier to use on unsupported platforms such as WASM, AIX, etc. (#528)
other: use the backend_other.go no-op if the appengine build tag is set; Google AppEngine forbids usage of the unsafe package so the inotify backend won't compile there.
illumos: add FEN backend to support illumos and Solaris. (#371)
all: add NewBufferedWatcher() to use a buffered channel, which can be useful
in cases where you can't control the kernel buffer and receive a large number
of events in bursts. (#550, #572)
all: add AddWith(), which is identical to Add() but allows passing
options. (#521)
windows: allow setting the ReadDirectoryChangesW() buffer size with
fsnotify.WithBufferSize(); the default of 64K is the highest value that
works on all platforms and is enough for most purposes, but in some cases a
highest buffer is needed. (#521)
Changes and fixes
inotify: remove watcher if a watched path is renamed (#518)
After a rename the reported name wasn't updated, or even an empty string.
Inotify doesn't provide any good facilities to update it, so just remove the
watcher. This is already how it worked on kqueue and FEN.
On Windows this does work, and remains working.
windows: don't listen for file attribute changes (#520)
File attribute changes are sent as FILE_ACTION_MODIFIED by the Windows API,
with no way to see if they're a file write or attribute change, so would show
up as a fsnotify.Write event. This is never useful, and could result in many
spurious Write events.
windows: return ErrEventOverflow if the buffer is full (#525)
Before it would merely return "short read", making it hard to detect this
error.
kqueue: make sure events for all files are delivered properly when removing a
watched directory (#526)
Previously they would get sent with "" (empty string) or "." as the path
name.
kqueue: don't emit spurious Create events for symbolic links (#524)
JUnit reports now interpret Label(owner:X) and set owner to X. [8f3bd70]
include cancellation reason when cancelling spec context [96e915c]
Fixes
emit output of failed go tool cover invocation so users can try to debug things for themselves [c245d09]
fix outline when using nodot in ginkgo v2 [dca77c8]
Document areas where GinkgoT() behaves differently from testing.T [dbaf18f]
bugfix(docs): use Unsetenv instead of Clearenv (#1337) [6f67a14]
Maintenance
Bump to go 1.20 [4fcd0b3]
v2.14.0
2.14.0
Features
You can now use GinkgoTB() when you need an instance of testing.TB to pass to a library.
Prior to this release table testing only supported generating individual Its for each test entry. DescribeTableSubtree extends table testing support to entire testing subtrees - under the hood DescrieTableSubtree generates a new container for each entry and invokes your function to fill our the container. See the docs to learn more.
JUnit reports now interpret Label(owner:X) and set owner to X. [8f3bd70]
include cancellation reason when cancelling spec context [96e915c]
Fixes
emit output of failed go tool cover invocation so users can try to debug things for themselves [c245d09]
fix outline when using nodot in ginkgo v2 [dca77c8]
Document areas where GinkgoT() behaves differently from testing.T [dbaf18f]
bugfix(docs): use Unsetenv instead of Clearenv (#1337) [6f67a14]
Maintenance
Bump to go 1.20 [4fcd0b3]
2.14.0
Features
You can now use GinkgoTB() when you need an instance of testing.TB to pass to a library.
Prior to this release table testing only supported generating individual Its for each test entry. DescribeTableSubtree extends table testing support to entire testing subtrees - under the hood DescrieTableSubtree generates a new container for each entry and invokes your function to fill our the container. See the docs to learn more.
This PR fixes Operation containing a reference to internal/json and breaking the ability to manually compose one. This restores that ability using a type alias.
This release dramatically improves interoperability with Go's log/slog package. In particular, logr.NewContext and logr.NewContextWithSlogLogger use the same context key, which allows logr.FromContext and logr.FromContextAsSlogLogger to return logr.Logger or *slog.Logger respectively, including transparently converting each to the other as needed.
Functions logr/slogr.NewLogr and logr/slogr.ToSlogHandler have been superceded by logr.FromSlogHandler and logr.ToSlogHandler respectively, and type logr/slogr.SlogSink has been superceded by logr.SlogSink. All of the old names in logr/slogr remain, for compatibility.
Package logr/funcr now supports logr.SlogSink, meaning that it's output passes all but one of the Slog conformance tests (that exception being that funcr handles the timestamp itself).
Users who have a logr.Logger and need a *slog.Logger can call slog.New(logr.ToSlogHandler(...)) and all output will go through the same stack.
Users who have a *slog.Logger or slog.Handler can call logr.FromSlogHandler(...) and all output will go through the same stack.
This contains several improvements to protoc-gen-openapi from @jeffsawatzky , including the ability to use proto annotations to add fragments to generated OpenAPI documents (#324). It also adds some missing OpenAPI compiler code that Jeff uncovered when testing the new fragment overlay feature - maps of strings were not properly exported in ToRawInfo() methods in both OpenAPI packages (v2 and v3). Thanks, Jeff!
Module cleanup
We had a series of problems related to a multi-module configuration and its reversion that all now appear to be fixed in this release. Individual components in the cmd directory are now (again) part of the main module and can be independently installed with the following:
go install github.com/google/gnostic/cmd/disco@latest
go install github.com/google/gnostic/cmd/parse-linter-output@latest
go install github.com/google/gnostic/cmd/petstore-builder@latest
go install github.com/google/gnostic/cmd/protoc-gen-jsonschema@latest
go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest
go install github.com/google/gnostic/cmd/report@latest
go install github.com/google/gnostic/cmd/report-messages@latest
go install github.com/google/gnostic/cmd/vocabulary-operations@latest
Verified with Go 1.16, 1.17, and 1.18beta1.
Single-module repo with retraction of v0.6.0 multimodule experiment
This adds a retract statement to go.mod to exclude v0.6.0 from dependency updates. Thanks @morphar and @shenqidebaozi for quickly catching and fixing problems with the multimodule configuration!
Single-module repo
No release notes provided.
Multimodule repo: apps are in "cmd". protoc-gen-openapi improvements. protoc-gen-jsonschema.
This renames the former apps directory to cmd and adds a go.mod for each cmd subdirectory. These directories contain demonstrations and various gnostic-related applications, and putting each in a separate module clarifies dependencies and reduces the apparent dependencies of gnostic itself (as listed in the top-level go.mod). Thanks @shenqidebaozi for making this change and @morphar for advising.
This also includes significant improvements to protoc-gen-openapi from @morphar and @tonybase and a new protoc-gen-jsonschema pluigin contributed by @morphar.
Commits
ee84fd2 fix: Stop lying how GRPC renders durations (#401)
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/kubevirt/vm-console-proxy/blob/main/OWNERS)~~ [akrejcir]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Bumps the production-dependencies group with 25 updates:
3.11.0
3.11.2
1.6.0
1.7.0
2.12.1
2.15.0
1.30.0
1.31.1
1.1.0-rc.0.0.20240111173838-304cdf11f9c4
1.2.0-beta.0
5.6.0+incompatible
5.9.0+incompatible
1.3.0
1.4.1
0.20.0
0.20.2
0.20.2
0.20.4
0.22.6
0.22.9
0.0.0-20230315185526-52ccab3ef572
2.20.0+incompatible
1.1.0
1.2.0
0.5.7-v3refs
0.7.0
1.3.1
1.6.0
1.5.0
1.5.1
0.0.0-20191119172530-79f836b90111
1.5.0
0.19.0
0.20.0
0.13.0
0.16.0
0.3.0
0.5.0
0.16.1
0.17.0
1.31.0
1.32.0
0.28.2
0.29.1
2.110.1
2.120.1
1.57.0-alpha1
1.58.1
0.0.0-20220329064328-f3cc58c6ed90
0.2.4
Updates
github.com/emicklei/go-restful/v3
from 3.11.0 to 3.11.2Changelog
Sourced from github.com/emicklei/go-restful/v3's changelog.
Commits
0b7e009
fix: restore ability to customize JSON handling (#540)290805f
remove the dependency on github.com/json-iterator/go. (#539)aaf45fd
reduce dependencies, add test code for examplesa328c20
update all tests to use 3.11Updates
github.com/fsnotify/fsnotify
from 1.6.0 to 1.7.0Release notes
Sourced from github.com/fsnotify/fsnotify's releases.
... (truncated)
Changelog
Sourced from github.com/fsnotify/fsnotify's changelog.
... (truncated)
Commits
cfc9c4f
Few more tiny doc fixes >_<c3fa8e6
Proof-read some docs and prepare 1.7.0 release5310461
Remove stray trailing space in doc commentf01d91e
Add NewBufferedWatcher() (#572)e545940
Merge pull request #589 from fsnotify/win-rmc86f21c
Document and test removing watched directory on Windows68111f2
Merge pull request #588 from fsnotify/illumos0614185
Add back illumos2f2332a
Idiomatic bitwise operations769aaa7
Tweak docsUpdates
github.com/onsi/ginkgo/v2
from 2.12.1 to 2.15.0Release notes
Sourced from github.com/onsi/ginkgo/v2's releases.
... (truncated)
Changelog
Sourced from github.com/onsi/ginkgo/v2's changelog.
... (truncated)
Commits
7fa0190
v2.15.0c245d09
emit output of failed go tool cover invocation so users can try to debug thin...dca77c8
fix outline when using nodot inginkgo v296e915c
include cancellation reason when cancelling spec context4fcd0b3
Bump to go 1.20732abbc
clarify that last owner label wins8f3bd70
JUnit reports now interpret Label(owner:X) and set owner to X.dbaf18f
Document areas where GinkgoT() behaves differently from testing.T6f67a14
bugfix(docs): use Unsetenv instead of Clearenv (#1337)beaf16d
v2.14.0Updates
github.com/onsi/gomega
from 1.30.0 to 1.31.1Release notes
Sourced from github.com/onsi/gomega's releases.
Changelog
Sourced from github.com/onsi/gomega's changelog.
Commits
762b171
v1.31.126661b8
tidy up go.sumbde8f7a
bump dependencies24e958d
Show how to import the format sub packagead1a367
Update test in case keeping msg is desirede0dd999
Inverted arguments order of FailureMessage of BeComparableToMatcherba8bba2
v1.31.0121c37f
Async assertions include context cancellation cause if presentdee1e3c
Bump minimum go version49005fe
docs: fix typo in example usage "occured" -> "occurred"Updates
kubevirt.io/client-go
from 1.1.0-rc.0.0.20240111173838-304cdf11f9c4 to 1.2.0-beta.0Commits
Updates
github.com/evanphx/json-patch
from 5.6.0+incompatible to 5.9.0+incompatibleRelease notes
Sourced from github.com/evanphx/json-patch's releases.
Commits
b7a4e4a
Merge pull request #202 from evanphx/f-html-escape7eef36c
Guard using options to avoid a crash bug1bcbd0f
Merge pull request #201 from evanphx/b-null9d7ba23
Add option to control if the output is HTMLEscaped009bc56
Validate that the partialDoc is decoded correctlyb82b685
Use a type alias for RawMessage to avoid breaking the public API of Operation05c9526
Merge pull request #197 from evanphx/f-perf7a438a6
Minor simplifications2a122d1
More optimizations174e1d7
Add MergePatch benchmarkUpdates
github.com/go-logr/logr
from 1.3.0 to 1.4.1Release notes
Sourced from github.com/go-logr/logr's releases.
Commits
dcdc3f2
slogr: fix unintended API break in v0.8.0 (#253)5d88f52
funcr: Add LogInfoLevel Option to skip logging level in the info log (#240)177005d
build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0e7f489a
build(deps): bump github/codeql-action from 2.22.9 to 3.22.11cf56c3b
build(deps): bump actions/setup-go from 4 to 52ad296e
build(deps): bump github/codeql-action from 2.22.8 to 2.22.9d55b4e2
Merge pull request #241 from thockin/master98ee9d9
Clean up slog testing and restore coverageb228ba8
Break examples to new file6432877
Add benchmarks for slogSinkUpdates
github.com/go-openapi/jsonpointer
from 0.20.0 to 0.20.2Commits
344388f
fix(GetForToken): added support for pointer to interface{}6cf0fb8
updated to swag v0.22.5d329668
Merge pull request #14 from fredbi/chore/relint-updateb59e589
chore: updated and relintedUpdates
github.com/go-openapi/jsonreference
from 0.20.2 to 0.20.4Commits
23cc9cc
chore(deps): updated go-openapi deps82a5123
updated jsonpointerc2779b3
doc: removed extraneous godoc link (#19)4be0df5
Merge pull request #18 from fredbi/chore/update-lintfc60cd6
chore: update & lintUpdates
github.com/go-openapi/swag
from 0.22.6 to 0.22.9Commits
a05020e
Bump actions/setup-go from 4 to 58ce930b
Bump actions/checkout from 3 to 476c9b7c
Updated dependabot frequency to monthlye181373
Added dependabot216b00a
refreshed go.mod01194a0
perf(mangling): optimized the processing of initialismsb3e7a53
fix(mangling): fixed name mangling when special chars are substituted0ddf107
fix(ci): muted warnings in CI runs due to cache conflictsUpdates
github.com/go-task/slim-sprig
from 0.0.0-20230315185526-52ccab3ef572 to 2.20.0+incompatibleChangelog
Sourced from github.com/go-task/slim-sprig's changelog.
... (truncated)
Commits
Updates
github.com/golang/glog
from 1.1.0 to 1.2.0Release notes
Sourced from github.com/golang/glog's releases.
Commits
b256bbe
glog: add context variants to most log functionsbcf3184
glog/internal/logsink: add logsink tests6b9d7f7
glog: populate symlinks -log_link directory (#64)03ad3c2
glog: use os.Stderr directly for writing to stderr (#62)6ce8ac9
glog: update minimum go version to go1.19 (#61)c0f9e3d
glog: don't use SIGABRT on platforms that don't support signals9c9801e
glog: make zero value of vModuleFlag usable2cef961
glog: use strings.TrimSuffixUpdates
github.com/google/gnostic
from 0.5.7-v3refs to 0.7.0Release notes
Sourced from github.com/google/gnostic's releases.
Commits
ee84fd2
fix: Stop lying how GRPC renders durations (#401)65eab73
tools/j2y2j: fix dropped error (#402)836f55b
Migrate gnostic to use gnostic-models (#400)987797b
surface: Set status and content-type in response fields (#385)dd1001c
fix: Prevent panic when parsing empty documents (#389)a5c9e9c
Bump google.golang.org/genproto (#393)ed4d962
Update action to use ubuntu-22.04 (#394)ade94e0
protoc-gen-openapi: add flag to generate source_relative yaml (#359)0835de8
Handle google/protobuf/wrappers.proto types on protoc-gen-openapi (#366)8c84f3c
Don't remove newlines from openapi descriptions (#370)Updates
github.com/google/uuid
from 1.3.1 to 1.6.0Release notes
Sourced from github.com/google/uuid's releases.
Changelog
Sourced from github.com/google/uuid's changelog.
Commits
0f11ee6
chore(master): release 1.6.0 (#151)16939da
chore(tests): add strict monotonicity test case for uuid v7. (#154)/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: akrejcir
The full list of commands accepted by this bot can be found here.
The pull request process is described here