changelogs.md


zalando/tailor

Repository  -  API  -  Source

3.9.2

  • add timeout field to fragment opentracing span(#270)

3.9.1

  • handle streams in object mode while buffering(#258)

3.9.0

  • (perf) consume streams in parallel and flush them in series(#256)

3.8.0

  • 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)

3.7.1

  • handle parsing & primary error properly(#235)
  • Opentracing - Pass correct span contexts and add tests(#236)

3.7.0

  • Added Opentracing Instrumentation(#232)
  • Added Typescript definitions(#226)
  • Support asset preloading for aws custom headers(#229)

3.6.0

  • Pass all custom fragment attributes to filterRequestHeaders(#209)
  • Custom API for adding TTFMP from fragments(#214)

3.5.1

  • (fix) - Pipe the AMD loader script from extended options (#205)

3.5.0

  • Parse comment tags without error in child templates (#195)
  • Preload the module loader script with HTTP link headers (#203)

3.4.0

  • 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)

3.3.0

  • Add API support for custom performance entries(#187)

3.2.1

  • End asyncStream later in the process (before piping) (#185)

3.2.0

  • Extract tag handling logic from request handler(#173)
  • Prettier Integration(#181)
  • Proper error propagation on template error(#179)
  • Code coverage improvements(#182, #183)

3.1.1

  • Allow file to be used a template instead of directory(#171)
  • Use promisify module to simpify the code(#174)

3.0.1

  • Custom performance hooks should be called for all fragments(#168)

3.0.0

  • 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)

Contributors

2.3.0

  • write response headers once before flushing(#145)

2.2.0

  • Fix issue with preloading primary fragment assets(#141)

2.1.1

  • Opt out of server push for preloaded JS and CSS(#139)

2.1.0

  • Fix uglify-js options to preserve implicit return in IIFE (#133)
  • Lock down the dependencies version to avoid issues with external libs (#135)

2.0.2

  • Fix preloading headers for crossorigin scripts(#130)

2.0.1

  • [Perf] Preload the Primary fragment's assets (#127)

2.0.0

  • 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)

Breaking changes

  • Dropped node 4.x.x support
  • Modified logic for pipeInstanceName and requestFragment. Please check the options

Contributors

1.1.0

  • Support fragment level compression (gzip/deflate)

1.0.7

  • Inline AMD loader if specified as file URL (Performance)

1.0.6

  • Asynchronous file read in built-in fetch
  • Respond 404 in case of not found template

1.0.5

  • Add support for fallback slots

1.0.4

  • Fragment initialization metrics

1.0.3

  • Update loadCSS to fix FF 38 crash on Async Fragments.

1.0.2

  • Fix issue related to unnamed slot behaviour

1.0.1

  • Introduced unnamed default slot

1.0.0

  • Introduced HTML compatible parser
  • Base templates using slots
  • Flattens nested templates