Hey guys - just logging this as a sort of issue tracker for updating to SilverStripe 4 compatibility.
I'll be pushing up some pull requests in the coming days for this, if you're happy for it to happen.
Here's what's required:
Branch the current master off to something like 0.2 OR release a stable 1.0.0 tag against master now, then branch it off as 1 so you can continue to maintain the 3.x compatible version
A PR for the composer branch alias 1.0.x-dev (or 2.0.x-dev if you do as above)
Add namespaces (including renaming the classes to handle PSR-4 compatibility)
Implement core SS namespaces throughout
Replace Restfulservice implementation with guzzlehttp/guzzle
Tweak public API changes as necessary, rename any template filenames as required (templates for classes need to match the class namespace)
Add extras: PSR-4 autoloader definition
I don't see any tests, Travis or Scrutinizer configuration so they won't need to be updated (however I'd highly recommend you add at least Scrutinizer! Related: #5 )
Hey guys - just logging this as a sort of issue tracker for updating to SilverStripe 4 compatibility.
I'll be pushing up some pull requests in the coming days for this, if you're happy for it to happen.
Here's what's required:
0.2
OR release a stable1.0.0
tag against master now, then branch it off as1
so you can continue to maintain the 3.x compatible version1.0.x-dev
(or2.0.x-dev
if you do as above)I don't see any tests, Travis or Scrutinizer configuration so they won't need to be updated (however I'd highly recommend you add at least Scrutinizer! Related: #5 )