Skip to content

Commit 82b52fc

Browse files
author
Alistair Kearney
committed
Version bump to 0.2.1
1 parent 2278379 commit 82b52fc

5 files changed

Lines changed: 65 additions & 30 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.DS_Store
2+
vendor/

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
6+
7+
## [0.2.1] - 2016-06-17
68
#### Added
79
- Added `JSON_UNESCAPED_SLASHES` to avoid unnecessary escaping of slashes in output. (#8)
810
- 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'
@@ -48,6 +50,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4850
- Initial release
4951
- Added Symphony PDO as requirement
5052

51-
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.0...integration
53+
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.1...integration
54+
[0.2.1]: https://github.com/pointybeard/api_framework/compare/v0.2.0...v0.2.1
5255
[0.2.0]: https://github.com/pointybeard/api_framework/compare/v0.1.1...v0.2.0
5356
[0.1.1]: https://github.com/pointybeard/api_framework/compare/v0.1.0...v0.1.1

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# RESTful API Framework for Symphony CMS
22

3+
- Version: v0.2.1
4+
- Date: June 17 2016
5+
- [Release notes](https://github.com/pointybeard/api_framework/blob/master/CHANGELOG.md)
6+
- [GitHub repository](https://github.com/pointybeard/api_framework)
7+
38
JSON renderer and event driven controller interface for Symphony CMS designed to quickly build a RESTful APIs.
49

510
## Installation
@@ -379,3 +384,16 @@ Class extension_example extends Extension
379384
}
380385
}
381386
```
387+
388+
## Support
389+
390+
If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/api_framework/issues),
391+
or better yet, fork the library and submit a pull request.
392+
393+
## Contributing
394+
395+
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.
396+
397+
## License
398+
399+
"RESTful API Framework for Symphony CMS" is released under the [MIT License](http://www.opensource.org/licenses/MIT).

events/event.controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static function about()
1616
'email' => 'hi@alistairkearney.com'
1717
],
1818
'version' => 'Symphony 2.6.7',
19-
'release-date' => '2016-06-16',
19+
'release-date' => '2016-06-17',
2020
'trigger-condition' => 'POST|PUT|PATCH|DELETE'
2121
];
2222
}

extension.meta.xml

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,44 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<extension id="api_framework" status="released" xmlns="http://getsymphony.com/schemas/extension/1.0">
3-
<name>API Framework</name>
4-
<description>JSON renderer and API framework for Symphony CMS</description>
5-
<repo type="github">https://github.com/pointybeard/api_framework</repo>
6-
<types>
7-
<type>System</type>
8-
</types>
9-
<authors>
10-
<author>
11-
<name github="pointybeard" symphony="alistair">Alistair Kearney</name>
12-
<website>http://alistairkearney.com</website>
13-
</author>
14-
</authors>
15-
<releases>
16-
<release version="0.1.2" date="2016-04-27" min="2.6.7">
17-
- Transformer and Transformation classes.
18-
- Added APIFrameworkJSONRendererAppendTransformations delegate
19-
- Added unit tests for Transformation code
20-
- Symphony PDO is not longer a Composer requirement as it is not used
21-
</release>
22-
<release version="0.1.1" date="2016-04-25" min="2.6.7">
23-
- Added CONTRIBUTING.md and CHANGELOG.md
24-
- Improvements to the example controller code in README.md
25-
- Extension driver had include class name which meant could not install
26-
</release>
27-
<release version="0.1.0" date="2015-09-13" min="2.6">
28-
- Initial release
29-
</release>
30-
</releases>
3+
<name>API Framework</name>
4+
<description>JSON renderer and API framework for Symphony CMS</description>
5+
<repo type="github">https://github.com/pointybeard/api_framework</repo>
6+
<types>
7+
<type>System</type>
8+
</types>
9+
<authors>
10+
<author>
11+
<name github="pointybeard" symphony="alistair">Alistair Kearney</name>
12+
<website>http://alistairkearney.com</website>
13+
</author>
14+
</authors>
15+
<releases>
16+
<release version="0.2.1" date="2016-06-17" min="2.6.7">
17+
- Added `JSON_UNESCAPED_SLASHES` to avoid unnecessary escaping of slashes in output. (#8)
18+
- Added new abstract extension `AbstractApiException` which is used by `ControllerNotFoundException` and `MethodNotAllowedException`.
19+
- Updated core controller event based on changes to `ControllerNotFoundException` and `MethodNotAllowedException`
20+
- Updated `ControllerNotFoundException` and `MethodNotAllowedException` to extend the new `AbstractApiException` class
21+
- Updated `ExceptionHandler` to check for overloaded http response code. Calls the method `getHttpStatusCode()` if it is available
22+
- Removed the use clause for Symphony as it is redundant and causes a PHP warning
23+
- Using API Framework exception and error handlers instead of Symphony built in. (#9)
24+
</release>
25+
<release version="0.2.0" date="2016-05-03" min="2.6.7">
26+
- Transformer and Transformation classes.
27+
- Added APIFrameworkJSONRendererAppendTransformations delegate
28+
- Added phpunit to composer require-dev
29+
- Added unit tests for Transformation code
30+
- Controller names are based on full page path (#5)
31+
- Using PSR-4 folder structure for controllers. Controllers must have a namespace. (#7)
32+
- Checking that controller actually exists before trying to include it (#6)
33+
- Symphony PDO is not longer a Composer requirement as it is not used
34+
</release>
35+
<release version="0.1.1" date="2016-04-25" min="2.6.7">
36+
- Added CONTRIBUTING.md and CHANGELOG.md
37+
- Improvements to the example controller code in README.md
38+
- Extension driver had include class name which meant could not install
39+
</release>
40+
<release version="0.1.0" date="2015-09-13" min="2.6">
41+
- Initial release
42+
</release>
43+
</releases>
3144
</extension>

0 commit comments

Comments
 (0)