| 1 |
# CHANGELOG |
| 2 |
|
| 3 |
## v1.2.1 |
| 4 |
|
| 5 |
- [Improvement]: updated dependencies, test with Go 1.20. |
| 6 |
|
| 7 |
## v1.2.0 |
| 8 |
|
| 9 |
**This is the first release of package vsock that only supports Go 1.18+. Users |
| 10 |
on older versions of Go must use v1.1.1.** |
| 11 |
|
| 12 |
- [Improvement]: drop support for older versions of Go so we can begin using |
| 13 |
modern versions of `x/sys` and other dependencies. |
| 14 |
|
| 15 |
## v1.1.1 |
| 16 |
|
| 17 |
**This is the last release of package vsock that supports Go 1.17 and below.** |
| 18 |
|
| 19 |
- [Bug Fix] [commit](https://github.com/mdlayher/vsock/commit/ead86435c244d5d6baad549a6df0557ada3f4401): |
| 20 |
fix build on non-UNIX platforms such as Windows. This is a no-op change on |
| 21 |
Linux but provides a friendlier experience for non-Linux users. |
| 22 |
|
| 23 |
## v1.1.0 |
| 24 |
|
| 25 |
- [New API] [commit](https://github.com/mdlayher/vsock/commit/44cd82dc5f7de644436f22236b111ab97fa9a14f): |
| 26 |
`vsock.FileListener` can be used to create a `vsock.Listener` from an existing |
| 27 |
`os.File`, which may be provided by systemd socket activation or another |
| 28 |
external mechanism. |
| 29 |
|
| 30 |
## v1.0.1 |
| 31 |
|
| 32 |
- [Bug Fix] [commit](https://github.com/mdlayher/vsock/commit/99a6dccdebad21d1fa5f757d228d677ccb1412dc): |
| 33 |
upgrade `github.com/mdlayher/socket` to handle non-blocking `connect(2)` |
| 34 |
errors (called in `vsock.Dial`) properly by checking the `SO_ERROR` socket |
| 35 |
option. Lock in this behavior with a new test. |
| 36 |
- [Improvement] [commit](https://github.com/mdlayher/vsock/commit/375f3bbcc363500daf367ec511638a4655471719): |
| 37 |
downgrade the version of `golang.org/x/net` in use to support Go 1.12. We |
| 38 |
don't need the latest version for this package. |
| 39 |
|
| 40 |
## v1.0.0 |
| 41 |
|
| 42 |
**This is the first release of package vsock that only supports Go 1.12+. |
| 43 |
Users on older versions of Go must use an unstable release.** |
| 44 |
|
| 45 |
- Initial stable commit! |
| 46 |
- [API change]: the `vsock.Dial` and `vsock.Listen` constructors now accept an |
| 47 |
optional `*vsock.Config` parameter to enable future expansion in v1.x.x |
| 48 |
without prompting further breaking API changes. Because `vsock.Config` has no |
| 49 |
options as of this release, `nil` may be passed in all call sites to fix |
| 50 |
existing code upon upgrading to v1.0.0. |
| 51 |
- [New API]: the `vsock.ListenContextID` function can be used to create a |
| 52 |
`*vsock.Listener` which is bound to an explicit context ID address, rather |
| 53 |
than inferring one automatically as `vsock.Listen` does. |