Skip to content

Releases: kalaspuff/tomodachi

0.9.0

04 Mar 21:24
Compare
Choose a tag to compare
  • Updated to use aiohttp 3.x.x+ and aiobotocore 0.6.x+.
  • Dropped support for Python versions below 3.5.3 as new aiohttp requires at least Python 3.5.3. Last version with support for Python 3.5.0, 3.5.1 and 3.5.2 is tomodachi 0.8.x series.

0.8.3

02 Mar 13:17
Compare
Choose a tag to compare
  • Print stack trace for outputs from schedule invoker functions tasks instead of silently catching exceptions.
  • Handle close and receive errors for websockets and cleanly close already opened websockets on service exit.

0.8.2

28 Feb 17:15
Compare
Choose a tag to compare
  • Fixed broken HTTP transports due to missing colorama import.

0.8.1

27 Feb 19:14
Compare
Choose a tag to compare
  • Correction for README in 0.8.X release.

0.8.0

27 Feb 19:11
Compare
Choose a tag to compare
  • It's now possible to specify queue_name on AWS SNS+SQS and AMQP decorators for competing queues. If not specified an automatically generated hash will be used as queue name as it worked previously.
  • Fixes an issue with relative imports from within service files, which resulted in "SystemParent module '' not loaded, cannot perform relative import" or "ImportError: attempted relative import with no known parent package". [@0x1ee7]
  • Exceptions that are subclasses of AmqpInternalServiceError and AWSSNSSQSInternalServiceError will now also work in the same way, resulting in the messages to be retried when raised.
  • Service classes now have built in log functions for setting up logging to file as well as logging. They are self.log_setup('logname', level, filename) and self.log('logname', level, message).
  • HTTP services will have their access log color coded when outputting to nothing else than stdout, which should be helpful in an overview during development.

0.7.0

27 Jan 19:23
Compare
Choose a tag to compare
  • Added @websocket as a decorator type for handling websockets. A function call should return two callables which will be used for receiving messages through the socket and as a way to notify about the closure of the socket.

0.6.5

16 Jan 07:42
Compare
Choose a tag to compare
  • Updated aiohttp to latest version which solves incompabilities with yarl.

0.6.4

15 Jan 13:47
Compare
Choose a tag to compare
  • Added a stricter dependency check for yarl.

0.6.3

12 Jan 08:54
Compare
Choose a tag to compare
  • Gracefully handle exceptions thrown when receiving messages from AWS SNS+SQS. For example when invalid XML data in response which causes botocore to throw a botocore.parsers.ResponseParserError.
  • Updated dependencies to allow for newer version of aiohttp 2.3.X.
  • Improved type hinting.

0.6.2

16 Nov 11:03
Compare
Choose a tag to compare
  • Recreate queues and resubscribe to topics if queue is removed during runtime.