From b7406495cfb7f01446c62a78bad11de5aa079759 Mon Sep 17 00:00:00 2001 From: Kate Jeffreys Date: Thu, 6 Oct 2016 14:07:15 -0700 Subject: [PATCH 1/3] New branch for blog post --- app/1.0/blog/2016-10-03-1.7-release.md | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app/1.0/blog/2016-10-03-1.7-release.md diff --git a/app/1.0/blog/2016-10-03-1.7-release.md b/app/1.0/blog/2016-10-03-1.7-release.md new file mode 100644 index 0000000000..8313c8ed8b --- /dev/null +++ b/app/1.0/blog/2016-10-03-1.7-release.md @@ -0,0 +1,29 @@ +--- +title: "1.7 Release" + +--- +_We announce significant releases here on the blog, highlighting the major new features as well as breaking changes. As always, we'd love to get your feedback, issues, and PR's, so tweet us [@polymer](https://twitter.com/polymer) or contribute to the [Github](https://github.com/Polymer)._ + +The primary goal of the upcoming Polymer 2.0 release is to take advantage of native, cross-browser support for Web Components. With this in mind, we're pleased to release Polymer 1.7, which introduces features allowing you to use 2.0-compatible syntax in 1.x elements. + +## Polymer 1.7 + +Polymer 1.7.0 provides forward compatibility features that let you build elements that run under both 1.0 and 2.0. + +While you can use these features now, the team intends to release a tool to help automate these changes. If you have a large project, you might want to wait for the migration tool to be available. + +The new syntax is not required for current Polymer 1.x elements, but using the new syntax will make it easier to port elements to 2.0, which requires it. + +### `` element + +Elements can opt-in to using the new `` element and `::slotted()` CSS selector from shadow DOM v1. + +These replace the `` element and `::content` selector in shadow DOM v0. The v1 API is somewhat more restrictive, so you should read up on the details before making changes. + +### `html` selector in `