Emmett

Latest version: v2.5.10

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

Scan your dependencies

Page 1 of 3

2.5

-----------

Released on March 19th 2023, codename Fermi

- Added official Python 3.11 support
- Removed support for legacy encryption stack
- Added RSGI protocol support
- Use Granian as default web server in place of uvicorn
- Added application modules groups
- Dropped Python 3.7 support

2.4

-----------

Released on January 10th 2022, codename Edison

- Added official Python 3.10 support
- Added relative path support in templates
- Added support for spatial columns in ORM
- Added support for custom/multiple primary keys in ORM
- Added support for custom/multiple foreign keys in ORM
- Added support for custom and multiple primary keys relations in ORM
- Added `watch` parameter to ORM's `compute` decorator
- Added `save` method to ORM's rows and relevant callbacks
- Added `destroy` method to ORM's rows and relevant callbacks
- Added `refresh` method to ORM's rows
- Added `before_commit` and `after_commit` ORM callbacks
- Added changes tracking to ORM's rows
- Added support to call super `rowmethod` decorated methods in ORM models
- Added `migrations set` command to CLI
- Added `skip_callbacks` parameter to relevant methods in ORM
- ORM now automatically adds appropriate indexes for `unique` fields

2.3

-----------

Released on August 12th 2021, codename Da Vinci

- Minor enhancements on request flow
- Added ORM support for PostgreSQL json/jsonb fields and operators
- Added `widget_radio` to `forms.FormStyle`
- Added `dict` values support for `in` validations
- Use optional `emmett-crypto` package for cryptographic functions
- Deprecated `security.secure_dumps` and `security.secure_loads` in favour of new crypto package
- Added `on_delete` option to `belongs_to` and `refers_to`
- Added `--dry-run` option to migrations `up` and `down` commands

2.2

-----------

Released on March 11th 2021, codename Copernicus

- Slightly refactored request flow
- Added `App.command_group` decorator
- Added additional arguments acceptance in `AppModule`
- Added static paths customisation for `AppModule`
- Added `workers` options to `serve` command
- Changed default logging level to `info` in `serve` command
- Changed default `SameSite` policy for session cookies to `Lax`
- Added official Python 3.9 support

2.1

-----------

Released on October 17th 2020, codename Bell

- Added type hints on all major interfaces
- Deprecated `App.run`
- Deprecated string signals in favour of `extensions.Signals`
- Removed `libs.sanitizer`
- Use `orjson` for JSON serialization
- Refactored request flow internals
- Added namespaces to templater
- Added `SameSite` support to session cookies
- Added HTTP/2 support
- Added `Request.push_promise`
- Added Python 3.9 support (beta)

2.0

-----------

Released on May 3rd 2020, codename Archimedes

- Dropped Python 2 support, requiring Python 3.7 minimum version
- Changed package name to `emmett`
- Moved from WSGI to ASGI
- Moved to async syntax
- Moved `globals` module to `ctx`
- Added `output` optional param to `route` definition
- Introduced `develop` and `serve` commands in place of `run`
- Pipeline `open` and `close` flows are now handled concurrently
- Rewritten router, optimized request flow
- Introduced websockets support
- Added `after_loop` signal
- Decoupled templating engine
- Added `Request.files`
- Added `request_max_content_length` to `App.config`
- Added `request_body_timeout` to `App.config`
- Added async support in `cache` module
- Decoupled internationalization engine
- Added runtime migration utils in ORM
- Added `response_timeout` to `App.config`
- Use default `text/plain` Content-Type header in responses
- Added `namespace` to `Injector` class
- Added Python 3.8 support

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.