meteor-blog / meteor-blog

Gives you a basic, out-of-the-box blog at /blog
MIT License
428 stars 127 forks source link

ryw:blog still uses old iron-router #97

Closed danielqiu closed 10 years ago

danielqiu commented 10 years ago

I upgraded my app to work with meteor 0.9.0.1 and tried to migrate meteor-blog with the command: meteor add ryw:blog, and the output is:

added cmather:iron-core at version 0.2.0 added mrt:filecollection at version 0.2.3 added coffeescript at version 1.0.2 added joshowens:shareit at version 0.1.0 added aslagle:reactive-table at version 0.3.16 added mrt:underscore-string-latest at version 2.3.3 added cmather:iron-dynamic-template at version 0.2.1 added spiderable at version 1.0.2 added ryw:blog at version 0.5.2 added cmather:iron-router at version 0.8.2 added mrt:minimongoid at version 0.8.8 added cmather:iron-layout at version 0.2.0 added mrt:just-i18n at version 0.3.0

ryw:blog: A package that provides a blog at /blog

It still uses cmather:iron-x but I believe it should be iron:router.

hellogerard commented 10 years ago

@danielqiu,

Are you sure you're using the latest blog package? When you run meteor list, are you on version 0.5.5 of the package?

danielqiu commented 10 years ago

@hellogerard Yeah, you are right. Thanks! The version was 0.5.2. After manually changing the version to 0.5.5 in .meteor/versions, it correctly fetched the right iron:router.

I don't know why "meteor update" didn't update the version automatically.

hellogerard commented 10 years ago

@danielqiu,

I think meteor update only updates meteor itself. YOu have to run meteor update <pkgname> to update the package. This was actually a feature. Previously, if you ran meteor update, it updated meteor AND the packages, which generally led to a lot of heartache.