File: CHANGELOG.md

package info (click to toggle)
golang-github-moby-sys 0.0~git20241107.638aa7c-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 616 kB
  • sloc: makefile: 58
file content (90 lines) | stat: -rw-r--r-- 3,279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Changelog
This file documents all notable changes made to this project since the initial fork
from https://github.com/syndtr/gocapability/commit/42c35b4376354fd5.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2024-09-25

### Added
* Added [ListKnown] and [ListSupported] functions. (#153)
* [LastCap] is now available on non-Linux platforms (where it returns an error). (#152)

### Changed
* [List] is now deprecated in favor of [ListKnown] and [ListSupported]. (#153)

### Fixed
* Various documentation improvements. (#151)
* Fix "generated code" comment. (#153)

## [0.2.0] - 2024-09-16

This is the first release after the move to a new home in
github.com/moby/sys/capability.

### Fixed
 * Fixed URLs in documentation to reflect the new home.

## [0.1.1] - 2024-08-01

This is a maintenance release, fixing a few minor issues.

### Fixed
 * Fixed future kernel compatibility, for real this time. [#11]
 * Fixed [LastCap] to be a function. [#12]

## [0.1.0] - 2024-07-31

This is an initial release since the fork.

### Breaking changes

 * The `CAP_LAST_CAP` variable is removed; users need to modify the code to
   use [LastCap] to get the value. [#6]
 * The code now requires Go >= 1.21.

### Added
 * `go.mod` and `go.sum` files. [#2]
 * New [LastCap] function. [#6]
 * Basic CI using GHA infra. [#8], [#9]
 * README and CHANGELOG. [#10]

### Fixed
 * Fixed ambient capabilities error handling in [Apply]. [#3]
 * Fixed future kernel compatibility. [#1]
 * Fixed various linter warnings. [#4], [#7]

### Changed
 * Go build tags changed from old-style (`+build`) to new Go 1.17+ style (`go:build`). [#2]

### Removed
 * Removed support for capabilities v1 and v2. [#1]
 * Removed init function so programs that use this package start faster. [#6]
 * Removed `CAP_LAST_CAP` (use [LastCap] instead). [#6]

<!-- Doc links. -->
[Apply]: https://pkg.go.dev/github.com/moby/sys/capability#Capabilities.Apply
[LastCap]: https://pkg.go.dev/github.com/moby/sys/capability#LastCap
[List]: https://pkg.go.dev/github.com/moby/sys/capability#List
[ListKnown]: https://pkg.go.dev/github.com/moby/sys/capability#ListKnown
[ListSupported]: https://pkg.go.dev/github.com/moby/sys/capability#ListSupported

<!-- Minor releases. -->
[0.3.0]: https://github.com/moby/sys/releases/tag/capability%2Fv0.3.0
[0.2.0]: https://github.com/moby/sys/releases/tag/capability%2Fv0.2.0
[0.1.1]: https://github.com/kolyshkin/capability/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/kolyshkin/capability/compare/42c35b4376354fd5...v0.1.0

<!-- PRs in 0.1.x releases. -->
[#1]: https://github.com/kolyshkin/capability/pull/1
[#2]: https://github.com/kolyshkin/capability/pull/2
[#3]: https://github.com/kolyshkin/capability/pull/3
[#4]: https://github.com/kolyshkin/capability/pull/4
[#6]: https://github.com/kolyshkin/capability/pull/6
[#7]: https://github.com/kolyshkin/capability/pull/7
[#8]: https://github.com/kolyshkin/capability/pull/8
[#9]: https://github.com/kolyshkin/capability/pull/9
[#10]: https://github.com/kolyshkin/capability/pull/10
[#11]: https://github.com/kolyshkin/capability/pull/11
[#12]: https://github.com/kolyshkin/capability/pull/12