Skip to content

Releases: kalaspuff/tomodachi

0.14.1

04 Dec 20:13
Compare
Choose a tag to compare
  • Fixes an issue which caused scheduled functions to spam output on computer sleep when developing locally.

0.14.0

04 Dec 15:55
Compare
Choose a tag to compare
  • Added the possibility of specifying message_protocol for AMQP / SNS+SQS enveloping per function, so that it's possible to use both (for example) raw data and enveloped data within the same function without having to build fallback enveloping functionality.
  • Added documentation for @tomodachi.decorator, describing how to easily write decorators to use with service invoker functions.
  • Added ignore_logging keyword argument to HTTP invoker decorator, which may ignore access logging for either specific status codes or everything (except 500 statuses). [@justcallmelarry]
  • New function tomodachi.get_service() or tomodachi.get_service(service_name) available to get the service instance object from wherever in the running service, much like asyncio.get_event_loop().
  • Updated examples.
  • Fixes issue which caused aiohttp FileResponse responses to raise an internal exception.
  • Added support for aiohttp 3.4.x.

0.13.7

10 Aug 11:06
Compare
Choose a tag to compare
  • Correction for non-defined exception in Python 3.5.

0.13.6

10 Aug 06:35
Compare
Choose a tag to compare
  • Improved error handling if strict tomodachi dependencies fail to load, for example if an installed dependency is corrupt or missing.
  • Added additional examples to repository with a demo of pub-sub communication.

0.13.5

08 Aug 17:42
Compare
Choose a tag to compare
  • Fixes an issue which caused HTTP invoker functions to be accessible before the bootstrapper function _start_service() had been completed. Now _start_service() is called first, followed by activation of the invoker functions (@http, @schedule, @aws_sns_sqs, @amqp, etc.) and then lastly the _started_service() function will be called, announcing that the service is now up and running.

0.13.4

06 Aug 06:17
Compare
Choose a tag to compare
  • Added type hinting stubs for ProtoBuf _pb2.py file to allow mypy to validate functions utilizing the generated protobuf files.

0.13.3

03 Aug 14:39
Compare
Choose a tag to compare
  • RST correction from last release.

0.13.2

03 Aug 14:38
Compare
Choose a tag to compare
  • Correction regarding type hinting as to where a bytes value could be used as the HTTP body in Response objects.

0.13.1

01 Aug 11:27
Compare
Choose a tag to compare
  • Fixes bug with type hinting reporting error: Module has no attribute "decorator" when applying a @tomodachi.decorator decorator.

0.13.0

25 Jul 15:53
Compare
Choose a tag to compare
  • Restructured base message protocols for both JSON and ProtoBuf. JSON protocol is now called tomodachi-json-base--1.0.0 (earlier json_base-wip) and the ProtoBuf protocol is now referred to as tomodachi-protobuf-base--1.0.0. Updated proto files are not compatible with earlier protocol protobuf_base-wip.