Skip to content
Open

V3 #28

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
52950ed
v3 WIP
acuthbert Nov 29, 2018
a060909
v3 WIP
acuthbert Nov 29, 2018
2e82544
WIP
acuthbert Nov 30, 2018
caf82c1
Small bug
acuthbert Nov 30, 2018
e849586
Fix for full match of url
acuthbert Dec 6, 2018
1011f91
Moved middle ware so it can accept params from the route.
acuthbert Dec 7, 2018
d2571e2
Moved middle ware so it can accept params from the route.
acuthbert Dec 7, 2018
175c5e0
Fix for resource adapater
acuthbert Dec 10, 2018
316423d
Fixing issue where the Rest API would return status code 200 even whe…
Jan 30, 2019
ce91aa3
Merge pull request #21 from RhubarbPHP/feature/RestApiImprovements
acuthbert Jan 30, 2019
ca906ec
Fix for issue with RestApiHandler not returning the response object c…
Jan 30, 2019
a70f68e
Agreed with Rob this resource and payload 'id' check is not required …
Jan 30, 2019
a3aea39
Adding delete method to support the delete method from RestApiHandler
Jan 30, 2019
f945fba
Addressing the issue where the id for a model is not sent as part of …
Jan 30, 2019
99db573
Merge pull request #22 from RhubarbPHP/feature/FixForRequestReturning…
acuthbert Jan 30, 2019
1daf38d
Adding validation to the post method on ModelResourceAdapter. This wi…
Jan 30, 2019
ad58e5a
Removing abstract methods. This will enable us to override the functi…
Jan 30, 2019
2dfcc6a
Adding Helper method to remove unwanted properties from the payload r…
Jan 31, 2019
8075f61
Merge pull request #25 from RhubarbPHP/feature/RemovingAbstractMethods
acuthbert Jan 31, 2019
71b5241
Changing code syntax as per recommendation from Bert
Jan 31, 2019
853dd31
Merge pull request #27 from RhubarbPHP/feature/StripInvalidProperties…
miscampbell Jan 31, 2019
924c42c
out with the old
samnotsowise Feb 4, 2019
1bcaeca
in with the new
samnotsowise Feb 4, 2019
d61308a
fixes
samnotsowise Feb 4, 2019
f1e5336
Added: EntityAdapterRouterFactory and EntityAdapterInterace
samnotsowise Feb 5, 2019
e50d74b
Added: DIEntityAdapter
samnotsowise Feb 5, 2019
f4d039b
use LSB instead of abstract method
samnotsowise Feb 5, 2019
540dddd
abstract Stem adapter classes
samnotsowise Feb 5, 2019
108a0d9
namespaced stem adapters
samnotsowise Feb 5, 2019
7548476
treat all urls as ending in slash
samnotsowise Feb 5, 2019
5d148fb
selective CRUD
samnotsowise Feb 5, 2019
657e5a0
EntityAdapter
samnotsowise Feb 6, 2019
d5e8ff7
don’t force return type on payload
samnotsowise Feb 6, 2019
bda60a9
late static binding
samnotsowise Feb 6, 2019
076eb67
again
samnotsowise Feb 6, 2019
7e344cd
method should be static
samnotsowise Feb 6, 2019
8704d85
instance adapters
samnotsowise Feb 6, 2019
e326a62
fixed adapter
samnotsowise Feb 6, 2019
4e9e3e0
not found handler
samnotsowise Feb 6, 2019
fa3605a
empty results
samnotsowise Feb 6, 2019
ac655ce
error handlers are not involkable
samnotsowise Feb 6, 2019
1a9e072
fixed middleware signatures
samnotsowise Feb 6, 2019
e6f54f5
Fixing issue with passing from/to. Fixed issue with from going to a n…
Feb 8, 2019
b29b7e7
Adding support to see the Request being processed by each HTTP method
Feb 12, 2019
ec5b013
Removing logic added to expose the Slim Request
Feb 13, 2019
37a0b7a
Removed duplicated method call to getPayloadForEntity on the BaseEnti…
Feb 13, 2019
35b2eaa
patch support
samnotsowise Feb 21, 2019
1e80d47
Tweaks after backport to CSL
acuthbert Feb 26, 2019
04a8608
Changelog
acuthbert Feb 26, 2019
8b72d3b
Fixed: To/From pagination
samnotsowise Apr 30, 2019
f4113f5
Added: Current Request middleware.
samnotsowise Apr 30, 2019
ed5d479
Revert "Tweaks after backport to CSL"
samnotsowise Apr 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Change Log

### 3.0.4
Reverted: Breaking changes which can be done more neatly with current request middleware

### 3.0.3
Added: Current Request middleware. Provides a singleton that can be used to get the current request, similar to rhubarb's `Request::current()`

### 3.0.2
Fixed: To/From pagination

### 3.0.1

Fixed: Optional argument issue
Added: Most adapter methods now receive arguments

### 3.0.0

Changed: Total Slim down - switched to [Slim framework](https://www.slimframework.com).
This module is now a wrapper and a bit of tooling around a Slim app.

### 2.0.8

Changed: Support for including null values on rest resources.
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"name": "rhubarbphp/module-restapi",
"description": "An module for building ReSTful API services",
"license": "Apache 2.0",
"license": "Apache-2.0",
"autoload": {
"psr-4": {
"Rhubarb\\RestApi\\": "src/",
"Rhubarb\\RestApi\\Tests\\": "tests/unit/"
"Rhubarb\\RestApi\\": "src/"
}
},
"require": {
"rhubarbphp/rhubarb": "^1.4.2",
"rhubarbphp/module-leaf": "^1.0.0",
"rhubarbphp/module-stem": "^1.5.1"
"rhubarbphp/module-stem": "^1.8",
"slim/slim": "^3.12"
},
"require-dev": {
"codeception/codeception": "^2.3"
Expand Down
Loading