Unreleased
- Drop support for Python < 3.8.
- Drop support for Flask < 2.0. #159
- Remove old Python 2 compatibility checks.
- The
__version__
attribute is deprecated. Use feature detection, orimportlib.metadata.version("flask-classful")
, instead. #155 - The code is a package instead of a single module. #160
- Provide async views support when used with Flask >= 2. #132
Released 2023-09-07
- Compatibility with werkzeug 2.2. #145
- Use
pyproject.toml
for package metadata andflit_core
as the build backend.
Released 2021-12-25
- Add additional
init_argument
toregister
method. #86 - Add
@method
decorator and handling. #109 - Use
inspect.getfullargspec()
for Python 3 compatibility. #94 - Bugs/fix update failed travis ci build. #93
- Use github actions to run CI checks to replace travis-ci. #134
Released 2017-10-19
- Should have breaking sections on changelog and migration section on docs to upgrade to v0.14, v0.11. #79
Released 2017-10-05
- The behavior of the trailing slash should be more intuitive and consistent. #47
- Better representations. #33, #72
- Type hints support for py3. #34
base_class
introduced. #38- Add options passing to
werkzeug.Routing.Rule
fromregister
function. #46 - Enable using custom decorators in
FlaskView
. #29 - Should allow specifying excluded methods from becoming routes. #41
- Docker workflow along with teracy-dev for better dev setup. #32, #63, #66, #67
base_args
should not be overriden whenroute_base
is set #50- Keep the original license. #51
- Fix docs publishing. #61
Released 2016-09-03
- Fix
route_base
andtrailing_slash
conflict. #31
Released 2016-07-07
- Should support route generation configuration for dashifying method names. #26
Released 2016-07-05
- Special methods should work with Python 3.5 type hints. #25
Released 2016-05-18
- The order in which
FlaskView
decorators are applied has been reversed. #49 - Enhance 3rd party decorators. #14
- Prefer
format()
over string interpolation operator. #18 - Should allows
flask.jsonify
to return status codes and headers. #19
Released 2016-03-18
- Rename Flask-Classy to Flask-Classful for PyPI publish and development.
Released 2016-02-16
- Use
code
andheaders
inmake_response
. - Update travis-ci build script.
- Import
flask_classy
instead offlask.ext.classy
on docs. - Add more tests.
Released 2016-01-15
- Fix
setup.py
for the right version specification.
Released 2015-08-20
- Add representations support for better serialization.
- Move some attributes, methods to outer scope for overriding.
- Fixes docs typos.
Released 2015-08-07
- Fixes empty url with
route
decorator.
Released 2013-11-19
- Fixes an issue where
before_request
andbefore_<view>
methods that returned responses had their responses ignored. If these methods return a response it will be returned to the client.
Released 2013-11-08
- Adds a feature that allows control over trailing slashes.
Released 2013-10-22
- Fixes a bug introduced around certain types of decorators. Adds more tests for those cases as well.
Released 2013-10-22
- Added
route_prefix
, a feature that allows you to specify a prefix for all the routes generated by aFlaskView
instance. - Fixes some bugs related to self-referential decorators.
Released 2013-06-13
- Python 3.3 and Flask 0.10 is now supported.
- Fixed a bug that would cause a
FlaskView
withoutroute_base
attributes to fail to revert to that state after having them registered with aroute_base
in theregister
method.
Released 2013-06-10
- Fixed a bug when raising the
DecoratorCompatibilityError
.
Released 2013-06-05
- Class methods are filtered out when determining which methods should be routes.
FlaskView
now supports adecorators
attribute which takes a list of decorators to apply to every method in that view.- The
route_base
now supports arguments. - Fixed a bug that prevented Flask-Classy from generating routes for methods
that had used a decorator but did not also use the
@route
decorator. view_args
dict modifications made beforeFlaskView
view is called are now available in theFlaskView
.
Released 2012-11-29
- Fixed a
SyntaxError
that was caused by using a dictionary generator in Python versions earlier than 2.7.
Released 2012-11-20
- Fixed a bug that caused views that used the
@route
decorator to ignore the subdomain keyword parameter specified in theFlaskView.register
method.
Released 2012-11-18
- Changed the way routes are generated to match up with Flask documentation.
index
,post
and custom methods without parameters are still configured with a trailing slash.put
,patch
,get
,delete
, and custom methods with parameters are configured without a trailing slash now. - Changed the way endpoints are generated to accommodate the more common cases. Methods with a single route are no longer have endpoints suffixed with an index.
- Added support for specifying a custom endpoint using an
endpoint
keyword argument in the@route
decorator. - Fixed a bug that would not allow you to use any parameter name but
id
in the special methods.
Released 2012-11-11
- Added wrapper methods for views.
- Fixed a bug that caused blueprint subdomains to be ignored.
Released 2012-11-05
- Added support for subdomains.
Released 2012-11-1
- Added
PATCH
support.