Releases: nikhil-prabhu/cloud-detect
Releases · nikhil-prabhu/cloud-detect
v2.0.1
v2.0.0
v2.0.0 is a major, breaking update that adds a number of enhancements.
Changes
- Added strict return type for the
detect
function to ensure type-safety. - Added IMDSv2 support for checking AWS metadata server.
- Added metadata server check for Oracle Cloud Infrastructure (
oci
). - Added unit tests for providers.
- Performance and reliability improvements.
- Various bug fixes.
- Improved documentation.
- Improved logging.
Planned Features
- Add more cloud providers.
- Add code coverage.
- Add a feature flag to allow usage in non-
async
contexts.
v1.1.0
v1.1.0 is a minor incremental update that adds detection support for 3 more providers.
What's new
Added detection support for DigitalOcean, Oracle Cloud Infrastructure, and Vultr.
v1.0.0
v1.0.0 is a complete rewrite of the codebase to make it more extensible, maintainable and robust. It also adds a number of enhancements and bug fixes.
What's new
- Real-time logging (using the tracing crate).
- More accurate identification, based on checking both metadata server and vendor file(s). Additionally, metadata server checks are now more strict and accurate.
- Each supported provider now has its own unique provider type/module (Under
cloud_detect::providers
), which allows users of this crate to also individually work with each provider if required. - Improved documentation.
- Other miscellaneous enhancements and general bug fixes.
Breaking changes
- v1.0.0 removes the
blocking
feature flag. This means that blocking detection is no longer available, and only asynchronous detection is currently supported. Blocking detection may be added again as a feature flag in a future release, however. - The list of supported providers is now available directly as an array constant (
cloud_detect::SUPPORTED_PROVIDERS
), and is no longer returned as a vector from a function call (cloud_detect::supported_providers
). - Removed the
try_detect
function. It may be added again in a future release, if required.