Skip to content

Releases: nikhil-prabhu/cloud-detect

v2.0.1

20 Dec 12:09
df98a5b
Compare
Choose a tag to compare

This is a minor patch release that fixes an issue with unreliable detection of AWS.

v2.0.0

16 Dec 13:06
975df60
Compare
Choose a tag to compare

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

07 Nov 14:52
d3f888c
Compare
Choose a tag to compare

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

04 Nov 14:48
aa355d8
Compare
Choose a tag to compare

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

  1. Real-time logging (using the tracing crate).
  2. More accurate identification, based on checking both metadata server and vendor file(s). Additionally, metadata server checks are now more strict and accurate.
  3. 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.
  4. Improved documentation.
  5. Other miscellaneous enhancements and general bug fixes.

Breaking changes

  1. 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.
  2. 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).
  3. Removed the try_detect function. It may be added again in a future release, if required.