All Versions
56
Latest Version
Avg Release Cycle
67 days
Latest Release
-

Changelog History
Page 2

  • v0.9.1._ Changes

    February 08, 2020

    ๐Ÿ›  Fixed

    • Omit Header argument from request when its value is None. (#167, #169)
    • ๐Ÿ›  Fix AttributeError raised on usage of uplink.Url. (#164, #165 by @cognifloyd_)

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ Exclude tests subpackages from wheel. (#188_ by @daa_)
  • v0.9.0 Changes

    June 06, 2019

    โž• Added

    • Create consumer method templates to reduce boilerplate in request
      definitions. (#151, #159)
    • Context argument annotation to pass request-specific information to
      middleware. (#143, #155)
    • Session.context property to pass session-specific information to
      middleware. (#143, #155)
    • ๐Ÿ‘ Built-in authentication support for API tokens in the querystring
      and header, Bearer tokens, and multi-auth. (#137)

    ๐Ÿ›  Fixed

    • Schema defined using @returns.* decorators should override the
      consumer method's return annotation. (#144, #154)
    • @returns.* decorators should propagate to all consumer method when used
      as a class decorator. (#145, #154)
    • Decorating a Consumer subclass no longer affects other subclasses. (#152)

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed uplink.retry.stop.DISABLE to uplink.retry.stop.NEVER
  • v0.9.0_ Changes

    June 05, 2019

    โž• Added

    • Create consumer method templates to reduce boilerplate in request definitions. (#151, #159)
    • Context argument annotation to pass request-specific information to middleware. (#143, #155)
    • Session.context property to pass session-specific information to middleware. (#143, #155)
    • ๐Ÿ‘ Built-in authentication support for API tokens in the querystring and header, Bearer tokens, and multi-auth. (#137_)

    ๐Ÿ›  Fixed

    • Schema defined using @returns.* decorators should override the consumer method's return annotation. (#144, #154)
    • @returns.* decorators should propagate to all consumer method when used as a class decorator. (#145, #154)
    • Decorating a Consumer subclass no longer affects other subclasses. (#152_)

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed uplink.retry.stop.DISABLE to uplink.retry.stop.NEVER
  • v0.9.0._ Changes

    June 05, 2019

    โž• Added

    • Create consumer method templates to reduce boilerplate in request definitions. (#151, #159)
    • Context argument annotation to pass request-specific information to middleware. (#143, #155)
    • Session.context property to pass session-specific information to middleware. (#143, #155)
    • ๐Ÿ‘ Built-in authentication support for API tokens in the querystring and header, Bearer tokens, and multi-auth. (#137_)

    ๐Ÿ›  Fixed

    • Schema defined using @returns.* decorators should override the consumer method's return annotation. (#144, #154)
    • @returns.* decorators should propagate to all consumer method when used as a class decorator. (#145, #154)
    • Decorating a Consumer subclass no longer affects other subclasses. (#152_)

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed uplink.retry.stop.DISABLE to uplink.retry.stop.NEVER
  • v0.8.0 Changes

    March 13, 2019

    โž• 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)
  • v0.8.0_ Changes

    February 16, 2019

    โž• 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_)
  • v0.8.0._ Changes

    February 16, 2019

    โž• 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_)
  • v0.7.0 Changes

    December 07, 2018

    โž• Added

    • Consumer.exceptions property for handling common client exceptions in a client-agnostic way. (#117)
    • Optional argument requires_consumer for response_handler and error_handler; when set to True, the registered callback should accept a reference to a Consumer instance as its leading argument. (#118)

    ๐Ÿ”„ Changed

    • For a Query-annotated argument, a None value indicates that the query parameter should be excluded from the request. Previous behavior was to encode the parameter as ...?name=None. To retain this behavior, specify the new encode_none parameter (i.e., Query(..., encode_none="None")). (#126 by @nphilipp)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support for changes to Schema().load and Schema().dump in marshmallow v3. (#109)
  • v0.7.0_ Changes

    December 06, 2018

    โž• Added

    • Consumer.exceptions property for handling common client exceptions in a client-agnostic way. (#117 <https://github.com/prkumar/uplink/pull/117>_)
    • Optional argument requires_consumer for response_handler and error_handler; when set to True, the registered callback should accept a reference to a Consumer instance as its leading argument. (#118 <https://github.com/prkumar/uplink/pull/118>_)

    ๐Ÿ”„ Changed

    • For a Query-annotated argument, a None value indicates that the query parameter should be excluded from the request. Previous behavior was to encode the parameter as ...?name=None. To retain this behavior, specify the new encode_none parameter (i.e., Query(..., encode_none="None")). (#126 <https://github.com/prkumar/uplink/pull/126>_ by @nphilipp <https://github.com/nphilipp>_)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support for changes to Schema().load and Schema().dump in marshmallow v3. (#109 <https://github.com/prkumar/uplink/pull/109>_)
  • v0.7.0._ Changes

    December 06, 2018

    โž• Added

    • Consumer.exceptions property for handling common client exceptions in a client-agnostic way. (#117 <https://github.com/prkumar/uplink/pull/117>_)
    • Optional argument requires_consumer for response_handler and error_handler; when set to True, the registered callback should accept a reference to a Consumer instance as its leading argument. (#118 <https://github.com/prkumar/uplink/pull/118>_)

    ๐Ÿ”„ Changed

    • For a Query-annotated argument, a None value indicates that the query parameter should be excluded from the request. Previous behavior was to encode the parameter as ...?name=None. To retain this behavior, specify the new encode_none parameter (i.e., Query(..., encode_none="None")). (#126 <https://github.com/prkumar/uplink/pull/126>_ by @nphilipp <https://github.com/nphilipp>_)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support for changes to Schema().load and Schema().dump in marshmallow v3. (#109 <https://github.com/prkumar/uplink/pull/109>_)