All Versions
33
Latest Version
Avg Release Cycle
97 days
Latest Release
1865 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.8.5 Changes
December 12, 2015- 🖐 Handle mask on :class:
~fields.Polymorph
field - 🖐 Handle mask on inherited models
- Replace
flask_restful.abort
by :func:flask_restplus.errors.abort
- Replace
flask_restful.unpack
by :func:flask_restplus.utils.unpack
- 💥 Breaking changes:
- Renamed
ApiModel
into :class:Model
- Renamed
ApiNamespace
into :class:Namespace
- Renamed
- 🖐 Handle mask on :class:
-
v0.8.4 Changes
December 07, 2015- ⬇️ Drop/merge
flask_restful.Resource
resolving a recursion problem - 👍 Allow any
callable
as fielddefault
,min
,max
... - ➕ Added :class:
~fields.Date
field - 👌 Improve error handling for inconsistent masks
- 0️⃣ Handle model level default mask
- 👌 support colons and dashes in mask field names
- 💥 Breaking changes:
- Renamed
exceptions
module intoerrors
- Renamed
RestException
into :class:~errors.RestError
- Renamed
MarshallingException
into :class:~fields.MarshallingError
- :class:
~fields.DateTime
field always output datetime
- Renamed
- ⬇️ Drop/merge
-
v0.8.3 Changes
December 05, 2015- ⬇️ Drop/merge flask-restful fields
- ⬇️ Drop/merge flask-restplus inputs
- ⚡️ Update Swagger-UI to version 2.1.3
- 💻 Use minified version of Swagger-UI if
DEBUG=False
- 🖨 Blueprint subdomain support (static only)
- ➕ Added support for default fields mask
-
v0.8.2 Changes
December 01, 2015- Skip unknown fields in mask when applied on a model
- ➕ Added
*
token to fields mask (all remaining fields) - Ensure generated endpoints does not collide
- ⬇️ Drop/merge flask-restful
Api.handler_error()
-
v0.8.1 Changes
November 27, 2015- 🔨 Refactor Swagger UI handling:
- allow to register a custom view with
@api.documentation
- allow to register a custom URL with the
doc
parameter - allow to disable documentation with
doc=False
- allow to register a custom view with
- ➕ Added fields mask support through header (see: :doc:
Fields Masks Documentation </mask>
) - Expose
flask_restful.inputs
module onflask_restplus.inputs
- ➕ Added support for some missing fields and attributes:
host
root field (filed only ifSERVER_NAME
config is set)- custom
tags
root field exclusiveMinimum
andexclusiveMaximum
number field attributesmultipleOf
number field attributeminLength
andmaxLength
string field attributespattern
string field attributeminItems
andmaxItems
list field attributesuniqueItems
list field attribute
- 👍 Allow to override the default error handler
- 🛠 Fixes
- 🔨 Refactor Swagger UI handling:
-
v0.8.0 Changes
- ➕ Added payload validation (initial implementation based on jsonschema)
- ➕ Added
@api.deprecated
to mark resources or methods as deprecated - ➕ Added
@api.header
decorator shortcut to document headers - ➕ Added Postman export
- 🛠 Fix compatibility with flask-restful 0.3.4
- Allow to specify an exemple a custom fields with
__schema_example__
- ➕ Added support for
PATCH
method in Swagger UI - ⬆️ Upgraded to Swagger UI 2.1.2
- 🖐 Handle enum as callable
- 💻 Allow to configure
docExpansion
with theSWAGGER_UI_DOC_EXPANSION
parameter
-
v0.7.2 Changes
- Compatibility with flask-restful 0.3.3
- 🛠 Fix action=append handling in RequestParser
- ⬆️ Upgraded to SwaggerUI 2.1.8-M1
- 🛠 Miscellaneous fixes
-
v0.7.1 Changes
- Fix
@api.marshal_with_list()
keyword arguments handling.
- Fix
-
v0.7.0 Changes
- Expose models and fields schema through the
__schema__
attribute - ⬇️ Drop support for model as class
- ➕ Added
@api.errorhandler()
to register custom error handlers - ➕ Added
@api.response()
shortcut decorator - 🛠 Fix list nested models missing in definitions
- Expose models and fields schema through the
-
v0.6.0 Changes
- 👍 Python 2.6 support
- 👍 Experimental polymorphism support (single inheritance only)
- Added
Polymorph
field - Added
discriminator
attribute support onString
fields - Added
api.inherit()
method
- Added
- ➕ Added
ClassName
field