Releases: yeoman/generator-polymer
1.2.9
Generator Polymer v1.2.9 is now out. A full changelog is available for this release. Thanks to everyone that contributed! 😻
Highlights
- Added support for GitHub enterprise
- 🔒 Added support for https or ssh deploys to GitHub pages
- 💋 An element created with
yo polymer:el
will have test index.html beautified to preserve indentation. - 🚀
yo polymer app
now uses Polymer Starter Kit v1.2.2. See the PSK changelog for details. - 🌱
yo polymer:seed
now uses seed-element 1.0.7. See changelog for details.
1.0, Polymer Starter Kit support
Polymer Starter Kit
With this release the application scaffold produced by the generator is now based on Polymer Starter Kit. Major highlights include:
- Polymer 1.0, Paper and Iron elements
- Material Design layout
- Routing with Page.js
- Unit testing with Web Component Tester
- Offline-first setup through Service Worker elements
- End-to-end Build Tooling (including Vulcanize)
Seed Element
In addition, the yo polymer:seed
subgenerator has been updated to use the latest seed-element with automatic support for the updated iron-component-page
(example).
Breaking Changes
- Grunt support has been dropped. This is because the project now uses PSK as the starting point and PSK is currently Gulp only.
- SASS support has been dropped in favor of CSS custom properties. Read more about working with custom properties. Custom properties are new web standards which expand the capabilities of CSS and, most importantly, obviate the need for using
::shadow
and/deep/
to theme Web Components.
0.7.0, Gulping Goanna
This is a big release. Not unlike its namesake, the goanna!
As the name implies, this release adds much awaited Gulp support, as well as a few changes to bring it more inline with the Web Starter Kit project.
Features
- Added GulpJS support
- Replaced LiveReload with BrowserSync
- App template now generates a Material Design scaffold using
core-*
elements.
Bugfixes
- #115 test/index has seed-element-basic.html in loadSuites
- #95 HTML Minification - Ignoring {{route}}
Important breaking changes
- The
bower_components
directory has been moved outside theapp
folder. It's now in the project root directory. See this post for more info. - Testing is now done with
grunt|gulp test:local
andgrunt|gulp test:remote
.grunt|gulp test
andgrunt|gulp test:browser
have been removed - Removed option to use LibSass as it has issues compiling Shadow DOM CSS selectors
Changelog
- 823a8c8 - 0.7.0
- e34edf2 - Fix failing el test
- d214e48 - Upgrade wct in package.jsn
- 52cdbf5 - Fix path for subgenerated elements to polymer
- ea40d61 - Version up Polymer and wct
- 630abf3 - Upgrade to yeoman-generator v0.18
- 3b66fe0 - Make jshint happy
- 4f780a8 - Update testing info in readme
- b7ec3c2 - Make web-component-tester happy in Grunt and Gulp
- ae4e354 - Finalize browserSync changes
- cb05754 - Fix jshint. Closes GH-123
- fde4ef4 - Update .travis.yml
- fd95fbf - Validate element name, close GH-34
- 974e743 - wip browserSync support in grunt
- 6458a4d - Make grunt play nice with external bower_components
- afcda33 - Add element scaffolding - Make gulp deal with external bower components dir
- 4e52687 - Add note about elements.html
- a4aff65 - Add GulpJS support
- 05278fa - Added a command line option to ignore dev dependencies. Off by default.
- 2c8a0db - Added the ability to include devDependencies in GitHub Pages. Fixes #61
- 6a60474 - Remove unused code. Closes #129
- c0e9033 - Watch for changes to element JavaScript files
- 2026b52 Todd Baur - move bower components folder to root of generated project
0.6.0, Questing Quokka
It's been a while since the last release, but I'm happy to say that v0.6.0 is now ready, and with it comes a tuned up version of Polymer (v0.5.1), the new webcomponents.js
polyfills, and improved tests with web-component-tester. I'm so happy for this release, I named it after the happiest animal in the world: the Quokka
Important breaking change: The polymer:seed
sub generator will now create the directory for your new component, so you can run it from any components directory, instead of having to create the folder yourself. It will also check to make sure it's ok to bower install
from that location, so you don't accidentally spray files all over your desktop :)
Full details of the changes are below.
- cbbf515 - 0.6.0
- 831ac7d - Remove changelog.md. Refer to https://github.com/yeoman/generator-polymer/releases for changes
- 7244432 - Add links in readme to element subgenerator alias
- b0d5102 - Add yo polymer:element alias. Close Gh-87
- 7e1748a - Use web-component-tester for seed and improve the look of tests
- 3c2da2d - Use appname property as title for main page. Closes #66
- 00d0690 - platform.js => webcomponentsjs
- e7612ea - bump up Polymer/polymer-test-tools
- 28ce8dc - Bump to Polymer 0.5
- b7d68ef - Warn the user if they are attempting to generate a seed element in what appears to be an unsafe workspace.
- 47ec8b5 - BREAKING CHANGE: yo polymer:seed now requires an element-name argument.
- 57b1949 - Document CLI options and arguments for --help.
- 16559b9 - Basic jshint check in npm test
- e8323cb - Remove deprecated JSHint options.
- 722188b - Updates ncp version
- e014e2f - fixed indentation in previous commit.
- 49a931c - Change backslashes in link tag in elements.html
- d084a3b - Remove
use strict
in elements. Fixes #80
0.5.1, Temerarious Tapir
0.5.1 is a small but mighty release, not unlike it's namesake, the Tapir.
Mocha tests stubs have been added to the yo polymer
and yo polymer:seed
commands. We've also recorded a screencast to show off some of getting setup and some of the testing bits. Enjoy!
0.4.0, Curious Cassowary
Yay! 0.4.0 is ready for mass consumption :) We're calling this one Curious Cassowary
Lots of big things added in this version: SASS, PageSpeed Insights, and Autoprefixer. Elements are now created in their own directories, with separate CSS or SCSS files. And the yo polymer:el
task will now ask if you want to generate an external CSS or SCSS file (based on your initial setup) and ask if you would like to have your imports automatically included in elements.html
.
If you previously installed the pre-release version (0.4.0-1) you should be able to run npm install -g generator-polymer
to update.
- b52e7a6 Rob Dodson - 0.4.0
- 103fb25 Rob Dodson - Version up to latest deps
- 2b970c3 Rob Dodson - Add readme note about autoprefixer and external css
- ecd9cc4 Rob Dodson - 0.4.0-1 (pre-release)
- 0a4e393 Rob Dodson - Version up polymer dep
- a8f2a63 Rob Dodson - Still need concat for js
- b55520d Rob Dodson - Fixes #65, don't set newcap in jshint
- 6002fd5 Rob Dodson - Fixes #64. yo polymer:el creating wrong path
- b674c2b Rob Dodson - Add autoprefixer and fix minification tasks
- 4c6a5a5 Rob Dodson - Add PageSpeed Insights
- 6c361e1 Rob Dodson - Merge pull request #63 from wyze/bower_keywords, keywords should be array of strings
- 8d7b8dd Rob Dodson - add missing dep
- baad145 Rob Dodson - make import include optional
- c48c8fd Rob Dodson - make tests pass again
- 3db94c3 Rob Dodson - version up bower deps and consistent jshints
- 642dc3d Rob Dodson - SASS support
- 2ea36ab Rob Dodson - Update _bower.json
- 4a3f479 Rob Dodson - Version up ncp and yosay to latest
- 2b5c9df Rob Dodson - Add fancy badges
- 3074cc8 Rob Dodson - Consistent strict behavior with IIFEs
- a21a7ef Rob Dodson - Add globals to jshintrc
- 57d739a Rob Dodson - Remove no-js class
- 8e1674d Rob Dodson - jshintrc should use 2 spaces
0.4.0-1, SASS, PageSpeed, Autoprefixer
Lots of big things added in this version: SASS, PageSpeed Insights, and Autoprefixer. Elements are now created in their own directories, with separate CSS or SCSS files. And the yo polymer:el
task will now ask if you want to generate an external CSS or SCSS file (based on your initial setup) and ask if you would like to have your imports automatically included in elements.html
.
Give the pre-release a spin and let us know if there are any outstanding issues. Thanks!
- ecd9cc4 Rob Dodson - 0.4.0-1
- 0a4e393 Rob Dodson - Version up polymer dep
- a8f2a63 Rob Dodson - Still need concat for js
- b55520d Rob Dodson - Fixes #65, don't set newcap in jshint
- 6002fd5 Rob Dodson - Fixes #64. yo polymer:el creating wrong path
- b674c2b Rob Dodson - Add autoprefixer and fix minification tasks
- 4c6a5a5 Rob Dodson - Add PageSpeed Insights
- 6c361e1 Rob Dodson - Merge pull request #63 from wyze/bower_keywords, keywords should be array of strings
- 8d7b8dd Rob Dodson - add missing dep
- baad145 Rob Dodson - make import include optional
- c48c8fd Rob Dodson - make tests pass again
- 3db94c3 Rob Dodson - version up bower deps and consistent jshints
- 642dc3d Rob Dodson - SASS support
- 2ea36ab Rob Dodson - Update _bower.json
- 4a3f479 Rob Dodson - Version up ncp and yosay to latest
- 2b5c9df Rob Dodson - Add fancy badges
- 3074cc8 Rob Dodson - Consistent strict behavior with IIFEs
- a21a7ef Rob Dodson - Add globals to jshintrc
- 57d739a Rob Dodson - Remove no-js class
- 8e1674d Rob Dodson - jshintrc should use 2 spaces
0.3.1, Wisdom Wombat
This is a patch release to fixup our broken grunt distribution build. Running grunt
will now produce a dist
folder which properly vulcanizes its elements and works with grunt serve:dist
.
We've also unified around using 2 spaces for everything (the previous version had mixed 2 and 4 space files).
Generator reboot
This is a reboot of the generator-polymer after a lot of confusion regarding the old behavior. The default yo polymer
task will now generate a Polymer application (instead of just generating an element). It will no longer bower install its dependencies into the parent directory. To create a new element within your application, you can run yo polymer:el
.
The old behavior for creating stand-alone shareable element repos has been preserved. To create a shareable element using the old behavior, run yo polymer:seed
and to generate docs for that element run yo polymer:gh
.
0.1.1
- 214de0f remove conditional ie classes.
- 65a35ea Use SVG badge for Travis
- 18813d9 fix typo
- 857d6ff Remove "polymer-" prefix
- fbfc967 Drop applyAuthorStyles, resetStyleInheritance
- ebdcb4f readyCallback > createdCallback
- d708983 register > registerElement
- 9b55a5c Add unresolved attribute
- aff072b "Twitter Bootstrap" is now simply Bootstrap
- 5afd1dc Add link to DotJS yo polymer talk
- 7cd0b7f Updating Polymer logo