Skip to content

Commit

Permalink
Version bump to 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alistair Kearney committed Jun 17, 2016
1 parent 2278379 commit 82b52fc
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 30 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
vendor/
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.2.1] - 2016-06-17
#### Added
- Added `JSON_UNESCAPED_SLASHES` to avoid unnecessary escaping of slashes in output. (#8)
- Added new abstract extension `AbstractApiException` which is used by `ControllerNotFoundException` and `MethodNotAllowedException`. Allows setting of HTTP response code to avoid every exception thrown appearing as a '500 Internal Server Error'
Expand Down Expand Up @@ -48,6 +50,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Initial release
- Added Symphony PDO as requirement

[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.0...integration
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.1...integration
[0.2.1]: https://github.com/pointybeard/api_framework/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/pointybeard/api_framework/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/pointybeard/api_framework/compare/v0.1.0...v0.1.1
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# RESTful API Framework for Symphony CMS

- Version: v0.2.1
- Date: June 17 2016
- [Release notes](https://github.com/pointybeard/api_framework/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/api_framework)

JSON renderer and event driven controller interface for Symphony CMS designed to quickly build a RESTful APIs.

## Installation
Expand Down Expand Up @@ -379,3 +384,16 @@ Class extension_example extends Extension
}
}
```

## Support

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/api_framework/issues),
or better yet, fork the library and submit a pull request.

## Contributing

We encourage you to contribute to this project. Please check out the [Contributing documentation](https://github.com/pointybeard/api_framework/blob/master/CONTRIBUTING.md) for guidelines about how to get involved.

## License

"RESTful API Framework for Symphony CMS" is released under the [MIT License](http://www.opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion events/event.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static function about()
'email' => '[email protected]'
],
'version' => 'Symphony 2.6.7',
'release-date' => '2016-06-16',
'release-date' => '2016-06-17',
'trigger-condition' => 'POST|PUT|PATCH|DELETE'
];
}
Expand Down
69 changes: 41 additions & 28 deletions extension.meta.xml
Original file line number Diff line number Diff line change
@@ -1,31 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension id="api_framework" status="released" xmlns="http://getsymphony.com/schemas/extension/1.0">
<name>API Framework</name>
<description>JSON renderer and API framework for Symphony CMS</description>
<repo type="github">https://github.com/pointybeard/api_framework</repo>
<types>
<type>System</type>
</types>
<authors>
<author>
<name github="pointybeard" symphony="alistair">Alistair Kearney</name>
<website>http://alistairkearney.com</website>
</author>
</authors>
<releases>
<release version="0.1.2" date="2016-04-27" min="2.6.7">
- Transformer and Transformation classes.
- Added APIFrameworkJSONRendererAppendTransformations delegate
- Added unit tests for Transformation code
- Symphony PDO is not longer a Composer requirement as it is not used
</release>
<release version="0.1.1" date="2016-04-25" min="2.6.7">
- Added CONTRIBUTING.md and CHANGELOG.md
- Improvements to the example controller code in README.md
- Extension driver had include class name which meant could not install
</release>
<release version="0.1.0" date="2015-09-13" min="2.6">
- Initial release
</release>
</releases>
<name>API Framework</name>
<description>JSON renderer and API framework for Symphony CMS</description>
<repo type="github">https://github.com/pointybeard/api_framework</repo>
<types>
<type>System</type>
</types>
<authors>
<author>
<name github="pointybeard" symphony="alistair">Alistair Kearney</name>
<website>http://alistairkearney.com</website>
</author>
</authors>
<releases>
<release version="0.2.1" date="2016-06-17" min="2.6.7">
- Added `JSON_UNESCAPED_SLASHES` to avoid unnecessary escaping of slashes in output. (#8)
- Added new abstract extension `AbstractApiException` which is used by `ControllerNotFoundException` and `MethodNotAllowedException`.
- Updated core controller event based on changes to `ControllerNotFoundException` and `MethodNotAllowedException`
- Updated `ControllerNotFoundException` and `MethodNotAllowedException` to extend the new `AbstractApiException` class
- Updated `ExceptionHandler` to check for overloaded http response code. Calls the method `getHttpStatusCode()` if it is available
- Removed the use clause for Symphony as it is redundant and causes a PHP warning
- Using API Framework exception and error handlers instead of Symphony built in. (#9)
</release>
<release version="0.2.0" date="2016-05-03" min="2.6.7">
- Transformer and Transformation classes.
- Added APIFrameworkJSONRendererAppendTransformations delegate
- Added phpunit to composer require-dev
- Added unit tests for Transformation code
- Controller names are based on full page path (#5)
- Using PSR-4 folder structure for controllers. Controllers must have a namespace. (#7)
- Checking that controller actually exists before trying to include it (#6)
- Symphony PDO is not longer a Composer requirement as it is not used
</release>
<release version="0.1.1" date="2016-04-25" min="2.6.7">
- Added CONTRIBUTING.md and CHANGELOG.md
- Improvements to the example controller code in README.md
- Extension driver had include class name which meant could not install
</release>
<release version="0.1.0" date="2015-09-13" min="2.6">
- Initial release
</release>
</releases>
</extension>

0 comments on commit 82b52fc

Please sign in to comment.