Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Migrate to Polymer 1.0 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Migrate to Polymer 1.0 #5

wants to merge 1 commit into from

Conversation

campoy
Copy link
Contributor

@campoy campoy commented Nov 5, 2015

Basically did sed "s/0.5/1.0/g"

@campoy
Copy link
Contributor Author

campoy commented Nov 5, 2015

What do you think, @crhym3?

@x1ddos
Copy link

x1ddos commented Nov 5, 2015

It's more than that, unfortunately.

A couple things spotted right away:

  • there are no more <core-*> elements, most of them have been ported to <iron-*
  • an element definition like <polymer-element name="post-card"> won't work anymore. It's been changed substantially.

There's a tool called polyup which is like "go fix". Migration guide explains most of it: https://www.polymer-project.org/1.0/docs/migration.html

Also, it's better to use 1.2, well the latest.

@x1ddos
Copy link

x1ddos commented Nov 5, 2015

btw, I don't think links like https://www.polymer-project.org/1.0/components/polymer/polymer.html actually exist. It's still serving 0.5. Check this out: https://www.polymer-project.org/1.0/components/polymer/polymer.js

// @Version 0.5.5

@kalpacg
Copy link

kalpacg commented Nov 17, 2016

@x1ddos is right unfortunately. Some elements are radically changed in 1.0 version. So a sed "s/0.5/1.0/g" isnt working. Polyup is a great tool to migrate from 0.5 to 1.0, I ve tried it on this project.But still some of it you have to do manually. And what is the replacement for <google-api-loader id="api" name="posts" version="v1" appId="polymer-gopher" root="http://localhost:8080/_ah/api"> in Polymer 1.0 ?

@kalpacg
Copy link

kalpacg commented Nov 17, 2016

Polymer Project is forewading like wildfire. We have 1.7 stable release and they are thinking about 2.0. So I think bower will be a good solution for Polymer version upgrades.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants