Skip to content

aurelia-templating v0.16.0

Choose a tag to compare

@EisenbergEffect EisenbergEffect released this 13 Oct 08:18
· 493 commits to master since this release

0.16.0 (2015-10-13)

Bug Fixes

  • BindableProperty:
  • ChildObserverBinder: remove dup target assign (cb2f343a)
  • CompositionEngine: fix UseViewStrategy import (5d2cd5c4)
  • Decorators: add missing parameter target (7ccd5cee)
  • ElementConfigResource: return promise in load (89b52cb1)
  • HtmlBehaviorResource: missing declaration in compile method (6f43d688)
  • View: plug memory leak (f4c0e9bf)
  • ViewCompiler:
    • clear class attributes containing interpolation expressions (92aa047b, closes #99)
    • handle undefined instruction attributes (0f6761b8)
    • handle adjacent text nodes (a6db7f30)
  • all:
    • update to new metadata/decorators casing change for consistency (a57aa890)
    • rename executionContext to bindingContext (9f5437bf)
    • correct some types (4ed12313)
    • cleanup and improving api (9cb96ff8)
    • code cleanup and api stabilization work (c0220a8d)
    • improve several d.ts definitions with better type info (51cad257, closes #132)
    • use new metadata api (b5ff3fe0)
    • update compiler and improve core-js integration (b43caf77)
    • bugs related to new behavior and decorator implementation (65b7abde)
    • improve metadata dsl (0ce71d74)
    • update to work with new metadata api (8cc938a7)
    • rename Filter to ValueConverter (f0963214)
  • anim:
  • animator:
    • should be able to add/remove css classes (7d220859)
    • remove unused code from interface (986267f6)
  • behavior:
    • not all attached/detached were cascaded (31702e14, closes #35)
    • removed behavior base class (2121d137)
  • behavior-instance:
    • update to semi private api usage based on change in binding (fffba93f)
    • classic loop, function var bug (359749a4)
  • bindable:
    • bindable cannot be undefined (d3e990be)
    • errors related to property definition (9d26ad1d)
    • problem with options object when place on a prop initializer (8d23f132)
  • bindable-property:
    • publish custom getObserver on getter (78238520)
    • use in operator to check for prop definition (13bac7b9)
    • set default if not undefined (98e479ad)
    • ensure changeHandler is always defined, but null by default (6de4f87e)
    • regression in dynamic options for custom attributes (7debc4b0)
    • incorrect property names in ctor (6c55c587)
    • remove invalid reference (b5d2faee)
  • build:
    • ViewEngine depends on ModuleAnalyzer (8cdfd0e5)
    • update linting, testing and tools (6ab627dc)
    • missed adding new file (121ca640)
    • add missing bower bump (4484ea7f)
  • children:
    • delay change handler check for child sync (e56f0350)
    • child sync can now decorate a property (745c7c00)
  • composition-engine:
    • missed required compilation instruction in view only branch (c3784f0a)
    • ensure analysis of existing vm instances (a6803f62)
    • fix syntax error (f87668da)
    • ensure that bind callbacks execute (74048922)
    • more consistent api (ab419d1a)
    • do not require view resources (82bbbdad)
  • content-selector: remove undefined variable (6450a816, closes #48)
  • decorators:
    • remove deprecated skipContentProcessing decorator (aa8879bf)
    • property defaultBindingMode in customAttribute decorator is optional (11556537)
    • throw on invalid behavior resource names (b9c4a527)
    • typo in bindable caused incorrect metadata define (9f683df7)
    • resolve issue with initializer targeted bindable decorator (41819464)
    • more robust implementations to handle user variance (c5fb9ef9)
    • parameterless decorators should not return a function (b3cb56e1)
  • dom:
    • return firstElementChild from parsed template markup (ea230c84)
    • string parsing of views now requires a template tag (45113364)
  • html-behavior:
    • remove double compile of template parts (49a5ad79)
    • do not override DOMBoundary for containerless elements (d3c2ba4e)
    • enable recursive elements when loaded by router first (e82f44ce)
    • add htmlName to element with behavior instance reference (6e224d78)
    • custom attrs with one property that is not value should be options (8486dc45)
    • add missing parameter to compile method (c51fe1ee)
    • incorrect bindable property args (df58e653)
    • bad dynamic options ref (d0b122f7)
    • incorrect property reference (5d66373d)
    • remove invalid reference (3b02673c)
  • html-bheavior: incorrect identification of options attributes (ebef7461)
  • module-analyzer: correct some promise types in the d.ts (d025abf0)
  • naming: fixes naming issues (2b5c1adb)
  • package:
    • change jspm directories (9ef08cfd)
    • update dependencies (4a3489f9)
    • update deps and fix bower semver ranges (5ead6b7f)
    • update dependencies (b9a0f1e9)
    • update Aurelia dependencies (c78936bf)
    • update path to the latest version (a173b15c)
    • updated dependencies to latest versions (cdcfd6dd)
    • update dependencies to latest (c5ba425c)
    • update dependencies to latest versions (6d3a3b96)
    • add missing polyfills (bd751f7c)
  • property:
    • correct if/else branch for dynamic notifications (9f79cbb0)
    • prevent errors with property meta on composed view models (0c9ef978)
    • ensure default binding mode is set (e507251e)
  • resource coordinator: fix error when returning function from amd module (21d6cb0d)
  • resource-coordinator:
    • regression in local auto-imports (8ec09095)
    • do not cache dynamic view models (a29f2bc2)
    • incorrectly setting analyzed module ids (7fa47357)
  • resource-coorindator: return full info for view model load (78d1b875)
  • resource-registry: symbol was not correctly exported (bb395edf)
  • resources: enable early name analysis of resources (331fcfd1)
  • templating:
    • Use correct import for core-js We were previously using `import core from core-j (29e4a62b)
    • update to new bindingMode API (95192b2f)
  • useShadowDOM: set correct property on behavior (a2cd7ac8, closes #62)
  • useshadowdom-noview: Create an empty shadow root when @noview is used (66775dda)
  • view:
    • first and last child should not be undefined (43c076c5)
    • process bindings before behavior binds (4e26198b)
  • view-compiler:
    • properly handle content process skip (014185ed)
    • missed update to content projection with new instruction lookup (589c9d7e)
    • account for web components that alter the DOM structure during creation (af5584b4, closes #90)
    • template elements with template controllers work again (71c67c21, closes #133)
    • remove interpolated expression attrs (b86c6d41)
    • elements with skipped content should not be traversed (56b585f9)
    • correctly map renamed attached behaviors at app level (47f9e2f9)
    • instruction target null class fixed (655a8938)
  • view-engine:
    • proxy factories missing cache api (3670d255)
    • pass correct view address to resources (ebf99415)
    • correct the view registry entry debug output (7aff2289)
    • api cleanup (a203455a)
    • handle circular references between views (5e023a59)
    • address async loading issues and double loading (ce82ab1f)
    • remove module elements from templates (149e8a8c)
    • incorrect array access in resource loading (1cbca7f2)
    • double check existing on async load (e257198b)
    • update to use path.relativeToFile (fa05b092)
    • rename dx-import to import (fd3ddaf9)
  • view-factory:
    • accidental recursion in isCaching property (ed88333b, closes #168)
    • additional guards on cache returns (e7307893)
    • always merge classes from surrogate (e0e00c06, closes #147)
    • cleanup and standardizing api for view creation (1258f476)
    • unnecessary dom boundaries removed (77452a17)
    • overwriting part replacments in template controllers (1c2420dd, closes #120)
    • solve IE bug related to anchors (7764774c)
    • properly merge element attr overrides with surrogate values (0ba7c904)
    • template anchors converted to comment anchors (2079480a)
    • incorrect loop variable name (1e1dbff6)
  • view-resources: switch to PLATFORM.noop from Metadata (221e1fb3)
  • view-slot:
    • check index before removing (8486417b)
    • out of bounds on array for content selector remove all (eb345050, closes #136)
    • use animations on all slot modifications and properly return promises (e28d776e)
    • add fallback for missing nextElementSibling (7ae88b6f)
    • Safari and IE are not spec compliant perhaps (bc1ff2ba)
    • improve null checks and array access (af290c1f)
    • add firstChild null checks (d260bdb9, closes #34)
    • add firstChild null checks (a49411dd, closes #34)
    • correct null check against nextElementSibling (9162eeb6)
    • transformChildNodesIntoView broken with animation (03b94433)
    • prepare for animator implementation (f922a86f)
  • view-strategy:
    • incorrect variable reference (3231c77b)
    • incorrect variable (7ef25428)
    • address changes in jspm/system.js beta (ac24d3b6)
    • typo in view strategy normalization (831489ee, closes #54)
    • typo from rename (c7cc8617)
    • dynamic strategy hook results should be relative to view-model (ae6cf40c)
  • views: enhance view engine hook inputs (02606f53)

Features

  • Behaviour: make UK devs jump for joy (b5cc76c4, closes #18)
  • ViewResources: enable DI of ViewResources (f5b37e10)
  • all:
    • new templatingEngine object with createModelForUnitTest helper (74102905)
    • solidify view resource pipeline (953829c6)
    • rename BehaviorInstance to Controller (fa187a9c)
    • integrate pal and lint source (ba9e6e22)
    • enable view-cache size configuration in html (01ed43f3)
    • new extensible view engine pipeline (82af961f)
    • new API for testing HTML behaviors (f28ea278)
    • containerless custom elements (710e5b38)
    • support template part replacement (1d9ba1c0, closes #70)
    • switch to new es7 metadata api (bbe21bbe)
    • new decorator and behavior model (7c7bc578)
    • update to new fluid metadata api and add helpers (e6893eb9)
    • behavior props now defined on prototype (305054b4)
  • anim:
  • animator:
    • add extra animator methods (3ad6e884)
    • add mechanism for default animator configuration (eb792bb1)
  • behaviors: expose public api for behaviors on element (fc002606, closes #10)
  • bindable-property: all behaviors now support propertyChanged (c1138e51)
  • bindableProperty: enable decorator to work with ES7 property initializers (773c5eed)
  • build: update compile, switch to register modules, switch to core-js format (a2b2e63f)
  • children: enable multiple @sync properties on a behavior (c549ff86)
  • composition-engine:
    • enable view caching (69c25b84)
    • encapsulate dynamic composition logic in a service (51638f65)
  • custom-element:
    • add beforeCompile hook (a7d34b51, closes #9)
    • add metadata for skipping for content processing (1fa4ca9b, closes #4)
  • customAttribute: enable defaultBindingMode for customAttribute (91e503f7)
  • decorators:
    • warn on deprecated skipContentProcessing decorator (27822488)
    • rename bindableProperty to bindable (b3f8a3b9)
  • docs:
    • generate api.json from .d.ts file (10c2e258)
    • generate api.json from .d.ts file (65eb1b33)
  • dom: check markup for wrapper (18b577e8)
  • html-behavior:
    • enable extensible content processing (aa6c2d62)
    • introduce dom boundary for better shadow dom support (74d06240)
    • enable syncChildren on composed views (ea15104e, closes #68)
  • index: create alias Behavior for Metadata (96bcb7bf)
  • property:
    • add fluent api helper method for options property properties (597426b0)
    • infrastructure for dynamic commands and options properties (eb54b5f9)
    • default binding modes for aurelia properties (769882db, closes #1)
    • add options property (b8627249)
    • add load responsibility from behavior (f8790e42)
  • resource-coordinator: enable load resources relative to a manifest file (98a5f01b)
  • resources:
    • new, simplified and improved resource pipeline processing (e6207812)
    • leverage new template loader api (ee6fea9d)
  • view: indicate if a view originates from the cache (31bc37bc)
  • view-compiler:
    • working on cleanup of api (5654d1a1)
    • enable per-view binding languages (e5e957d1)
    • enable surrogate behaviors, bindings and attributes (a1fcdffb, closes #61)
    • support compiling of strings (deb23a83, closes #37)
    • update to new binding language interface (8fb4f7ca)
  • view-engine:
    • preliminary support for element enhancement (e8078686)
    • merge in and simplify resource coordinator (a836fde9)
    • new import syntax (3e761e77)
    • enable resource renaming (83683d92)
  • view-factory:
    • more efficient provider container registration (d3c0ed6e)
    • add some cache related data properties (10cdc2f7)
    • add basic view caching capability to the factory (c8cfa9b0)
    • enable injection of TargetInstruction (961604ab)
    • enable replacement parts to flow through to child templates (3261af3b)
  • view-resources:
    • remove ResourceRegistry and simplify class hierarchy (bcba0896)
    • auto-import own local resources (9f770029)
  • view-slot:
    • enable remove with skip animation (fa36e315)
    • add infrastructure for app splash screens (8a9b6062)
  • view-strategy:
    • @inlineView and InlineViewStrategy implemented (bc464a42)
    • enable exported view strategy and registry to be used for view models (03790f85, closes #13)
    • allow strategies to be made relative via compose (53f25495)
  • Breaking Changes

    • The view resource pipeline hook "analyze" has been
      renamed to "initialize".

      (953829c6)