polymer 0.12.0
polymer: ^0.12.0 copied to clipboard
Polymer.dart is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.
changelog #
This file contains highlights of what changes on each version of the polymer package. We will also note important changes to the polyfill packages (observe, web_components, and template_binding) if they impact polymer.
Pub version 0.12.0
- Updated to match polymer 0.3.4 (polymer-dev#6ad2d61), this
includes the following changes:
- added @ComputedProperty
- @published can now be written using the readValue/writeValue helper methods to match the same timing semantics as Javscript properties.
- underlying packages are also updated. Some noticeable changes are:
- observe: path-observers syntax is slightly different
- polymer_expressions: updating the value of an expression will issue a notification.
- template_binding: better NodeBind interop support (for two-way bindings with JS polymer elements).
- Several fixes for CSP, including a cherry-pick from polymer.js commit#3b690ad.
- Fix for 17596
- Fix for 19770
Pub version 0.11.0+5
- fixes web_components version in dependencies
Pub version 0.11.0+4
- workaround for bug 19653
Pub version 0.11.0+3
- update readme
Pub version 0.11.0+2
- bug fix: event listeners were not in the dirty-checking zone
- bug fix: dispatch event in auto-binding
Pub version 0.11.0+1
- Added a workaround for bug in HTML imports (issue 19650).
Pub version 0.11.0
- breaking change: platform.js and dart_support.js must be specified in
your entry points at the beginning of
<head>. - breaking change: polymer.html is not required in entrypoints, but it is
required from files that use
<polymer-element>. - breaking change: enteredView/leftView were renamed to attached/detached. The old lifecycle methods will not be invoked.
- breaking change: Event bindings with
@are no longer supported. - breaking change:
@publishedby default is no longer reflected as an attribute by default. This might break if you try to use the attribute in places like CSS selectors. To make it reflected back to an attribute use@PublishedProperty(reflect: true).
Pub version 0.10.1
- Reduce the analyzer work by mocking a small subset of the core libraries.
Pub version 0.10.0+1
- Better error message on failures in pub-serve/pub-build when pubspec.yaml is missing or has a wrong configuration for the polymer transformers.
Pub version 0.10.0
- Interop with polymer-js elements now works.
- Polymer polyfills are now consolidated in package:web_components, which is identical to platform.js from http://polymer-project.org.
- The output of pub-build no longer uses mirrors. We replace all uses of mirrors with code generation.
- breaking change: Declaring a polymer app requires an extra import to
<link rel="import" href="packages/polymer/polymer.html"> - breaking change: "noscript" polymer-elements are created by polymer.js, and therefore cannot be extended (subtyped) in Dart. They can still be used by Dart elements or applications, however.
- New feature:
@ObserveProperty('foo bar.baz') myMethod() {...}will cause myMethod to be called when "foo" or "bar.baz" changes. - Updated for 0.10.0-dev package:observe and package:template_binding changes.
- breaking change: @initMethod and @CustomTag are only supported on public classes/methods.
Pub version 0.9.5
- Improvements on how to handle cross-package HTML imports.
Pub version 0.9.4
- Removes unused dependency on csslib.
Pub version 0.9.3+3
- Removes workaround now that mirrors implement a missing feature. Requires SDK >= 1.1.0-dev.5.0.
Pub version 0.9.3+2
- Fix rare canonicalization bug 15694
Pub version 0.9.3+1
- Fix type error in runner.dart 15649.
Pub version 0.9.3
- pub-build now runs the linter automatically
Pub version 0.9.2+4
- fix linter on SVG and MathML tags with XML namespaces
Pub version 0.9.2+3
Pub version 0.9.2+2
- fix enteredView in dart2js, by using custom_element >= 0.9.1+1