Skip to content

aurelia-templating-resources v0.16.0

Compare
Choose a tag to compare
@EisenbergEffect EisenbergEffect released this 13 Oct 08:58
· 450 commits to master since this release

Bug Fixes

  • GlobalBehavior:
  • all:
    • update exectionContext to bindingContext naming (4bbcf4c2)
    • update to latest plugin api (c3adb5e2)
    • update plugin to use new global resource api (09d41036)
    • add logging dependency (3ca23734)
    • update to latest metadata api (62d40dbe)
  • build:
    • update linting, testing and tools (79590133)
    • add missing bower bump (d7b588de)
  • compose:
    • internal variable name consistency (769d03b6)
    • address multi-prop update with compose (160b4a00)
    • null/undefined components should not cause error (14d26539, closes #31)
    • activate not called on string vm's after initial compose (62c19215, closes #15)
    • all properties not responding to changes (8c7cf24c, closes #10)
    • incorrect property name (57c40a00)
    • use templating's new built-in composition engine (9f50076d)
    • align with new view model load api (a7c65fd6)
  • css-resource:
    • ensure that urls in css files are relative to the css file (f73849a9, closes #105)
    • enable proper style scoping based on shadow dom support (b31dc4dd)
  • global-behavior:
    • unsafe method invocation (6e05bb98)
    • enforce whitelist and support standard widget destroy pattern (c1e0ddb3)
  • html-santizer: extract class (59fe7a80)
  • if:
    • fix animation interaction; enable view cache integration (64fde698)
    • standardize on using the $parent property to store parent execution context (82e6d135)
    • delay call to unbind via micro task (9b62109c, closes #84)
    • only remove when previously shown (99125493)
    • fix passing context binding to the view factory (ecfa3ce4, closes #56)
    • fix multiple view.bind() call (172bdfae)
  • index:
    • export name incorrect (9893d7e9)
    • update to latest configuration api (5b87410e)
    • plugin now uses new id-base api for resources (f2cf8bf7)
  • package:
    • change jspm directories (b6d0e5c8)
    • update dependencies (3775b621)
    • update deps and fix bower semver ranges (5839f551)
    • update dependencies (3f77813b)
    • update Aurelia dependencies (f121fbb1)
    • update dependencies to latest (dac311ac)
    • update templating dependency to latest version (156def6a)
    • update templating to latest version (c754589a)
    • update templating to latest version (f0d148cb)
    • updating dependencies to latest versions (033a97fd)
    • update dependencies to latest versions (c900f714)
    • updating dependencies to their latest versions (173392f5)
    • add missing polyfill (c3fe9aa4)
  • plugins: fixup view engine resource plugins to match the new api (5f422cc1)
  • repeat:
    • check if items are instanceof Array on re-bound (e5c000ef, closes #108)
    • update binding context after animations have finished (1904ea5e, closes #94)
    • handle changes for numbers (e3084523, closes #81)
    • preserve lifecycle when re-using views (7806a81b, closes #45)
    • remove views when bindning new items (fb9314cf, closes #69)
    • unbind children on property change (96a2065c)
    • handle promises returned by view-slot (28338958, closes #54)
    • add value as bindable (8752ecab)
    • regression with recreating view" (1b40be47, closes #37)
    • null/undefined should not cause error (86f4a310, closes #35)
    • correctly update execution context (e0d11cd6)
    • regression with missing items changed handler (1b17a858)
    • provide index not key to updateExecutionContext (3f026d70)
    • error when items are undefined (11809714)
  • replaceable: template replacement timing (d45b4085)
  • sanitize-html:
  • selected-item: remove selected-item behavior (ef130a76)
  • show:
    • use animator for class manipulation (019a2062)
    • enable the show attribute to work inside shadow DOM (81918c13)
    • use bind hook to handle undefined values (09f5d59f)
    • css not inside (d98e9a40)
    • Make sure this hide overrides everything (e7a06176)
    • Add type to the node as well (f29153b0)
    • append aurelia-hide style to head (0258d0df)
    • switch over to using a class instead of style manipulation (f63e023d)
  • spec: update executionContext to bindingContext (d207dd22)
  • view-spy: change behavior of value-less attr to only log created (be5b9f61)

Features

  • all:
    • update to latest view resource pipeline; fix linting errors (fa6b9fde)
    • integrate pal (8a3098da)
    • auto create elements from an html file; inject css into head or shadow dom (44693a28)
    • add focus attached behavior (ecd300ae)
    • update to work with latest decorators (1c35b506)
    • update to decorators (3e4a3fa8)
    • update to use new fluent metadata (90af3e51)
  • build: update compile, switch to register modules, switch to core-js (a7fe36c9)
  • compose:
  • debugging: add compile-spy and view-spy (dc7e2732)
  • docs:
  • focus: set two-way as default binding mode (96ef5d43)
  • global-behavior:
    • improve handler flexibility (500633f8)
    • flexible handlers with jQuery built-in (298c1aeb)
    • enable automatic jQuery plugin support (4633b7d0)
  • if: use the view factory caching info (71ec71fc)
  • repeat:
  • replaceable: add the replaceable attribute for use with replaceable parts (a5a17bc6)
  • resources: enable plugin model (c78cae82)
  • selected-item: use default two-way binding now (f0316e3f)
  • templating-resources:
    • add defaultSanitizer method to inner-html (9353b477)
    • add innerHTML attached behavior (f6e28fe1)
  • with: Add WIP with binding (b8de3ec4)

Breaking Changes

  • To change html sanitization, you now register a custom
    HTMLSanitizer in the DI container to override the default
    implementation. Also, the value converter name for the sanitizer
    converter has changed to sanitizeHTML. This creates a case consistency
    among classes.

    (59fe7a80)