Skip to content

Commit f311e50

Browse files
author
Alannah Kearney
committed
Updated CHANGELOG for 1.0.0
1 parent af782f5 commit f311e50

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
66

7+
## [1.0.0] - 2019-01-05
8+
#### Added
9+
- Added cacheable page type, caching option to preferences, and caching logic for GET requests
10+
- Added `CacheableJsonFrontEndPage` class
11+
- Added `convertEmptyElementsToString` transformer
12+
- Added `pointybeard/symphony-classmapper` and `pointybeard/symphony-pdo` libraries to `composer.json`
13+
- Added JSON encoding options to `JsonFrontend` class. This makes it easier to apply encoding changes across an entire API. Including two new methods: `getEncodingOptions()` and `setEncodingOptions()`
14+
- Added shutdown method to `ErrorHandler` so JSON error is rendered when there are unrecoverable errors (rather than error based on Symphony's HTML error template)
15+
- Added `loadCurrentFromPageAndQueryString()`, `hasExpired()`, `expire()`, `fetchExpired()`, `deleteExpired()`, `removeAPIFrameworkHeadersFromJsonString()`, and `removeAPIFrameworkHeadersFromArray()` methods to `PageCache` model
16+
- Added better error handling when setting `isCachable`
17+
18+
#### Changed
19+
- Changed required versions of `symfony/http-foundation` and `justinrainbow/json-schema`
20+
- Removed code that stored `resolvedPage` data since causes issues with page params
21+
- No longer passing resolved page data to the contructor for `CacheableJsonFrontEndPage` and `JsonFrontEndPage`
22+
- Using `JsonFrontend` encoding options when generating responses
23+
24+
#### Fixed
25+
- `JsonFrontend::display()` was failing if the page doesnt exist since `resolvedPage` is false
26+
727
## [0.9.0] - 2018-09-27
828
#### Added
929
* Added extended FrontendPage class, `JsonFrontendPage` to handle json requests specifically.
@@ -72,7 +92,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7292
- Initial release
7393
- Added Symphony PDO as requirement
7494

75-
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.1...integration
95+
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v1.0.0...integration
96+
[1.0.0]: https://github.com/pointybeard/api_framework/compare/v0.9.0...v1.0.0
7697
[0.9.0]: https://github.com/pointybeard/api_framework/compare/v0.2.1...v0.9.0
7798
[0.2.1]: https://github.com/pointybeard/api_framework/compare/v0.2.0...v0.2.1
7899
[0.2.0]: https://github.com/pointybeard/api_framework/compare/v0.1.1...v0.2.0

0 commit comments

Comments
 (0)