Uplink v0.8.0 Release Notes

Release Date: 2019-03-13 // about 5 years ago
  • โž• Added

    • A retry decorator to enable reattempts of failed requests. (#132)
    • A ratelimit decorator to constrain consumers to making some maximum number
      of calls within a given time period. (#132)
    • โฑ Timeout argument annotation to be able to pass the timeout as a consumer
      method argument or to inject it as a transaction hook using a Consumer
      instance's _inject method. (#133 by @daa)

    ๐Ÿ”„ Changed

    • Consumer subclasses now inherit class decorators from their
      Consumer parents, so those decorators are also applied to the subclasses'
      methods that are decorated with @get, @post, @patch, etc.
      (#138 by @daa)

    ๐Ÿ›  Fixed

    • Memory leaks in RequestsClient and AiohttpClient caused by
      ๐Ÿ‘‰ use of atexit.register, which was holding references to session objects
      and preventing the garbage collector from freeing memory reserved for those
      objects. (#134 by @SakornW)