This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
Releases: mostafa/grest
Releases · mostafa/grest
v0.5.7
- Syntax cleanup and minor bug fixes.
- Updated travis config file to include pypy3.5 and removed pypy because of incompatibility issues with Xenial distro of tavis test process!
- Replaced inflect package with inflection because of Free Software license incompatibility.
- Fixed validation rule handling on relationship models.
- Added license scanning service FOSSA.
- Added requirements.txt scanning and update using PyUp service.
- Added handling of Unicode URLs (routes).
- Fixed imports and removed unnecessary ones.
- Added license headers to all files.
- Separated different functionalities to their respective files (utils has became utils, models, auth and exception) and updated examples and README.md to reflect new changes.
- Fixed global_config and used os.getenv instead of os.environ.get.
- Fixed dependency resolution errors for python3.
- Used list comprehension instead of map function (map seems to be slower)!
- Added documentation (readthedocs, mkdocs).
- Added Snyk service for security and vulnerability testing.
- Updated PyYAML to fix severe security issues in string handling and prevent malicious code execution.
- Added Python 3.7 and Neo4j 3.4.1 to travis config file for testing against them.
Archived
v0.5
- Added monkey-patching to validation rules (user-defined validation rules override automatic validation rules).
- Updated README.
- Added self to auth decorators, so you can access calling instance on user request (to extract model and other internals).
- Fixed auth decorators in order not to check for multiple returns (these are now Exception-based, meaning that if your auth function either authenticates/authorizes the user or raises an exception detailing the error and its HTTP error code).
- Fixed route on patch endpoint.
- Added custom HTTPException with (message, http_error_code) interface for auth decorators and custom methods and added proper exception handling for it.
- Migrated all manually returned errors to instead raise HTTPException.
- Removed global exception handling of methods (endpoints), because auth decorators now handle them.
- Added auth_exempt decorator for user-defined methods that need to bypass authentication and authorization. It should be used, otherwise nothing works properly!
- Fixed minor bugs.
Archived
v0.4
v0.3
v0.2.5: fixed authentication and authorization functions.
Fixed authentication and authorization functions.
Added documentation to their code.
Archived
v0.2.4: made source code python 3 ready! #8
This version is stable now!
Added support for python 3.
Fixed small bugs in tests.
Archived
v0.2.3: added field filtering on serialization.
Added field filtering on serialization.
Fixed small bugs.
Added new tests.
Archived
v0.2.2: added new tests.
Fixed invalid property checking.
Added new tests.
Archived
Latest beta
Latest beta of version 0.1!
DO NOT USE THIS RELEASE IN PRODUCTION OR TESTING
Archived