All Versions
56
Latest Version
Avg Release Cycle
67 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v0.9.1._ Changes
February 08, 2020๐ Fixed
- Omit
Header
argument from request when its value isNone
. (#167
,#169
) - ๐ Fix
AttributeError
raised on usage ofuplink.Url
. (#164
,#165
by@cognifloyd
_)
๐ Changed
- ๐ฆ Exclude
tests
subpackages from wheel. (#188
_ by@daa
_)
- Omit
-
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
touplink.retry.stop.NEVER
- Create consumer method templates to reduce boilerplate in request
-
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
touplink.retry.stop.NEVER
- Create consumer method templates to reduce boilerplate in request
definitions. (
-
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
touplink.retry.stop.NEVER
- Create consumer method templates to reduce boilerplate in request
definitions. (
-
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 aConsumer
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
- A
-
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 aConsumer
instance's_inject
method. (#133
_ by@daa
_)
๐ Changed
Consumer
subclasses now inherit class decorators from theirConsumer
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
andAiohttpClient
caused by use ofatexit.register
, which was holding references to session objects and preventing the garbage collector from freeing memory reserved for those objects. (#134
_ by@SakornW
_)
- A
-
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 aConsumer
instance's_inject
method. (#133
_ by@daa
_)
๐ Changed
Consumer
subclasses now inherit class decorators from theirConsumer
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
andAiohttpClient
caused by use ofatexit.register
, which was holding references to session objects and preventing the garbage collector from freeing memory reserved for those objects. (#134
_ by@SakornW
_)
- A
-
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
forresponse_handler
anderror_handler
; when set toTrue
, the registered callback should accept a reference to aConsumer
instance as its leading argument. (#118)
๐ Changed
- For a
Query
-annotated argument, aNone
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 newencode_none
parameter (i.e.,Query(..., encode_none="None")
). (#126 by @nphilipp)
๐ Fixed
- ๐ Support for changes to
Schema().load
andSchema().dump
inmarshmallow
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
forresponse_handler
anderror_handler
; when set toTrue
, the registered callback should accept a reference to aConsumer
instance as its leading argument. (#118 <https://github.com/prkumar/uplink/pull/118>
_)
๐ Changed
- For a
Query
-annotated argument, aNone
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 newencode_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
andSchema().dump
inmarshmallow
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
forresponse_handler
anderror_handler
; when set toTrue
, the registered callback should accept a reference to aConsumer
instance as its leading argument. (#118 <https://github.com/prkumar/uplink/pull/118>
_)
๐ Changed
- For a
Query
-annotated argument, aNone
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 newencode_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
andSchema().dump
inmarshmallow
v3. (#109 <https://github.com/prkumar/uplink/pull/109>
_)