Monstro

Latest version: v4.2.4

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

Scan your dependencies

Page 2 of 5

3.4.1

Fixed
- API routing.

3.4.0

Added
- `urls` module - advanced routing control (upgrade Tornado routing).

Updated
- fields and forms API:
- renamed `to_python` to `deserialize`;
- renamed `to_internal_value` to `serialize`;
- renamed attribute `error_messages` to `errors`;

Removed
- `monstro.utils.urls` in favor of `monstro.urls` module.

3.3.2

Fixed
- `Form` and `Model` instance name.

3.3.1

Fixed
- `ManyToMany` field initialization.

3.3.0

Fixed
- `get_options` of `ForeignKey`.

Added
- new fields: `JSON` and `ManyToMany`.

Updated
- renamed field `Url` to `URL`;
- renamed field method `get_metadata` to `get_options`;
- renamed field `default_error_messages` to `error_messages`;
- renamed `ForeignKey` parameters: `related_model` -> `to`, `related_field` -> `to_field`;

Removed
- support Tornado coroutines as defaut value for fields;

3.2.0

Added
- `only(*field)` method to `monstro.orm.queryset.QuerySet` - extract data by list of fields;
- `values(*field)` method to `monstro.orm.queryset.QuerySet` - extract raw data by list of fields;

Updated
- optimization of API and ORM.

Removed
- `monstro.orm.decorators`. `autoreconnect` decorator moved to `monstro.orm.proxy`.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.