weppy v1.0 Release Notes
-
๐ Released on March 10th 2017, codename Izar
- ๐ Several bugfixes
- ๐ Moved routing handlers and helpers to pipeline logic
- โ Added support for app modules nesting and inheritance
- โ Added lambda notation to
Set.where
when involving just one model - Rewritten
rowattr
androwmethod
injection logic - Removed
bind_to_model
option fromrowattr
androwmethod
- โก๏ธ Optimized rows parsing in ORM adapters
- ๐ Improved caching techniques on selected records relations
- โ Added automatic casting of route variables
- โ Added support for float variable rules in routes
- ๐ Deprecated
dal
module in favour oform
- โ Added support for multiple paths in routes
- โจ Enhanced wsgi request handling performance
- โ Added
handle_static
boolean option toApp.config
- โจ Enhanced language recognition from Accept-Language header
- โก๏ธ Optimized translator initialization
- โ Added
now
attribute and global method which returnsrequest.now
ordatetime.now
when request context is missing - โ Added access to computed values within insert and update callbaks
- Deprecated
Model.form_rw
in favour ofModel.fields_rw
- โก๏ธ Optimized json and xml serializers, added optional
json_safe
serializer for old behavior - Added
__json__
and__xml__
methods handling in serializers for custom objects serialization - โ Added
headers
attribute toRequest
- Replaced udatetime dependency with pendulum
weppy.globals.now
,isDatetime
validator and date route variables are nowPendulum
objects- โ Added support for additional separators apart from '/' between route variables route definitions
- โ Removed
extension
parameter inurl
- โ Added
anchor
parameter inurl
- ๐ Deprecated
tags
module in favour ofhtml
- โก๏ธ Optimized escaping code for html components
- โก๏ธ Optimized templates caching
- Lightened the request flow
- โ Added signals to extensions
- โ Added application's defined commands in cli help listing
- โจ Enhanced the json validator
- ๐จ Refactored the
tools.mailer
module - ๐จ Refactored the
tools.auth
module - The
Database
instance now performs auto connection using theauto_connection
parameter or just in the cli environment if missing - 0๏ธโฃ Automatic migrations on the database are now turned off by default