Downgrading from 0.6.5

848 views
Skip to first unread message

David Glasser

unread,
Aug 14, 2013, 6:04:02 PM8/14/13
to meteo...@googlegroups.com
Meteor 0.6.5 changes the package API to explicitly require them to
declare their exports instead of forcing them to pollute the global
namespace.

This means that if you're using Atmosphere packages that haven't yet
updated to the new interface, you might discover that your app no
longer works, and want to continue using 0.6.4.1 until all your
favorite packages are updated.

The way to downgrade is:

$ meteor update --release 0.6.4.1

... but that won't actually undo the other change that updating your
app to 0.6.5 did. So you'll also want to edit your ".meteor/packages"
file and remove the line "standard-app-packages".

(As part of our roadmapped work on packaging, we want to officially
support Atmosphere packages and make them work even when underlying
APIs change, but we're not there yet!)

--dave


(By the way, package authors, if you want to make your package
temporarily work on 0.6.4 and 0.6.5, just put `if (api.export)` before
the call to `api.export`!)

Naomi Seyfer

unread,
Aug 14, 2013, 8:14:27 PM8/14/13
to meteo...@googlegroups.com
Additionally, for package authors:

Of special note is the fact that packages must explicitly declare dependencies that were once okay to leave implicit.  For example, if your package depends on underscore, you now have to list that in your package.js.

--n

Gabriel Pugliese

unread,
Aug 14, 2013, 8:20:00 PM8/14/13
to meteo...@googlegroups.com
Maybe we could have some official page/wiki/gist with all those points. I think I've read 3 different e-mails (meteor-core/talk) with 0.6.5 api changes.


Gabriel Pugliese
CodersTV.com
@gabrielsapo


--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Glasser

unread,
Aug 14, 2013, 8:31:42 PM8/14/13
to meteo...@googlegroups.com

Gabriel Pugliese

unread,
Aug 14, 2013, 10:14:53 PM8/14/13
to meteo...@googlegroups.com

I will try to do steps for updating packages when I do that on mine. The info for that are shuffled in the History.md.
For eg. I didn't know about this:

Rename package compatibility mode option to add_files from raw to bare

Haven't seen in other emails (probably I read it too fast).

Reply all
Reply to author
Forward
0 new messages