DuvetRelease Notes

v1.1

v1.1.12

  • Chg: Exposed HtmlInjector.appendToHead() and HtmlInjector.appendToBody() and they may now also accept HTML strings.
  • Chg: MetaTagBuilder ctor no longer internal.

v1.1.10

  • Chg: Recompiled for new the BedSheet 1.5.16 wildcard routing system.
  • Chg: Clearer log messages when head or body tags can not be found.

v1.1.8

  • New: SleepSafe integration! Injected scripts and stylesheets automatically update the Content-Security-Policy response header.
  • New: HtmlInjector.injectFantomMethod() now loads the Fantom TimeZone database, see http://fantom.org/forum/topic/2548.
  • Chg: Made Text processing more efficient (text is no longer encoded twice).
  • Chg: Updated RequireJS from v2.1.14 to v2.3.5.

v1.1.6

  • Chg: HtmlInjector.injectFantomMethod() defaults TimeZone to a sensible default (i.e. UTC and not New_York) that doesn't cause errors. See JS: TimeZone not found for details.
  • Chg: Methods args for HtmlInjector.injectFantomMethod() may now be any Fantom object, and not just JSON objs.
  • Chg: LinkTagBuilder.fromLocalUrl() now accepts local URLs for all registered ClientAssetProducers such as BedSheet's PodHandler.
  • Chg: Added a domkit example to the pod doc.
  • Chg: Updated afConcurrent to v1.0.20.
  • Bug: HtmlInjector.injectFantomMethod() could not call static methods with arguments.

v1.1.4

  • Bug: Scripts could be inserted in the wrong place if the HTML legitimately contained the string </body>.

v1.1.2

  • Bug: The same module script could be injected multiple times.

v1.1.0

  • Chg: Updated to work with IoC v3 and BedSheet 1.5. (Breaking change.)
  • Chg: Deleted deprecated methods. (Breaking change.)

v1.0

v1.0.12

  • Bug: LinkTagBuilder and ScriptTagBuilder did not enode() their URLs.
  • Bug: Smart script insertion didn't work with plain <script> tags.

v1.0.10

v1.0.8

  • New: Smart script insertion allows you to write your own require scripts in the static HTML.
  • Chg: Added DuvetMiddleware to BedSheet's StackFrameFilter because it's boring!
  • Chg: Revamped portions of the documentation.

v1.0.6

  • Bug: Duvet no longers Errs when resolving pod JS files when run as a script. (Updated mainly for FormBean demo.)

v1.0.4

  • New: RequireJS modules are logged at startup.
  • New: RequireJS modules are printed on the BedSheet 404 and Error pages.
  • Chg: Recompiled to work with BedSheet 1.4.0.

v1.0.2

v1.0.0

  • New: RequireJsConfigTweaks service allows last minute tweaks to the RequireJS config.
  • Bug: Could not inject Fantom JS code from other pods if the main web app itself did not have JS code.

v0.1

v0.1.0

  • New: Support for executing Fantom code on web pages! See HtmlInjector.injectFantomMethod().

v0.0

v0.0.14

  • Chg: Updated to IoC 1.7.2.
  • Bug: Script async attribute incorrectly had the value of true (should have been async).

v0.0.12

  • New: Added MetaTagBuilder.withProperty() for adding Open Graph meta.

v0.0.10

  • New: RequireJS script has cache control / expires headers that expire in 1 year.
  • Bug: Problems with contributing user modules.

v0.0.8

  • New: User defined modules in `/modules/` automatically have their asset caching strategy URLs added the RequireJS paths config.

v0.0.6

  • Chg: Renamed LinkTagBuilder.fromClientUrl() -> fromLocalUrl() to match BedSheet FileHandler.
  • Chg: Renamed ScriptTagBuilder.fromClientUrl() -> fromLocalUrl() to match BedSheet FileHandler.

v0.0.4

  • New: Added DuvetMiddleware to rollback / remove any HTML injections if an Err occurs. This prevents old code being injected into Err pages.
  • Bug: Could not inject multiple scripts without a src atrribute.

v0.0.2

  • New: Preview release.