Changelog
The following describes all the major changes in Cradle
February 2018
cradlephp/components
: bf0137a
Moving the following libraries to Components
- Curl - from
cradlephp/packages
- i18n - from
cradlephp/packages
- Image - from
cradlephp/packages
- Http - from
cradlephp/framework
cradlephp/packages
: c4f5220
Deprecation notice on Packages
- LTS till the end of 2018
cradlephp/command-line
: 06c947d
Deprecation notice on Command Line
- LTS till the end of 2018
cradlephp/framework
: 0378f6c
App is now FrameworkHandler
cradlephp/handlebars
: 1446f64
Moved Handlebars from Packages to its own repository
cradlephp/storm
: 5a1fa99
Moved SQL from Packages to its own repository called Storm
March 2018
cradlephp/components
: f3c48a9
Introducing REST to Components
Rest makes it easier to call external APIs following a magical style like cradlephp/storm
cradlephp/components
: a7588aa
Event trigger status reports on Components
Breaking change, please note this. Before EventHandler->getMeta()
returned
true|false
. This has been changed to meta will now return either of the
following:
- 200 - Means all events were triggered
- 308 - Means one event returned false thus making this incomplete
- 404 - Means no events were triggered
cradlephp/components
: 42dc366
Changed triggerRoute
to routeTo
Breaking change, please note this.
cradlephp/framework
: 36ca757
Package profiling methods
Added the following methods to Package
getPackagePath()
getPackageRoot()
getPackageType()
cradlephp/Cradle
: 2cee1f7
Moving the Kitchen Sink Project to Cradle
cradlephp/kitchen-sink
will continue ascradlephp/Cradle
branch>=2.0
- The Vanilla version which was housed in
cradlephp/cradle
is copied tocradlephp/Vanilla
A deprecation notice will be served soon.
cradlephp/cradle-developer
: ddd8773
Moving the Sink Faucet Project to Cradle
cradlephp/kitchen-sink
will continue ascradlephp/cradle-developer
A deprecation notice will be served soon.
April 2018
cradlephp/components
: e309e9c
You can now listen to multiple events
Usage
cradle()->on(['event-1', 'event-2'], function() {});
cradlephp/cradle.github.io
: 690fb4b
New 2.0 Documentation
- 1.0 Documentation can be found in the 1.0 branch