Sun May 21 06:54:13 2017 UTC ()
Changelog for Falcon 1.2.0
New & Improved
- A new `default` kwarg was added to :meth:`~falcon.Request.get_header`.
- A :meth:`~falcon.Response.delete_header` method was added to
  :class:`falcon.Response`.
- Several new HTTP status codes and error classes were added, such as
  :class:`falcon.HTTPFailedDependency`.
- If `ujson` is installed it will be used in lieu of `json` to speed up
  error serialization and query string parsing under CPython. PyPy users
  should continue to use `json`.
- The `independent_middleware` kwarg was added to :class:`falcon.API` to
  enable the execution of `process_response()` middleware methods, even
  when `process_request()` raises an error.
- Single-character field names are now allowed in URL templates when
  specifying a route.
- A detailed error message is now returned when an attempt is made to
  add a route that conflicts with one that has already been added.
- The HTTP protocol version can now be specified when simulating
  requests with the testing framework.
- The :class:`falcon.ResponseOptions` class was added, along with a
  `secure_cookies_by_default` option to control the default value of
  the "secure" attribute when setting cookies. This can make testing
  easier by providing a way to toggle whether or not HTTPS is required.
- `port`, `netloc` and `scheme` properties were added to the
  :class:`falcon.Request` class. The `protocol` property is now
  deprecated and will be removed in a future release.
- The `strip_url_path_trailing_slash` was added
  to :class:`falcon.RequestOptions` to control whether or not to retain
  the trailing slash in the URL path, if one is present. When this
  option is enabled (the default), the URL path is normalized by
  stripping the trailing slash character. This lets the application
  define a single route to a resource for a path that may or may not end
  in a forward slash. However, this behavior can be problematic in
  certain cases, such as when working with authentication schemes that
  employ URL-based signatures. Therefore, the
  `strip_url_path_trailing_slash` option was introduced to make this
  behavior configurable.
- Improved the documentation for :class:`falcon.HTTPError`, particularly
  around customizing error serialization.
- Misc. improvements to the look and feel of Falcon's documentation.
- The tutorial in the docs was revamped, and now includes guidance on
  testing Falcon applications.


(adam)
diff -r1.1 -r1.2 pkgsrc/devel/py-falcon/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-falcon/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-falcon/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-falcon/Makefile 2017/04/25 20:55:35 1.1
+++ pkgsrc/devel/py-falcon/Makefile 2017/05/21 06:54:13 1.2
@@ -1,31 +1,32 @@ @@ -1,31 +1,32 @@
1# $NetBSD: Makefile,v 1.1 2017/04/25 20:55:35 fhajny Exp $ 1# $NetBSD: Makefile,v 1.2 2017/05/21 06:54:13 adam Exp $
2 2
3DISTNAME= falcon-1.1.0 3DISTNAME= falcon-1.2.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_PYPI:=f/falcon/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=f/falcon/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://falconframework.org/ 9HOMEPAGE= http://falconframework.org/
10COMMENT= Unladen web framework for building APIs and app backends 10COMMENT= Unladen web framework for building APIs and app backends
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython 13DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
14DEPENDS+= ${PYPKGPREFIX}-python-mimeparse>=1.5.2:../../www/py-python-mimeparse 14DEPENDS+= ${PYPKGPREFIX}-python-mimeparse>=1.5.2:../../www/py-python-mimeparse
15DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six 15DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
16 16
17# TEST_DEPENDS 17# TEST_DEPENDS
18BUILD_DEPENDS+= ${PYPKGPREFIX}-ddt-[0-9]*:../../devel/py-ddt 18BUILD_DEPENDS+= ${PYPKGPREFIX}-ddt-[0-9]*:../../devel/py-ddt
19BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests 19BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
20BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 20BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 21BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
21BUILD_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools 22BUILD_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
22BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml 23BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
23 24
24post-install: 25post-install:
25 ${MV} ${DESTDIR}${PREFIX}/bin/falcon-bench \ 26 ${MV} ${DESTDIR}${PREFIX}/bin/falcon-bench \
26 ${DESTDIR}${PREFIX}/bin/falcon-bench-${PYVERSSUFFIX} 27 ${DESTDIR}${PREFIX}/bin/falcon-bench-${PYVERSSUFFIX} || ${TRUE}
27 ${MV} ${DESTDIR}${PREFIX}/bin/falcon-print-routes \ 28 ${MV} ${DESTDIR}${PREFIX}/bin/falcon-print-routes \
28 ${DESTDIR}${PREFIX}/bin/falcon-print-routes-${PYVERSSUFFIX} 29 ${DESTDIR}${PREFIX}/bin/falcon-print-routes-${PYVERSSUFFIX} || ${TRUE}
29 30
30.include "../../lang/python/egg.mk" 31.include "../../lang/python/egg.mk"
31.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-falcon/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-falcon/distinfo 2017/04/25 20:55:35 1.1
+++ pkgsrc/devel/py-falcon/distinfo 2017/05/21 06:54:13 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2017/04/25 20:55:35 fhajny Exp $ 1$NetBSD: distinfo,v 1.2 2017/05/21 06:54:13 adam Exp $
2 2
3SHA1 (falcon-1.1.0.tar.gz) = 7dfab9e6fb4215bdc00d7c98fab1cecdab9232d4 3SHA1 (falcon-1.2.0.tar.gz) = 153afb5c9d0291899dca8a84dec15fd799bb8b0c
4RMD160 (falcon-1.1.0.tar.gz) = d708c9c7027f83647aa7bb3f2274933fba3c278e 4RMD160 (falcon-1.2.0.tar.gz) = 932e5597f39d9022e390dcd59c55ab1a1fbac2ce
5SHA512 (falcon-1.1.0.tar.gz) = 0d3d52c6170949c575e6a292dedc068c59fb4f2248d2c6cfff8493d3216b9fb39429dd8ee038f90b28bb0c4d4de9acbdc61ab5489c23b714d65d787ebf5437db 5SHA512 (falcon-1.2.0.tar.gz) = 7a73bc01e4babddce67d4eb076dd9cc79a9a900b7c2a15655389eebe269fcbf19502ac6be528c1046d2f0ed793ee593508d61132b3c40106075e0aa1839a347e
6Size (falcon-1.1.0.tar.gz) = 141196 bytes 6Size (falcon-1.2.0.tar.gz) = 316490 bytes