Skip to content

RAPyDo 0.8 (#36)

Choose a tag to compare

@mdantonio mdantonio released this 24 Oct 04:50
· 13 commits to master since this release
a4d7039
* Bump RAPyDo version to 0.8

* Dropped support for _METHOD dictionaries, keep @decorators.endpoint as unique definition method

* Dropped deprecated randomString utility, replaced by fake.password

* Dropped deprecated global_instance and isauth flags in get_instance method

* Dropped deprecated schema parameter in update_properties methods

* Dropped deprecated get_input method, replaced by webargs

* Dropped deprecated errors parameter in response method

* Dropped deprecated get_current_user method, replaced by get_user

* Dropped deprecated validate_input method

* Dropped deprecated BaseAuthentication.myinit

* Dropped deprecated get_global_var, get_bool_envvar and get_bool_from_os methods in detect, replaced by methods in Env

* Dropped deprecated getSingleLinkedNode method

* Dropped unused createUniqueIndex method

* Added simplejson to serialize Decimals with Marshmallow

* Set simplejson as json serializer used by Marshmallow

* Renamed models.InputSchema as models.Schema

* Renamed models.PartialInputSchema as models.PartialSchema

* Added marshmallow-jsonschema

* Added pytest-timeout

* Upgraded segno from 1.2.0 to 1.3.1

* Upgraded Telethon from 1.16.2 to 1.16.4

* Upgraded versions of pre-commit hooks

* Fixes in admin stats endpoint to make it more robust to errors

* Bug fix to prevent double initialization of sqlalchemy app

* Added coordinator data to admin users output schema

* Upgraded Faker from 4.1.2 to 4.1.3

* Upgraded Sentry from 0.16.5 to 0.17.6

* # Added tests on smtp errors

* # Tests fix

* # Tests fix /2

* Upgraded schemathesis from 2.3.3 to 2.4.1

* Added a generalization of TotalSchema in restapi.models to be used in server side paginated endpoints

* Added a generalization of pagination total response to be used in server side paginated endpoints

* Upgraded neomodel from 3.3.2 to 4.0.0

* Travis conf upgraded from ubuntu 18.04 to ubuntu 20.04

* Neo4j 4.x compatibility fixes (changed import path of CypherSyntaxError from neobolt.exceptions to neo4j.exceptions

* Neo4j base user model extends custom module when defined

* Fixed celery version to 4.4.7 to prevent upgrade to 5.0.0

* Extended neo4j group model with custom propertes (when defined)

* Removed access_token from input models to prevent unnecessary unknown fields errors

* Temporary fixed apispec version to prevent bump to 4.0.0

* Replaced neomodel install_all_labels, with install_labels to prevent unique indexes collision in case of cross-referenced models between core and custom

* Handling min/max int according to schema in buildData utility function

* Fix to remove get_schema parameters from models with location query

* Excluded werkzeug.exceptions.UnprocessableEntity from sentry capture (already catched by handle_marshmallow_errors)

* Extended AdvancedList with a multiple:boolean flag

* Extended convert_model_to_schema to extract information from inner validator in case of List fields

* Divided custom_user_properties in customizer class in a _pre and _post callback

* Customizer class is named inerithed from an abstract and verified at startup

* Merged Customizer and CustomProfile

* Divided Customizer.get_custom_fields in get_custom_input_fields and get_custom_output_fields

* Extended response schema to GET methods

* Bug fix to prevent custom_user_properties_post to converg EVERY exception to a BadRequest (included DatabaseDuplicatedEntry that is expected to be converted in a 409 error)

* Disabled tests on neo4j test endpoint on non-core tests (it fails due to custom neo4j models defined at project level)

* Disabled warning about missing authentication when starting celery

* Reordered fields in admin users form