Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

v1.0.0

Compare
Choose a tag to compare
@mostafa mostafa released this 28 Oct 08:50
· 276 commits to master since this release

The gREST is stable now and has been heavily refactored to make it optimized and fast enough for production environment. It has been long since I've released a new version and I hope that after adding so many changes, it is now safe to say that the version 1.0.0 would be a good starting point for other changes, resolving of issues and adding new features.

Change log:

  1. Completely refactored and optimized grest.py code and separated all the http verbs into their respective files.
  2. Added functions docs.
  3. Removed unnecessary imports.
  4. Moved input validation functions to utils.py.
  5. Reordered imports and extracted static messages.
  6. Fixed absolute import issue of python 2.
  7. __validation_rules__ dict should be used for manual validation and validation_rules property should be used when automatic validation is needed. (validation_rules is a class property and only available on class instances).
  8. validate_model now return a tuple of (primary, secondary) classes, thus fixed in all previously refactored pieces of code.
  9. Added get_all and relation_exists helper methods to models helper classes.
  10. Updated packages (dependencies) to latest versions, except neomodel which is incompatible with inheritance (that is used heavily in gREST).
  11. Migrated docstrings to grest top level methods (verbs).
  12. Updated tests to reflect new changes in grest.py (messages and error codes).
  13. Fixed travis-ci configuration which previously led to build and test failures.
    Archived