Webapp2

Latest version: v2.5.2

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

3.0.0b1

---------------

This is the first release of this project under the new maintainers.

Breaking changes:
- Removed all deprecrated items.
- `webapp2_extras.config`, replaced by `WSGIApplication.config`.
- `webapp2_extras.local_app`, replaced by automatic behavior provided by `webapp2_extras.local`.
- `webapp2_extras.sessions_memcache`, moved to webapp2_extras.appengine.sessions_memcache`.
- `webapp2_extras.sessions_ndb`, moved to `webapp2_extras.appengine.sessions_ndb`.
- `webapp2_extras.users`, moved to `webapp2_extras.appengine.users`.
- `return_multiple` argument to `Request.get`, replaced by `Request.get_all`.
- Updated most dependencies while attempting to maintain backwards compatibility.
- Added dependency on `six`.

Other changes:
- Provisional support for Python 3 (117)
- Made codebase compliant with pep8.
- Various documentation link fixes.
- Send request headers (cookies) with abort=True requests too. (112)
- `webapp2_extras.appengine.auth.models.User.validate_token` now returns `UserToken` or `None` instead of `True/False`. (109)
- Fixed various issues that prevented the package from being built.
- Removed the `experimental` directory.
- Switched test runner to py.test and added coverage reporting.
- Removed vendored-in third-party libraries used for testing.

2.5.1

---------------------------------
- Bug fix release related to request charset in old versions of
WebOb.

2.5

-------------------------------

2.4

------------------------------
- Maintenance release. Fixed outstanding bugs related to App Engine.
- Removed webapp2_extras/protorpc, broken since webapp2 was added
to App Engine.

2.3

-----------------------------
- webapp2.Response.out creates a reference loop that impedes garbage
collection. Changing it to a property fixed this (Issue 15).
- webapp2_extras.i18n:
- When in debug mode, translations are not cached, so compiling new
translations make them readily available (Issue 13).
- webapp2_extras.auth:
- ATTENTION: auth_id is no longer converted to lower case to retrieve
a key or save a new user in webapp2_extras.appengine.auth.models.User.
This is a more general approach, as not all systems use case-insensitive
user ids. If you want case-insensitive auth ids, convert them to lower
case before passing auth ids to the auth module (Issue 14).
- If user data is missing attributes, don't raise AssertionError.
Simply don't save or return a valid session, instead.
- call user_model.get_id() instead of the ndb-specific user.key.id().
- removed set_password_validator() and set_token_validator().
They add complexity to the API without a use case to justify.
Extend AuthStore to achieve the same thing.

2.2.3

------------------------------
- Version 2.2.2 missed the webapp2_extras.appengine package.

- get_app() and get_request() now test that app and request are set, to avoid
hard to debug stack traces when they are not and the local proxy is used.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.