releases/v0.4.0
·
120 commits
to main
since this release
Breaking change: Instance class
The SDK now features a single Instance class which manages application-global initialization and state. Every SDK program must define an Instance variable before any other Viam SDK objects are constructed. Typically this will look like
#include <viam/sdk/common/instance.hpp
// ...
int main(int argc, char** argv)
{
Instance inst;
// ...
}Existing code will throw an exception shortly after program startup if this change is not made.
Compilation errors will also occur if your code was making direct use of static Registry member functions. Calls to Registry::some_func() should be replaced with Registry::get().some_func()
What's Changed
- RSDK-6158 - initial connection options by @stuqdog in #376
- Automated Protos Update by @github-actions in #375
- RSDK-9901 - run tests in update proto workflow by @stuqdog in #378
- Update README.md by @JessamyT in #381
- RSDK-9298: Instance class by @lia-viam in #374
- Fix conan build failures by @lia-viam in #379
- RSDK-9901 - use git-access-token by @stuqdog in #382
- version bump by @lia-viam in #384
New Contributors
Full Changelog: releases/v0.3.0...releases/v0.4.0