Detalhes do pacote

aurelia-templating

aurelia48.7kMIT1.11.1

An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.

aurelia, templating, html, custom element

readme (leia-me)

Aurelia

License: MIT npm Version ci Discourse status Twitter Discord Chat

aurelia-templating

This library is part of the Aurelia platform and contains an extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions look around our Discourse forums, chat in our community on Discord or use stack overflow. Documentation can be found in our developer hub.

Platform Support

This library can be used in the browser only.

Building The Code

To build the code, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:

    npm install
    
  3. To build the code, you can now run:

    npm run build
    
  4. You will find the compiled code in the dist folder, available in three module formats: AMD, CommonJS and ES6.

Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

  1. You can now run the tests with this command:

    npm run test
    

    You can optionally run either of the following:

    npm run test:watch
    # OR
    npm run test:debugger
    

    to have better development experience, with watch/debuging capabilities

changelog (log de mudanças)

1.11.1 (2022-03-31)

1.11.0 (2022-03-31)

Bug Fixes

1.10.5 (2020-06-12)

Bug Fixes

  • all: change es2015 back to native-modules (ea50719)
  • ElementEvents: ElementEvents.defaultListenerOptions allows to set default options when subscribing to events (f7e8e32), closes #657
  • shadow-dom: prevent slot leak (#678) (9241dca)

1.10.4 (2020-05-18)

Bug Fixes

  • all: change es2015 back to native-modules (ea50719)
  • ElementEvents: ElementEvents.defaultListenerOptions allows to set default options when subscribing to events (f7e8e32), closes #657
  • shadow-dom: prevent slot leak (#678) (9241dca)

1.10.3 (2020-01-24)

Bug Fixes

  • all: change es2015 back to native-modules (ea50719)
  • ElementEvents: ElementEvents.defaultListenerOptions allows to set default options when subscribing to events (f7e8e32), closes #657
  • shadow-dom: prevent slot leak (#678) (9241dca)

1.10.2 (2019-03-19)

Bug Fixes

  • all: change es2015 back to native-modules (ea50719)
  • ElementEvents: ElementEvents.defaultListenerOptions allows to set default options when subscribing to events (f7e8e32), closes #657

1.10.1 (2018-10-30)

Bug Fixes

1.10.0 (2018-09-30)

Bug Fixes

  • <let/>: enable backward compat, fix doc (90684ed)
  • Let: respect DOM order (dd4ff67)
  • test: remove old implementation fix in test (88cf718)
  • typings: fix let expression typings (a756dfe)

Features

  • Let: let element for computed property declaration (b898ef7)

1.9.0 (2018-09-25)

Bug Fixes

  • StaticViewStrategy: check for null template before compiling (37d23ea)
  • StaticViewStrategy: use DOM.Element instead of HTMLTemplateElement (f9fb639)

1.8.3 (2018-09-07)

Bug Fixes

  • StaticViewStrategy: set formal ".moduleId" (86ea2fd)

1.8.2 (2018-07-17)

Bug Fixes

  • composition-engine: align class and moduleId behaviour (31aa677)
  • CompositionEngine: ensure bind() after finishing composition (55a09dc)

1.8.0-rc.1 (2018-06-20)

Bug Fixes

  • BehaviorPropertyObserver: use Object.is() for comparison (bf8ec9a)
  • child-observation: unset property in unbind (7989015)
  • ShadowDOM: unbind view when remove (b4abe6e)
  • StaticViewStrategy: adjust interface for doc (65aef43)
  • view-slot: fix return type (66a86de)

Features

  • CompositionEngine: compose accepts view model constructor (524dee4)
  • decorators: add decorators for view / resource config (2af6b28)
  • resource: aurelialess aurelia (e7da973)
  • resources: interop with custom element / attribute decorators (e06668e)

1.7.0 (2017-12-20)

Bug Fixes

  • view-compiler: use attribute name (5a2276c), closes #575

1.6.0 (2017-10-16)

Bug Fixes

  • view-engine: define metadata for SlotCustomAttribute (e3474bb), closes #566
  • view-engine: singleton instance of auSlotBehavior (c08db20)

Features

  • html-behavior: enable processContent via custom attributes (7096e66)

1.5.0 (2017-10-02)

Bug Fixes

  • primaryProperty: infinite recursion when used with template controller (5b5ed56)
  • view-engine: use .address in case of RegistryEntry (ab1064c)

Features

  • html-behavior: Allow inheritance of bindable properties for custom elements (1209aa6)

Performance Improvements

  • view-engine: simplify entry url acquisition (f57cff9)

1.4.1 (2017-04-05)

  • Documentation update.

1.4.0 (2017-03-25)

Bug Fixes

  • aliases: add missing filters and test (5ac9981)
  • aliases: filter aliases (d00a7d0)
  • aliases: move to html-behavior (b659b22)
  • aliases: place aliases on metadata (24201fd)
  • html-behavior: remove extraneous filter (4536135)
  • templating-engine: enhanced views should attach (5793d9c)

Features

  • alias: process aliases for custom attributes (7af0b42)
  • decorators: customAttribute accepts aliases (e03c929)

1.3.0 (2017-02-26)

Bug Fixes

  • child-observation: make property descriptor configurable (7f07ffb), closes #520
  • swap: fix missing return result/controller statement (e464663)
  • swap-strategies: correct parameter name on with method (bb6e09d)
  • view-slot: check for undefined child (47a04a7)
  • view-slot: eliminate double lookup (8639ad5)
  • ViewCompiler: use primary prop's default binding mode (3a350e8)

Features

  • swapOrder: add swaporder property for concurrent enter/leave transitions (6a77043)

1.2.0 (2017-01-08)

Bug Fixes

  • Add return to hasAttribute and getAttribute (1f8bb3a)
  • composition-engine: add "host" to CompositionContext (b9d927c)

Features

Performance

  • view-factory: Avoid creating anonymous function for each containerless anchor.

1.1.4 (2016-12-03)

Bug Fixes

  • view-compiler: account for undefined element instruction (d1d1fe4), closes #503

1.1.3 (2016-12-03)

Bug Fixes

  • view-compiler: proper anchoring for containerless elements inside of a template controller (0f12514)

Performance Improvements

  • view-compiler: remove unnecessary assignment (ddde119)

1.1.1 (2016-09-29)

Bug Fixes

1.1.0 (2016-09-07)

Features

  • controller: expose container (8af0372)

1.0.1 (2016-08-26)

1.0.0 (2016-07-27)

Features

  • interfaces.js: add Component lifecycle interfaces (3da0b9f)

1.0.0-rc.1.0.3 (2016-07-25)

Bug Fixes

  • html-behavior: pass target to the underlying viewStrategy (4764f4a)

Features

  • NoViewStrategy: allow NoViewStrategy to have dependencies (3be08fc)
  • view-engine: add a decorator for declaring requires on the ViewModel (17472d4)

1.0.0-rc.1.0.2 (2016-07-24)

Bug Fixes

  • view-locator: check 'origin.moduleId' instead of 'origin' (9a4f587)

1.0.0-rc.1.0.1 (2016-07-12)

Bug Fixes

  • double-uid: (#412) (37d282d)
  • module-analyzer: address circular refs in non-globals (78cd3d3), closes #350
  • view-factory: handle instructions directly on enhanced element (b6630a9), closes #318

Features

  • decorators: log exception in process attributes and process content (a15773f), closes #330
  • view: add more typing info (1221383), closes #370

1.0.0-rc.1.0.0 (2016-06-22)

1.0.0-beta.3.0.6 (2016-06-19)

Bug Fixes

  • shadow-dom: handle elements with no content (aecc83a), closes #388

1.0.0-beta.2.0.1 (2016-05-31)

Features

  • view-resources: enable arbitrary named value resolution (4f85ecf9)

1.0.0-beta.2.0.0 (2016-05-23)

  • Shadow DOM v1 Slots Implementation
  • TemplatingEngine test methods removes. They are replaced by the new templating library.

1.0.0-beta.1.2.7 (2016-05-12)

1.0.0-beta.1.2.6 (2016-05-10)

1.0.0-beta.1.2.5 (2016-05-05)

Features

  • view-compiler: add element to processAttributes (d753e672)

1.0.0-beta.1.2.4 (2016-05-03)

1.0.0-beta.1.2.3 (2016-04-29)

Bug Fixes

  • templating-engine: allow for overrideContext in enhance (49c99edf)

Features

  • ViewSlot:
    • allow removal of many views at once to avoid a race condition (4b1005b9)
    • moving Views across the slot (02e59ef1)
  • view: reference creator container (9431f536)

1.0.0-beta.1.2.2 (2016-04-13)

Bug Fixes

  • module-analyzer: ensure correct cache lookup (eefd4c69)
  • view-resources: ensure correct cache lookup (53b51902)

1.0.0-beta.1.2.1 (2016-03-29)

Bug Fixes

  • BindableProperty: enable specifying oneTime default binding mode (a557aade, closes #298)
  • View: preserve bindingContext while unbinding (ae6feed0)
  • view: incorrect input to dynamic binding (2069af08)

1.0.0-beta.1.2.0 (2016-03-22)

Bug Fixes

  • bindable-property: fix typo in comment (dfde78aa, closes #291)

Features

  • ViewSlot: save override context during binding for later eval (657ff3dc)
  • view: add new view pipeline hooks beforeBind and beforeUnbind (e39e052b)

1.0.0-beta.1.1.4 (2016-03-04)

Bug Fixes

  • composition-engine: complete composition work on null (02b8f3d9)

1.0.0-beta.1.1.3 (2016-03-04)

Bug Fixes

  • element-config: fix parameter name typo (000f0de3)

1.0.0-beta.1.1.2 (2016-03-01)

Bug Fixes

  • all: remove core-js (0e264f85)
  • bower: remove core-js (942c4b66)
  • composition-transaction: simplify (82f52aaa)
  • decorators: hyphenate behavior names with warning (473ca6af, closes #279)

Features

  • composition:
    • enable composition transaction use (b8e51df0)
    • introduce composition transaction (2f2e156f)

1.0.0-beta.1.1.1 (2016-02-08)

Features

  • html-behavior: add processAttributes for custom elements (f6c7d71f)
  • view-compiler: implement as-element (3ec30ee5, closes #305)
  • view-factory: enable injection and auto-unbind of ElementEvents (842014fd)

1.0.0-beta.1.1.0 (2016-01-29)

Bug Fixes

  • Controller: handle scope inheritance in template part with repeat Related to #244 (9a488c44)
  • controller: stop element from inheriting scope (a3ced53d)

Features

  • all: update jspm meta; core-js; aurelia-deps (bdff3232)

1.0.0-beta.1.0.3 (2016-01-08)

Bug Fixes

  • composition: properly handle the created callback during dynamic composition (9b61a681)

1.0.0-beta.1.0.2 (2015-12-16)

Bug Fixes

  • content-selector: incorrection projection in nested scenarios (2e248676, closes #231)

1.0.0-beta.1.0.1 (2015-12-03)

Bug Fixes

  • composition: bindable bug on composed instances (fea62558)
  • view-compiler: pass options info to binding lang (435d1a15, closes #73)

1.0.0-beta.1 (2015-11-16)

0.17.5 (2015-11-15)

Features

  • controller: pass not only the owningView to the view-model, but the component's view as well (5ee79b74)

0.17.4 (2015-11-12)

Bug Fixes

  • child-observation: undefined selector and change handler (b3db0fdd, closes #207)

0.17.3 (2015-11-11)

Bug Fixes

  • CompositionEngine: flow overrideContext (ac02cb7d)

0.17.2 (2015-11-11)

Bug Fixes

  • child-observation: make decorators more TS friendly (7cf89017)
  • controller: expose some key properties for TS (20be68fa)
  • decorators: make TS happier (d02ac893)
  • view-resources: make more api public (97dc31cd)

0.17.1 (2015-11-10)

Bug Fixes

  • view-locator: bad reference to viewStrategy (cb72feda)

0.17.0 (2015-11-10)

Bug Fixes

  • CompositionEngine: use context.viewModel (07b6cc92)
  • all:
    • privitize the hyphenate utility (ed8968de)
    • better parameter order for resource load (dc7ce4f0)
    • linting, locking down apis, adding types and documenting (4e163164)
    • improve internal representations and fix bugs in static/dynamic views (7f970da1)
    • conflicts in user controlled views and automated controllers (49576015)
    • more consistent internal state for controller, view and view-slot (281edf4b)
    • update to latest template registry entry api (fa5ad967)
  • bind: overrideContext fixes (936bf482)
  • build: add view locator to build (404c984f)
  • child-observation:
    • bug in decorator and undefined value (be2044bd)
    • null reference when adding second child observer (b5fb1691)
  • controller:
    • make static vs. dynamic element binding order consistent (bd41b22d)
    • correct view override context binding (6a962e4a)
  • decorators: work with new decorators api (003b92c9)
  • html-behavior: child bindings always operate on the light dom element (2f2a13e7)
  • templating-engine:
    • rename createModelForUnitTest to createViewModelForUnitTest (070137e3)
    • make object into a class (65ef597c)
  • view-factory: update to latest container api (a34e7be7)
  • view-slot: remove unused swap and move (64160e35)

Features

  • all:
    • finish api lockdown and code docs (078bac07)
    • more docs and api cleanup (78018c83)
    • more docs and api refinement (f884cca3)
    • introduce ViewLocator; multiple breaking changes for view strategies (3f08759a)
    • update to new scope with override context (dbec9d3c)
    • decouple create vs. bind operations entirely (86902240)
    • work on templating engine facade (dce2aa2d)
  • binding-behaviors: add binding behavior resource (92f4d79b)
  • children: change sync to children decorator and add child (a561546d)
  • view: ensure that refs, child and children are available in the bind callback (09a9a335)

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

0.15.3 (2015-09-08)

Bug Fixes

  • view-engine: pass correct view address to resources (ebf99415)

0.15.2 (2015-09-08)

Bug Fixes

  • view-engine: correct the view registry entry debug output (7aff2289)

0.15.1 (2015-09-05)

Bug Fixes

  • view-factory: accidental recursion in isCaching property (ed88333b, closes #168)

0.15.0 (2015-09-04)

Bug Fixes

  • all: rename executionContext to bindingContext (9f5437bf)
  • bindable: bindable cannot be undefined (d3e990be)
  • build: update linting, testing and tools (6ab627dc)
  • decorators: property defaultBindingMode in customAttribute decorator is optional (11556537)
  • view-factory: additional guards on cache returns (e7307893)
  • views: enhance view engine hook inputs (02606f53)

Features

  • all:
    • enable view-cache size configuration in html (01ed43f3)
    • new extensible view engine pipeline (82af961f)
  • composition-engine: enable view caching (69c25b84)
  • docs:
    • generate api.json from .d.ts file (10c2e258)
    • generate api.json from .d.ts file (65eb1b33)
  • view: indicate if a view originates from the cache (31bc37bc)
  • view-factory:
    • add some cache related data properties (10cdc2f7)
    • add basic view caching capability to the factory (c8cfa9b0)
  • view-slot: enable remove with skip animation (fa36e315)

0.14.4 (2015-08-14)

Bug Fixes

  • composition-engine: missed required compilation instruction in view only branch (c3784f0a)

0.14.3 (2015-08-14)

Bug Fixes

  • view-factory: always merge classes from surrogate (e0e00c06, closes #147)

0.14.2 (2015-08-14)

Bug Fixes

  • dom: return firstElementChild from parsed template markup (ea230c84)

0.14.1 (2015-08-14)

Bug Fixes

0.14.0 (2015-08-14)

Bug Fixes

  • all:
    • cleanup and improving api (9cb96ff8)
    • code cleanup and api stabilization work (c0220a8d)
  • dom: string parsing of views now requires a template tag (45113364)
  • templating: Use correct import for core-js We were previously using `import core from core-j (29e4a62b)
  • view-engine: api cleanup (a203455a)
  • view-factory: cleanup and standardizing api for view creation (1258f476)

Features

  • view-compiler:
    • working on cleanup of api (5654d1a1)
    • enable per-view binding languages (e5e957d1)
  • view-factory: enable injection of TargetInstruction (961604ab)
  • view-resources: remove ResourceRegistry and simplify class hierarchy (bcba0896)

0.13.16 (2015-08-05)

Bug Fixes

  • html-behavior: remove double compile of template parts (49a5ad79)
  • view-factory: unnecessary dom boundaries removed (77452a17)
  • view-slot: out of bounds on array for content selector remove all (eb345050, closes #136)

Features

  • view-engine: preliminary support for element enhancement (e8078686)

0.13.15 (2015-07-30)

Bug Fixes

  • view-compiler: properly handle content process skip (014185ed)

0.13.14 (2015-07-30)

Bug Fixes

  • html-behavior: do not override DOMBoundary for containerless elements (d3c2ba4e)

0.13.13 (2015-07-29)

Bug Fixes

  • view-compiler: missed update to content projection with new instruction lookup (589c9d7e)

0.13.12 (2015-07-29)

Bug Fixes

  • view-compiler: account for web components that alter the DOM structure during creation (af5584b4, closes #90)
  • view-factory:
    • overwriting part replacments in template controllers (1c2420dd, closes #120)
    • solve IE bug related to anchors (7764774c)
  • view-slot: use animations on all slot modifications and properly return promises (e28d776e)

Features

  • decorators: warn on deprecated skipContentProcessing decorator (27822488)
  • html-behavior: