类似 AngularJS 的 JS 框架,Aurelia 0.17.0 发布

jopen 9年前

Aurelia 是下一代的 JavaScript 客户端框架,利用一些简单便利的措施来加强你的创造力。

特性:

  • 前瞻性:采用 ES6 和 ES7 编写,集成很多 Web 组件,无外部依赖

  • 先进的架构

  • 双路数据绑定

  • 可扩展 HTML

  • 路由和 UI 组件

  • MV* 模式

  • 支持多种语言:ES 6&7、TypeScript、CoffeeScript 等

  • 可测试

Aurelia 0.17.0 发布,此版本更新内容如下:

Bug 修复

  • all:

    • create a property framework configuration object (bab4c776)

    • update compiler and metadata plugin (50e3afe0)

    • load resources by module id only (655192b2)

  • aurelia:

    • switch window loader check to platform loader check (471d8c51)

    • enable multiple calls to setRoot (10708cae)

    • update to use ViewResources instead of ResourceRegistry (f458a193)

    • throw a descriptive error when globalizeResources is called with non-strings (09038c83)

    • update to use latest animator default config api (5dea25b5)

    • update to use new view engine (e6d20c42)

    • update to load global resources through new resource pipeline (bdbca554)

    • global resources left out (4bb098a3)

    • custom event undefined in local scope (c3594bf9)

    • ensure plugin resources are loaded first (bffcd614)

    • ensure all start code paths return a promise (02752512)

    • load groups of resources in order (2d936e5f)

    • directly use app container to create root view model (d86665b3)

    • remove dependency on event aggregator (424fa2bf)

    • plugin loading module id fix (ba79cb93)

  • build:

    • update linting, testing and tools (ed65edc6)

    • add missing bower bump (111797ae)

  • dts: update promise-based apis (94548514)

  • framework: Use correct import for core-js (da0756fd)

  • framework-configuration:

    • add public properties (a5b32853, closes #199)

    • parameter config in feature and plugin method is optional (b07c4817)

    • improve standardConfiguration (c91ea2b9)

    • correct type information (f1fc9987)

  • index: ensure export of path module api (17cf46cd)

  • package:

    • change jspm directories (37f2670b)

    • update dependencies (79feec43)

    • update deps and fix bower semver ranges (3f05b27e)

    • update dependencies (b52b1b05)

    • update Aurelia dependencies (f9df6e55)

    • update dependencies to latest (bfcd292e)

    • update templating to latest version (63d4c5f6)

    • update templating to latest version (5d1305e6)

    • update templating to latest version (1e981956)

    • update dependencies to latest versions (12f0f9a8)

    • update dependencies to latest versions (5ca82ad1)

    • update dependencies to their latest versions (fe83ef37)

  • plugin:

    • add feature api and prepare for jspm beta (5f0b7cf3)

    • make api use configure like other apis in framework (cbfdaad7, closes #96)

  • plugins:

    • preserve built-in plugin load order (25a35297)

    • address changes in jspm/system.js beta (90afee4d)

    • removed unnecessary es5 helper support (710499a8)

    • set es5 computed properties correctly (f1b140d9)

    • enable relative path plugins (7cbe4d22)

    • language helpers should return this for chaining (d8817425)

    • install sequentially (cc78f9a0)

    • ensure plugin installation can only happen once (9b37c848)

    </ul>

    新特性

    • all:

      • incorporate pal (4bc75161)

      • update to new loader apis to remove global System (07bd2982)

    • aurelia:

      • initialize new templatingEngine api (e60e5163)

      • initialize the binding system (d6f569f7)

      • add preliminary enhance api (f970c65c)

      • configure host as root dom boundary (5a99ab02)

      • update to use composition host instruction value (bd456bc5)

      • take advantage of previously configured host (0c5bbcd7)

      • add parameter default to setRoot (f3955d22)

      • ensure animator implementation (e3ab3ab0)

      • raise DOM events for start and compose (feed2a3a)

      • enable splash screen swaps on load (c2135d41)

      • set root sets element in container and uses composition engine (9f6fa60d)

    • build:

      • add command line argument for semver bump. resolve #28 (39652c80)

      • update compiler and switch to register module format (63c5d367)

    • docs:

      • generate api.json from .d.ts file (38c06e2c)

      • generate api.json from .d.ts file (1e2af71b)

      • generate api.json from .d.ts file (a6960cbc)

    • framework:

      • prevent forms without [action] from submiting (a5805257)

      • enable plugin loading and config (f3b02ea9)

    • index: export all from pal (10ca62bb)

    • plugins:

      • better api by moving some bootstrapper code directly into aurelia (f76baf08)

      • remove AtScript support (f1adb01a)

      • update to use new metadata locator function (4b09490d)

      • support legacy atscript annotation location (37463681)

      • update atscript helper to use new metadata api (c9b4fb99)

      • enable loading after bootstrapped (790c9da2)

      • new plugin api including explicit support for es5 and at script (b5c588bc)

      • track plugin id for relative resource loading without system hack (3465e849)

      </ul>

      重大改进

      • If you were using ES5 and used the computed helper on
        function, this will affect you as that is no longer present.

        (710499a8)

      下载:https://github.com/aurelia/framework/archive/0.17.0.zip