- Support PHP 7 and HHVM
- Switch to X.X.X releases (instead of vX.X.X)
- Various small cleanups
- Various miscellaneous fixes
This is a major release due to breaking changes.
- Breaking change: Replaced ResponseFactory with a more generic parser:
$parser = new Sulphur\Parser();
$response = $parser->parse(file_get_contents('example.com:80'));
- Added subsection field access:
echo $reference->first('PlayerInfos')->first('Client')->first('Player')->Name;
- Added
Response::first
to access the first reference - Key-Value pairs should not appear in the wrong section any more (the parser is now aware of indentation)
- Sulphur is now licensed under the ISC license
- Fixed chaining of
where
calls
- Fixed field values sometimes being the wrong datatype
- Added
passes
anddoesNotPass
for filtering with custom callbacks - Minor improvements to the readme
- Initial release