weppy v0.4 Release Notes
-
🚀 Released on August 3rd 2015, codename Deneb
- Intruduced a real ORM inside weppy:
- Consequent new features:
belongs_to
,has_one
andhas_many
apis for relations- Automatic joins of attributes defined with new apis
- Cleaner
Model
definition syntax - New naming convention based on singular for model and plural for tables
- Automatic tablenames based on
Model
classes' names - Consequent changes:
- Fields are now defined as attributes of
Model
- Some
Field
types are now procesed also considering the pythonic naming ('integer' -> 'int', 'boolean' -> 'bool') Field
class doesn't accept 'name' (first) parameter anymoreModel.entity
is now the more correctModel.table
Form
andDALForm
classes now accepts dictionaries of fields instead of listsAuth
module has tablenames changed to new naming convention
- 🔨 Completely refactored validators
- Introduced new validation syntax using dictionaries
Auth
now includes virtualfields on sessionuser
object- ⬇️ Dropped python 2.6.x support
- 🛠 Bugfixes in forms
- 🔨 Refactored
Auth
module - ➕ Added
body
parameter toabort
helper (optional) - ⚡️ Updated jQuery to v1.11.3
- Intruduced a real ORM inside weppy: