Skip to content

RAPyDo 0.7.5 (#34)

Choose a tag to compare

@mdantonio mdantonio released this 17 Aug 14:19
· 15 commits to master since this release
a07287c
* Bump RAPyDo version to 0.7.5

* APP_MODE debug renamed as APP_MODE development

* Removed unused date_from_string utility

* Removed UWSGI

* Deprecated use of getSingleLinkedNode

* Removed deprecated Meta initialization

* Deprecated use of properties field in update_properties

* Deprecated schema field in update_properties [restored properties field]

* Removed deprecated use of errors in response, replaced with raise of BadResponse

* Removed _user from authentication; Removed deprecated methods based on _user attribute

* Deprecated use of catch_errors, now automatically added to every endpoint

* All endpoints are now children of MethodResource by default

* Importing fields and validate from restapi.models

* Schema fields are now imported from webargs instead of marshmallow

* Importing use_kwargs and marshal_with from decorators instead of flask_apispec

* Upgraded isort from 4.3.21 to 5.0.9

* Upgraded pyupgrade from v2.4.4 to v2.7.0

* Upgraded flake8 from 3.8.2 to 3.8.2

* Upgraded flask-apispec from 0.8.8 to 0.9.0

* Upgraded Flask-SQLAlchemy from 2.4.1 to 2.4.3

* Upgraded pytest-cov fr 2.8.1 to 2.10.0

* Upgraded schemathesis from 1.6.2 to 2.1.0

* Upgraded Faker from 4.1.0 to 4.1.1

* Upgraded flower from 0.9.4 to 0.9.5

* Added /admin/stats endpoint to monitor server status

* Better reset password notification message

* Bug fix: startup exception raised from connectors are now catched to provide a clean exit

* Removed deprecated swagger-defined query parameters

* Removed duplicated configuration, stored in both mem and customizer

* Bug fix to correctly apply log level

* Fixed endpoints decorators order

* Deprecated use of auth.required decorator and replaced with:
@decorators.auth.require()
@decorators.auth.require_all('role', ...)
@decorators.auth.require_any('role', ...)

* Configured available roles as Enum in Authentication service

* Fix to allow roles verification from enums

* Deprecated use of get_input

* Upgraded Flask-SQLAlchemy from 2.4.3 to 2.4.4 (This patch allows Flask-SQLAlchemy to work on python 3.8.4 and prevent the ' can't apply this __setattr__ to DefaultMeta object ' error)

* Cleaned up webargs callback to take care of request object

* Bug fix to make strip_required to work in input fields

* Renamed OutputSchema as Schema

* Mail client is now provided as a connector

* Initialize and destroy methods are no longer required for non-auth connectors

* Dropped support for irods connector, now moved at project level

* Back-compatibility fix for older werkzeug versions

* Extended swagger spec with auth requirements

* Added a AdvancedList marshmallow type [validation based on optional unique values and min_items]

* Dropped unused exit_if_not_found parameter in Meta.get_module_from_string

* Fix to correctly retrieve remote IP in case of multiple addresses provided by the proxy

* Removed deprecated get_paging function

* Added pagination to admin sessions endpoint

* Added python-telegram-bot to dependencies

* Added basic configuration for bots definition

* Added input_filter to pagination decorator

* Added sort_by and sort_order to pagination decorator

* Extended bot parameters decorator with inline keyboard buttons

* # Tests fix