- Pods
- Pillow 1.2.2
- Release Notes

PillowRelease Notes
v1.2
v1.2.2
- New: Rewrote regex route globs for new BedSheet wildcard URLs.
- New: Limited (NoDoc) support for EventMeta.
- Chg: Updated to BedSheet 1.5.16 (Breaking change.)
- Chg: Welcome Pages no-longer end with a directory slash as per the new BedSheet standard.
- Chg: Page and Event context args may no longer be null(it's complicated and under-used), use a default / optional argument instead.
- Chg: WelcomePageStrategyredirects downgraded to a307 Temporary Redirect.
- Chg: Deleted internal ThreadStackpattern and replaced it with a nested parent obj.
- Bug: Pages and Events with routes disabled were printed as valid routes on startup.
v1.2.0
- New: Added redirectmethods toPageMeta.
- Chg: Updated to efan v2.0.
v1.1
v1.1.6
- New: Pillow pages now respond to HEADrequests.
- Chg: Page event methods may be overridden by subclasses.
- Chg: Removed hardcoding for xhtmlMIME type - see here.
v1.1.4
- New: Pages may define *placeholders in the URL for page ctx params.
- New: Added PageMeta.pageUrlAbs()method.
- Chg: Event methods may be overridden.
- Chg: Code now uses the facet()method after an F4 upgrade.
- Chg: Changed the default MimeType from text/plaintotext/html.
v1.1.2
- Chg: Page meta no longer escapes the @char, to be more consistent with Fantom'sUriclass.
v1.1.0
- Chg: Updated to work with IoC 3.0 and BedSheet 1.5. (Breaking change.)
- Chg: @InitRendermay now return any BedSheet Response object for further processing.
- Chg: Deprecated Page.disableRoutesin favour ofPage.disableRouting
- Chg: Added default template directories.
- Bug: Events were not logged correctly on the BedSheet Err pages if they had the same name.
v1.0
v1.0.22
- New: @InitRendermethod parameters with default values become optional URL parameters.
- New: @PageContextfields may also be optional.
- New: @PageEventmethods may also have optional and nullable URL parameters.
- New: Added @Page.disableRoutesso individual pages can be omitted from Route generation.
- Chg: PageMeta.eventUrl(...)may now take a Method or a Str as the event argument.
- Chg: Made Pages.renderXXXX()methods public.
- Chg: Caching HTTP headers are only set in prod mode.
- Bug: Page context parameters are now correctly URL encoded and decoded - see URI Encoding / Decoding.
v1.0.20
- Chg: Updated to IoC 2.0.0.
- Chg: Converted PageMetato amixin.
- Chg: Pillow BedSheet Routes are contributed via a single afPillow.pageRoutescontribution, and not placeholders.
v1.0.18
v1.0.16
v1.0.14
- New: Added @PageEvent.namewhich overrides the default method name.
- New: Added PageMeta.eventMethods().
- Chg: Updated to IoC 1.7.2 and BedSheet 1.3.12.
- Chg: Renamed PageMeta.eventUri->PageMeta.eventUrl.
v1.0.12
- New: Added a default cache-controlHTTP header as a config value.
- Chg: Renamed PageMeta.pageUri->PageMeta.pageUrl.
v1.0.10
- New: Stack frames from Pillow,efanXtraandefanare marked as boring on BedSheet's Err500 page.
- Chg: Updated to IoC 1.6.4.
v1.0.8
- New: Using Bean Utils 0.0.2
- New: Page state from events are saved and restored should the page be rendered as part of the same request.
- Chg: Page events render the containing page by default.
- Chg: Renamed @Page.uri->@Page.url
v1.0.6
- Chg: Updated to use efanXtra 1.1.0.
- Chg: Pages.pageMeta()andPages.get()now throw aNotFoundErrif the given page type could not be found.
v1.0.4
- Chg: Page context may be nullable on Pages.pageMeta().
- Chg: Added Pages.get()operator for easyPageMetaaccess.
- Chg: Contributed Pillow Pagessection to BedSheet's Err and Not Found pages.
v1.0.2
- Chg: Page context values may now be mutable / non-const objects.
v1.0.0
- New: Implemented WelcomePageStrategy.
- New: Added helpful http response headers for testing.
- Chg: PageUriResolverandContentTypeResolverare now configurable.
- Chg: Renamed ConfigId welcomePage->welcomePageName.
- Bug: Page URIs with no page context could be a directory URI.
v0.0
v0.0.10
- New: Added @PageEventmethods allowing URIs to be mapped to page methods.
- New: Added @PageContextfields that can replace@InitRendermethods.
- New: Added the PageMetaclass to wrap up, um, page meta data! Oh, and attached an instance to the rendering pages. (DeletedRenderPageMeta.)
- New: Added PageMetaResponseProcessorthat renders Pillow pages whenPageMetainstances are returned as BedSheet response objects.
- New: Added httpMethodfield to@Pageand@PageEvent
- New: Added templateuri to@Page
- Chg: Pageis now a facet, incorporating fields from@PageUriand@PageContentType(which have now been deleted).
v0.0.8
- New: Use the @PageContentTypefacet to explicitly define the content type for your page.
- New: Use a double extension (e.g. indexPage.xhtml.slim) to set the content type for the page.
- Bug: @InitRenderparams could incorrectly match for directory index pages.
v0.0.6
- New: Page uris and BedSheet routes are generated from the @InitRendermethod signature.
- New: Directory uris may now serve welcome pages.
- Chg: Updated to use BedSheet 1.2.
- Chg: Renamed project to afPillow(fromafBedSheetEfanExtra).
- Chg: Reanmed EfanPageMetatoRenderPageMeta.
- Chg: Renamed PageRoutetoPageUri.
v0.0.4
- New: Added @PageRoutefacet that lets you specify a bespoke uri
- New: Added EfanPageMetawhich returns the active rendering page.
v0.0.2