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