diff --git a/CHANGES.rst b/CHANGES.rst index 819554d0..5150b6f3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,19 @@ Changes ======= +0.42.0 +------ + +Added dependency injection to ``PiccoloCrud`` hooks - the Starlette request +object will now be passed in if requested. For example:: + + def my_hook(row_id, request): + ... + +Thanks to @AnthonyArmour and @destos for this. + +------------------------------------------------------------------------------- + 0.41.0 ------ diff --git a/piccolo_api/__init__.py b/piccolo_api/__init__.py index 44739926..6c4ec24c 100644 --- a/piccolo_api/__init__.py +++ b/piccolo_api/__init__.py @@ -1 +1 @@ -__VERSION__ = "0.41.0" +__VERSION__ = "0.42.0"