-
#27 CI for Node.js 14
-
#26 (breaking change) simplified error handling of
fetchContext(request)
functionThis ensures that it's impossible to accidentally render page with incorrect context. To preserve old behaviour - wrap your
fetchContext
function with custom error handler which returns{}
. Done by replacingcontext:error(request, error)
event witherror(request, error, response)
.
- #25 Fixed support for custom attributes, see issue at upstream zalando/tailor#287
- Added
ignore-invalid-ssl
fragment atrribute #24
- Added
processFragmentResponse(response, context): response
option:- See PR #23
- (breaking change) Modified
requestFragment(filterHeaders, processFragmentResponse)(url, attributes, request)
option
- Treat non 2xx http status codes from non-primary fragments as error by default #22
shouldSetPrimaryFragmentAssetsToPreload
option added #20
- Now it's possible to provide links for preload on per-request basis #19
- Add ignoring special content during parsing to speed up performance #18
- Memoization of the CPU expensive template parsing added #17
- keep-alive support
- "forward-querystring" fragment attribute added #16
- See PR #15
- (breaking change) removal of the frontend logic & Pipe.js
- "fragmentHooks" option added to TailorX
- More advanced
Link
header parsing logic - (breaking change)
amdLoaderUrl()
option was replaced withgetAssetsToPreload()
- added injection of the "title" & "meta" tags onto page header #11
- better error handing capabilities #12
- SeoBotsGuardStream added #13
- "return-headers" fragment attribute added #14
- removal of the "fallback-src" attribute support for fragments
- adding "data-fragment-id" attr to the CSS links for fragments with "id" attribute specified
- support of "invalid" Link headers added
- Re-branding to TailorX
- add timeout field to fragment opentracing span(#270)
- handle streams in object mode while buffering(#258)
- (perf) consume streams in parallel and flush them in series(#256)
- change in parent span operation name(#238)
- support multiple subscribers on tailor onDone hook(#243)
- (perf) Minor optimization on attributes extraction(#247)
- (perf) Improve link header extraction logic for fragments(#248)
- handle parsing & primary error properly(#235)
- Opentracing - Pass correct span contexts and add tests(#236)
- Added Opentracing Instrumentation(#232)
- Added Typescript definitions(#226)
- Support asset preloading for aws custom headers(#229)
- Pass all custom fragment attributes to filterRequestHeaders(#209)
- Custom API for adding TTFMP from fragments(#214)
- (fix) - Pipe the AMD loader script from extended options (#205)
- Parse comment tags without error in child templates (#195)
- Preload the module loader script with HTTP link headers (#203)
- Fix for handling comment nodes in child tempaltes (#191)
- Two headers (
x-request-uri
&x-request-host
) are added to the whitelist along with documentation on how to use them (#192)
- Add API support for custom performance entries(#187)
- End asyncStream later in the process (before piping) (#185)
- Extract tag handling logic from request handler(#173)
- Prettier Integration(#181)
- Proper error propagation on template error(#179)
- Code coverage improvements(#182, #183)
- Allow file to be used a template instead of directory(#171)
- Use
promisify
module to simpify the code(#174)
- Custom performance hooks should be called for all fragments(#168)
- Support for multiple link headers from fragments (#140)
- Update Buffer to Node 8 Syntax (#154)
- Update fragment performance hooks to support multiple link headers (#159)
- Support to forward headers from primary fragment via filterResponseHeaders (#148)
- Aditya Pratap Singh (addityasingh)
- Ramiro Rikkert (rikkert)
- Iilei (iilei)
- write response headers once before flushing(#145)
- Fix issue with preloading primary fragment assets(#141)
- Opt out of server push for preloaded JS and CSS(#139)
- Fix uglify-js options to preserve implicit return in IIFE (#133)
- Lock down the dependencies version to avoid issues with external libs (#135)
- Fix preloading headers for crossorigin scripts(#130)
- [Perf] Preload the Primary fragment's assets (#127)
- Allow Lazy fragment initialization through promise (#94)
- Hooks for measuring performance of fragments initialization on frontend (#95)
- Migrate codebase to ES6 (#109)
- Html compatible for script tags (#86)
- Configurable options for filtering headers (#91)
- Dropped node 4.x.x support
- Modified logic for
pipeInstanceName
andrequestFragment
. Please check the options
- Aditya Pratap Singh (addityasingh)
- Simeon Cheeseman (SimeonC)
- Boopathi Rajaa (boopathi)
- Dan Peddle (dazld)
- Vignesh Shanmugam (vigneshshanmugam)
- Support fragment level compression (gzip/deflate)
- Inline AMD loader if specified as file URL (Performance)
- Asynchronous file read in built-in fetch
- Respond 404 in case of not found template
- Add support for fallback slots
- Fragment initialization metrics
- Update loadCSS to fix FF 38 crash on Async Fragments.
- Fix issue related to unnamed slot behaviour
- Introduced unnamed default slot
- Introduced HTML compatible parser
- Base templates using slots
- Flattens nested templates