Features and Improvements
Minor Improvements
Bugfixes
Miscellaneous
Features and Improvements
- Add auto refreshable session support (beta). Note that it is using
AssumeRoleCredentialFetcherandDeferredRefreshableCredentialsfrom botocore, which is not public API officially supported by botocore.
Minor Improvements
- Use Sentinel
NOTHINGinstead ofNoneto remove the ambiguity ofNonevalue.
Miscellaneous
- Add
boto3as explicit dependency. - Change license from MIT to Apache 2.0
Bugfixes
- Fix a bug that the client object cannot locate the right boto3 stubs.
Features and Improvements
- Now all the client and it's methods support auto complete and type hint. You have to do
pip install "boto3-stubs[all]"to enable "Client method auto complete" and "Arguments type hint" features.
Bugfixes
- Fix a bug that :meth:`~boto_session_manager.manager.BotoSesManager.awscli()`` context manager doesn't work properly.
Features and Improvements
- Add boto3 documentation link in doc string
Features and Improvements
- Allow to call :meth:`~boto_session_manager.manager.BotoSesManager.clear_cache()` to clear all cached boto session and client.
- Add ton's of property method to access the cached boto client.
- Update the list of AWS service to the latest (as of 2022-12-10), which are 333 services.
Miscellaneous
- Now
boto_session_managerdoesn't force to installboto3when installing itself. You have to manage yourboto3installation separately.
Features and Improvements
- Add :meth:`~boto_session_manager.manager.BotoSesManager.awscli` context manager to pass boto session credential to AWS CLI.
Features and Improvements
- The first API stable version
Minor Improvements
- Add
deltaarguments for :meth:`~boto_session_manager.manager.BotoSesManager.is_expired` method. allow to check if the session will expire in X seconds.
Features and Improvements
- Add
default_client_kwargsargument for :class:`boto_session_manager.manager.BotoSesManager`.
Miscellaneous
- Use localstack for unit test.
Features and Improvements
- Add additional keyword arguments for :meth:`boto_session_manager.manager.BotoSesManager.get_client` method
Features and Improvements
- Now the public API becomes :class:`boto_session_manager.manager.BotoSesManager`
- Add :meth:`boto_session_manager.manager.BotoSesManager.get_resource` method
Features and Improvements
- First release
- Add :class:`boto_session_manager.manager.BotoSessionManager` class
- Add :class:`boto_session_manager.services.BotoSessionManager` class