Maritest

Latest version: v0.6.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.0

------------------------

- [Fixed] Change parameter option name of ``format`` to ``fmt`` in ``retriever`` method
- [Fixed] Option to choose ``content`` response as argument when use ``retriever`` method
- [Fixed] Attribute instance of ``timeout`` parameter can't be use
- [Fixed] Duplicate logger stream output when enable ``logger`` parameter
- [Added] New properties method to quick access HTTP response object
- [Improvement] Change duration timeout into random numbers whenever set to ``None``
- [Improvement] Major refactoring in core APIs for simplifying redundant and unused codes
- [Improvement] ``headers`` parameter now is optional when try to request HTTP
- **[Known Issue]** Setup HTTP with proxy parameter sometimes will get error related to remote end close connection.
- **[Known Issue]** Logger will run hierarchy in another function / class even though the logger has been disabled

0.5.1

----------

- [Fixed] Error raises when call ``__exit__`` using context manager
- [Fixed] Can't decode into JSON format due conflicted with JSON serializer class
- [Fixed] Exception error when caught invalid JSON format
- [Fixed] Disabling ``logger`` argument not writing log information in files output
- [Improvement] Separated between log information before-after send HTTP request

0.5.0

----------

- [Fixed] Attribute object of ``auth``, ``data`` , ``params`` and ``files`` needs to be called in argument
- [Fixed] Remove unused ``raise_for_status`` method when raise error
- [Fixed] Remove duplicate logger warning and move the logger after response is success
- [Fixed] Method property to get ``url`` not returned with full-path ``url``
- [Fixed] Remove setter-getter method to returned HTTP method value
- [Fixed] Invalid log warning raises when mounted HTTPS protocol
- [Fixed] Change validation assertion for ``2xx`` status code
- [Fixed] Method whitelist for retry HTTP request not correct
- [Fixed] User authentication flow invalid when using ``ApiKeyAuth`` method
- [Fixed] Failed request got 400 status when send with ``data`` argument
- [Improvement] Caught exception error when mapping for key and unpacking key-value in HTTP response not found
- [Improvement] Delete all related HTTP adapters and close the connection

0.4.0

----------

- [Improvement] Add ``logger`` file handler when disable the log
- [Added] New 2 assertion method, check content-length and check TLS
- [Fixed] Value for ``ApiKeyAuth`` authentication should be customized
- [Fixed] Annotation for ``ApiKeyAuth`` violates LSP from parent class

0.3.2

----------

- [Fixed] Missing validation when send request for ``files`` and ``json``
- **[Known Issue]** Response got 400 status when send ``data`` with ``headers``

0.3.1

----------

- [Improvement] Always enforce response encoding set to UTF-8
- [Fixed] Duplicate assertion test for validate content text
- [Fixed] Remove lambda operator in function

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.