Releases: apple/swift-system-metrics
1.0.1
What's Changed
SemVer Patch
- Remove unsafe flags by @kukushechkin in #90
Full Changelog: 1.0.0...1.0.1
1.0.0
Swift System Metrics reaches 1.0! 🎉
This milestone marks swift-system-metrics as API-stable, making it suitable for integration into applications across macOS and Linux platforms.
Many thanks to everyone who provided feedback during development — your insights helped shaping this release! While the API is now stable, we remain committed to evolving it in an API-additive way.
What's Changed
SemVer Major
- [SSM-0001] New public API implementation by @kukushechkin in #66
- Calculate and report more granular process_cpu_seconds_total by @kukushechkin in #71
- SSM-0002: rename package to swift-system-metrics by @kukushechkin in #80
SemVer Minor
- add Sendable annotations and use withUnsafeTemporaryAllocation by @toffaletti in #53
- Drop Swift 5.9 by @rnro in #54
- Drop Swift 5 support, update toolchain to 6.0 by @kukushechkin in #59
- add support for compiling against musl by @kukushechkin in #68
- Implements a metrics provider for Darwin by @barrytomasini in #78
- Increase the default collection interval by @kukushechkin in #83
Other Changes
- Enable macOS CI on merge to main and daily timer by @rnro in #49
- Enable macOS CI on pull requests by @rnro in #51
- Enable Swift 6.1 jobs in CI by @rnro in #52
- Enable release mode builds by @josephnoir in #55
- chore: restrict GitHub workflow permissions - future-proof by @incertum in #58
- Migrate to Swift Testing by @kukushechkin in #60
- Introduce proposals process by @kukushechkin in #63
- Make the Proposal Process easier discoverable by @kukushechkin in #67
- [SSM-0001] Public API redesign by @kukushechkin in #65
- Add static SDK CI workflow by @rnro in #47
- [SSM-0002] Rename the package to better reflect its purpose by @kukushechkin in #70
- Upgrade GitHub Actions for Node 24 compatibility by @salmanmkc in #74
- Upgrade GitHub Actions for Node 24 compatibility by @kukushechkin in #79
- Improve Linux metrics collection implementation comments by @kukushechkin in #75
- Build example projects by @kukushechkin in #76
- Add a Grafana dashboard to the Service Integration example by @kukushechkin in #77
- [docs] organization, style, and grammar updates by @heckj in #81
- Do not put example service name into the dashboard config by @kukushechkin in #84
- Pre-1.0 suggestions by @czechboy0 in #87
New Contributors
- @toffaletti made their first contribution in #53
- @josephnoir made their first contribution in #55
- @incertum made their first contribution in #58
- @kukushechkin made their first contribution in #59
- @salmanmkc made their first contribution in #74
- @barrytomasini made their first contribution in #78
- @heckj made their first contribution in #81
Full Changelog: 0.3.2...1.0.0
0.3.2
What's Changed
SemVer Minor
SemVer Patch
- Enable strict concurrency by @czechboy0 in #39
- Fix Linux memory and CPU metrics derived from procfs by @simonjbeaumont in #46
Other Changes
- remove contributors script by @rnro in #36
- Aligning semantic version label check name by @FranzBusch in #38
- Enable MemberImportVisibility check on all targets by @rnro in #41
- Update release.yml by @FranzBusch in #42
- CI use 6.1 nightlies by @rnro in #43
- Rename nightly_6_1 params to nightly_next by @rnro in #44
- Only apply standard swift settings on valid targets by @rnro in #45
New Contributors
- @tomerd made their first contribution in #30
- @rnro made their first contribution in #35
- @FranzBusch made their first contribution in #38
- @czechboy0 made their first contribution in #39
- @simonjbeaumont made their first contribution in #46
Full Changelog: 0.3.1...0.3.2
0.3.1
A minor bugfix release addressing the fact that CPU time metric could occasionally report a "nan" (not a number) value, breaking some consumers of such metrics.
What's Changed
- Update CI by @yim-lee in #28
- Fix potential arithmetic errors in CPU usage calculator by @gjcairo in #29
Full Changelog: 0.3.0...0.3.1
0.3.0
What's Changed
Other
- Add CI for Swift 5.8 and update nightly to Ubuntu 22.04 by @yim-lee in #25
- Handle year 2023 in license headers by @ktoso in #27
Accidental 2.2.2 tag
We had accidentally tagged this version initially as 2.2.2 which was incorrect since this library still is in its 0.x series. If you had already updated to depend on 2.2.2 please clean your project and depend on 0.3.0 instead -- it is the same artifact. The incorrect 2.2.2 tag has been removed.
Full Changelog: 0.2.1...0.3.0
0.2.1
0.2.0
0.1.1 - Test metrics cache handlers
0.1.0 - Initial release
0.1.0