Emmett

Latest version: v2.5.11

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

Scan your dependencies

Page 2 of 3

1.3

-----------

Released on October 29th 2018, codename Nunki

- Minor bugfixes
- Added proper support for 'big' id and reference fields to ORM
- Added `url_prefix` global routing paramater to `App`
- Allow to specify different `templates_encoding` for templates loading in
application config
- Added `migrations_folder` variable to database configuration to support
migrations with multiple databases
- Added support for Python 3.7
- Refactored `join` and `including` options handling in ORM
- Added `cast` method to ORM `Field`
- Added `cast` options to `has_many` decorator
- Optimized pipeline flow
- Optimized router match code

1.2

-----------

Released on October 23rd 2017, codename Merak

- Several bugfixes
- Rewritten templates parsing and generation logic
- Rewritten ORM connection pooling
- Added support for advanced transaction usage in ORM
- Refactored cache module
- Exposed `get`, `set`, `get_or_set`, `clear` methods in `cache.Cache`
and handlers objects
- Added decorator syntax support to cache module
- Added `response` method to cache module and relevant `cache` parameter in
`app.App.route`, `app.App.module` and `app.AppModule.route` decorators
- Added `switch` method to `orm.objects.Set` to allow changing model context
- Rewritten sessions' managers
- Deprecated `SessionCookieManager`, `SessionFSManager` and
`SessionRedisManager` classes in `sessions` module in favour of unified
`SessionManager` wrapper and its `cookies`, `files` and `redis` methods

1.1

-----------

Released on July 17th 2017, codename Lesath

- Several bugfixes
- Removed preload cache in templater to enhance extensions behavior
- Added `routes_paths` configuration in `Auth` module
- Added form widget for 'decimal' fields
- Avoid to guess 'Content-Type' response header from path extension
- Allow to use classmethods on `Field` class to specify types instead of
string arguments

1.0

-----------

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` and `rowmethod` injection logic
- Removed `bind_to_model` option from `rowattr` and `rowmethod`
- 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 of `orm`
- Added support for multiple paths in routes
- Enhanced wsgi request handling performance
- Added `handle_static` boolean option to `App.config`
- Enhanced language recognition from Accept-Language header
- Optimized translator initialization
- Added `now` attribute and global method which returns `request.now` or
`datetime.now` when request context is missing
- Added access to computed values within insert and update callbaks
- Deprecated `Model.form_rw` in favour of `Model.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 to `Request`
- Replaced udatetime dependency with pendulum
- `weppy.globals.now`, `isDatetime` validator and date route variables are now
`Pendulum` objects
- Added support for additional separators apart from '/' between route
variables route definitions
- Removed `extension` parameter in `url`
- Added `anchor` parameter in `url`
- Deprecated `tags` module in favour of `html`
- 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 the
`auto_connection` parameter or just in the cli environment if missing
- Automatic migrations on the database are now turned off by default

0.8

-----------

Released on October 31st 2016, codename Hadar

- Several bugfixes
- Added readable fields handling in forms
- Enhanced HTTP errors on streaming
- Improved templater performance
- Added `dbset` option to `in` validator
- Ensuring `unique` validation is performed also without forms
- Better implementation for nested selection when using `join` and `including`
- Updated router to allow routes override
- Changed default serialization and validation of `datetime` fields to respect
RFC3339 standard
- Updated postgres default adapters to latest available from pyDAL
- Changed `has_one` attributes when using `join` and `including`
to not be lists
- Added support for 'bigint' fields in the migrator

0.7

-----------

Released on June 7th 2016, codename Girtab

- Changed CLI 'shell' command to loads the entire application context
- Added `scope` option to `has_one` and `has_many` relations
- Added `where` option to `has_one` and `has_many` relations
- `computation` and callbacks helpers now keep definition order
- Allow usage of `has_one` and `has_many` helpers as decorators to customize
relations' sets generation
- Added default configuration for extensions
- Added `Model.new` method
- Added databse indexing support
- Added default validation for 'password' fields
- Added CLI 'routes' command
- Deprecated `computation`, `virtualfield` and `fieldmethod` in favor of
`compute`, `rowattr` and `rowmethod`
- Updated `current_model_only` parameter of `virtualfield` and `fieldmethod`
to `bind_to_model` in `rowattr` and `rowmethod`

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.