Skip to content

v2.0.0

Compare
Choose a tag to compare
@arianics arianics released this 30 Apr 19:36
· 248 commits to master since this release

[2.0.0] - 2019-04-30

[Added]

  • @aofl/cli - source will remove the added submodule if an error occurs.
  • @aofl/templating-plugin - added support for @linktag
  • @aofl/cli - build command
  • @aofl/cli - test command
  • @aofl/cli - serve command
  • @aofl/cli - source --list option added
  • @aofl/templating-plugin - eslint-disable routes-config-loader
  • @aofl/webcomponent-css-loader - added cache option
  • @aofl/webcomponent-css-loader - added whitelist option
  • @aofl/store - auto generates setter mutations based on init() mutation
  • @aofl/dom-scope - added README.md
  • @aofl/dom-scope - added cache option
  • @aofl/dom-scope - added schema utils validation
  • @aofl/i18n-loader - added cache option
  • @aofl/i18n-auto-id-loader - added cache option
  • @aofl/component-utils - traverseParents() takes a callback function and traverses ancestors of the provided node.
  • @aofl/component-utils - findParentByAttribute() utilizes traverseParents and looks for a specific parent containing a set of attributes.
  • eslint-config-aofl
  • @aofl/router - Added an additional parameter "meta" to router.navigate() method that gets added to the request object.
  • @aofl/cli - upgrade command
  • @aofl/webcomponents/aofl-element - export render from lit-html
  • @aofl/templating-plugin - added prerender options
  • docsify for v2
  • benchmark results

[Changed]

  • Updated lit-element to 2.1.0
  • Updated lit-html to 1.0.0
  • Replaced babel-instrumenter-loader with babel-plugin-istanbul.
  • @aofl/router - match-route-middleware caches the response after matching the route instead of the route.
  • @aofl/web-components/aofl-element export an object containing AoflElement and all lit-element exports
  • @aofl/web-components/aofl-element uses css`` to render styles
  • Updated all references to AoflElement to reflect updated module export
  • babel settings
  • @aofl/cli - generate component template updated to use decorators

[Deprecated]

[Removed]

  • @aofl/templating-plugin - prerenderTimeout

[Fixed]

  • Fixed bugs introduced by refactoring and linting
  • @aofl/router - fixed request from link
  • @aofl/web-components/aofl-img - Delay checkInViewport by a microtask to fix issue with images not loading when aofl-img is a child of another custom component.
  • @aofl/cache-manager - getCollection updates storedKeys before returning the collection in case it changed within the context of another document.
  • @aofl/cache-manager - limit expire to max 32bit signed integer
  • @aofl/cli - Npm.installDependency force option fixed.
  • @aofl/templating - fixed issue with meta tags getting injected into body due to invalid aoflTemplate string in head. The plugin will accept template replace keys wrapped in template tags.
  • @aofl/rotations - changed window.aofljsConfig.prerender reference
  • @aofl/cli/build - uses watchOptions in webpack config

[Security]