Commit Graph

18444 Commits

Author SHA1 Message Date
Ben Newman
a9ac309fb9 Bump package versions for 1.5-beta.8 release. release/METEOR@1.5-beta.8 2017-02-21 13:26:01 -05:00
Ben Newman
7031ea1dd5 Bump LINKER_CACHE_SALT for good measure.
Recent changes to the way the linker works might not be reflected unless
we invalidate .meteor/local/bundler-cache.
2017-02-21 13:25:58 -05:00
Ben Newman
41e9ee857e Evaluate dynamic module code in package scope.
This should elegantly address the issues described in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-280881830

I toyed with the possibility of turning package variables (both imports
from other packages and intercepted "global" variable assignments) into
properties on a shared namespace object, but that would have been a major
breaking change for existing package code, because it would have required
automatically rewriting variable references in package modules.
2017-02-21 11:47:31 -05:00
Ben Newman
2c172db31a Merge branch 'devel' into release-1.5 2017-02-21 11:33:00 -05:00
Ben Newman
2a32faf27a Bump package versions for 1.5-beta.7 release. release/METEOR@1.5-beta.7 2017-02-16 18:34:03 -05:00
Ben Newman
15135a65df Test importing lazy packages and dynamic package modules. 2017-02-16 18:20:42 -05:00
Ben Newman
a1c4df3f57 Call api.use("ddp") in dynamic-import/package.js.
Though I am still considering alternatives to DDP, the dynamic-import
package should depend on the packages that it uses.
2017-02-16 18:20:42 -05:00
Ben Newman
edb4e0664c Walk dynamic module graph synchronously.
I made this code asynchronous at first to accommodate the asynchronous
cache API, but walking the graph needs to happen synchronously so that
near-simultaneous dynamic import(...)s do not interleave.
2017-02-16 18:20:41 -05:00
Ben Newman
eadd954115 Use alias instead of stub module for meteor/package imports.
Aliases are lighter weight than stub module functions, and easier for the
dynamic import(...) dependency traversal logic to understand.
2017-02-16 18:20:41 -05:00
tcastelli
907e1d9183 Update help text to clarify the use of external npm commands (#8355)
* Update help text to clarify the use of external npm commands

First attempt to improve the help text regarding the external npm commands that can be run directly with 'meteor'.
#8277
Further enhancements could include listing also the "current" available external commands by parsing a ls/dir command or 'meteor npm list -g -depth 0'. If they command is uninstalled between the call of 'meteor help' and 'meteor <external command>' we are not the ones to be blamed but the user instead :)

* Update 'external command' to 'npm command'

* Joining new suggestions and cleaning some redundancy

Included @abernix suggestions (with some variations) to include references to npm and node. Also clarified how to install a npm package and run it afterwards

* Typo

Changed to global context

* Reword description of "other" npm commands

These commands are similar to `node` and `npm`, but we didn't want
them to be confused with `npm command` commands.

* Avoid repetition of `meteor npm install --global`
2017-02-15 15:46:53 -05:00
Jesse Rosenberger
de2e16b313 Bump version of check package to 1.2.5 in preparation for publishing. 2017-02-15 21:42:28 +02:00
Jesse Rosenberger
da91afd54f Add History.md entry about updating check package.
To document the updating of the `jQuery.isPlainObject` for meteor/meteor#7354.
2017-02-15 21:41:31 +02:00
Ben Newman
c2e4b77636 Protect against edge case when resolved is a string.
In particular, if the "main" field of the package.json file cannot be
resolved, then the `resolved` variable will be "missing", which is a
truthy value that silently rejects property assignments. Ugh!
2017-02-15 14:09:36 -05:00
Ben Newman
0b26890d97 Protect against edge case when resolved is a string.
In particular, if the "main" field of the package.json file cannot be
resolved, then the `resolved` variable will be "missing", which is a
truthy value that silently rejects property assignments. Ugh!
2017-02-15 14:07:27 -05:00
Ben Newman
af51d1f216 One more tweak to Roadmap.md 2017-02-15 12:31:41 -05:00
Ben Newman
2c3ba70ac5 Update Roadmap.md to emphasize page load performance 2017-02-15 12:30:53 -05:00
Jesse Rosenberger
b3e34fc273 Merge pull request #8351 from nlhuykhang/update-isPlainObject-from-jquery-v3.1.1
Extract new isPlainObject function from JQuery v3.1.1
2017-02-15 18:57:49 +02:00
Jesse Rosenberger
036e45bf8a Added MIT Copyright license for jQuery under JS Foundation
We are now using parts of the new jQuery v3 which is under a different license than we've previously listed.  This fixes that.
2017-02-15 18:27:56 +02:00
Hugh Willson
4f3713f03c Added in Meteor.loggingOut() and related Blaze helpers. (#8271)
* Added in Meteor.loggingOut() and related Blaze helpers.

* Switched loggingIn/loggingOut over to use ReactiveVar; More tests.

* Changed logginInOut helper name to loggingInOrOut.
2017-02-15 11:22:57 -05:00
Ben Newman
87d95ce60f Bump package versions for 1.5-beta.6 release. release/METEOR@1.5-beta.6 2017-02-14 12:38:36 -05:00
Ben Newman
44370f0ec8 Bump $BUNDLE_VERSION to 4.8.1 before rebuilding dev bundle. 2017-02-14 12:32:52 -05:00
Ben Newman
92480b09a0 Regenerate packages/modules/.npm/package/npm-shrinkwrap.json. 2017-02-14 12:31:54 -05:00
Ben Newman
95a7d11018 Regenerate packages/babel-compiler/.npm/package/npm-shrinkwrap.json. 2017-02-14 12:31:40 -05:00
Ben Newman
6b89bed42d Merge branch 'devel' into release-1.5 2017-02-14 12:28:59 -05:00
Eric Dobbertin
005c521f54 Fix comment about unordered imports (#8362) 2017-02-14 09:03:25 -08:00
Ben Newman
a290488d02 Disable optimistic caching for meteor --get-ready on Circle CI.
We (@abernix and I) suspect the intermittent "died unexpectedly" failures
of `meteor --get-ready` on Circle CI are due to hitting their (low) limit
on the maximum number of open files.

Although optimistic caching speeds up rebuilds considerably, it doesn't do
much for initial builds, and it definitely keeps more files open.
Disabling it here seems worth a try.
2017-02-14 11:41:30 -05:00
Ben Newman
e43a5d07f0 Update the modules test app to Meteor 1.4.3.1. 2017-02-14 09:55:38 -05:00
Ben Newman
22d3fa3f0a Merge branch 'master' into devel 2017-02-13 20:41:05 -05:00
Ben Newman
b6c2991a28 Merge pull request #8363 from meteor/release-1.4.3.1
Release 1.4.3.1
2017-02-13 20:40:04 -05:00
Ben Newman
641cf57564 Add date for 1.4.3.1 release. 2017-02-13 20:10:17 -05:00
Jesse Rosenberger
d7831c0dd1 Add date for 1.4.3 release 2017-02-13 20:09:38 -05:00
Jesse Rosenberger
6e08844a86 Add history entry for changes to url Array/Object encoding (#8261) 2017-02-13 20:08:19 -05:00
Ben Newman
954333b813 Bump package versions for the official 1.4.3.1 release. release/METEOR@1.4.3.1 2017-02-13 19:57:26 -05:00
Ben Newman
5465ab8aee Bump package versions for 1.4.3.1-rc.1 release.
@abernix Bumping the ecmascript version is apparently necessary if the
babel-compiler package has changed, presumably because ecmascript defines
a compiler plugin that uses babel-compiler. Unless the ecmascript version
has been bumped, babel-compiler changes won't appear to have any effect.
release/METEOR@1.4.3.1-rc.1
2017-02-13 19:22:54 -05:00
Ben Newman
4dc2550f2b Update History.md to reflect changes in Meteor 1.4.3.1. 2017-02-13 19:08:08 -05:00
Ben Newman
21185dad10 Bump package versions for 1.4.3.1-rc.0 release. release/METEOR@1.4.3.1-rc.0 2017-02-13 18:17:06 -05:00
Ben Newman
ae33972cbb Bump $BUNDLE_VERSION to 4.7.12 before rebuilding dev bundle. 2017-02-13 18:16:52 -05:00
Ben Newman
ebbc02d025 Upgrade meteor-babel and reify to versions 0.14.4 and 0.4.8.
Thanks to @abernix for fixing this Babel/Babylon bug in Reify:
https://github.com/benjamn/reify/pull/62

Fixes #8312.
2017-02-13 18:11:11 -05:00
Ben Newman
434116aa84 Fix installing from shrinkwrap.
Although we thought the upgrade from `npm` 3.10.9 to 4.1.2 was worthwhile
and safe, this breaking change proved problematic:
https://github.com/npm/npm/blob/latest/CHANGELOG.md#no-more-partial-shrinkwraps-breaking

Specifically, if a Meteor package calls `Npm.depends` in a way that
disagrees with the contents of `.npm/package/npm-shrinkwrap.json` file,
Meteor will create a partial shrinkwrap file in order to install the
correct top-level npm dependencies, but transitive dependencies of the
package will no longer be installed.

This was fixed in Meteor 1.4.2.7 by reverting the upgrade of npm, but
Meteor 1.4.3.1 will keep npm@4.1.2 and fix the consequences.
2017-02-13 18:11:11 -05:00
Ben Newman
77e70e4def Note #8108 in the v1.4.3 section of History.md. 2017-02-13 18:11:10 -05:00
Ben Newman
848880f3d3 Merge branch 'master' into devel 2017-02-13 16:08:15 -05:00
Ben Newman
888c63591e Merge pull request #8361 from meteor/release-1.4.2.7
Release 1.4.2.7
2017-02-13 16:05:18 -05:00
Ben Newman
752ee55a8f Bump $BUNDLE_VERSION to 4.7.11 before rebuilding dev bundle. 2017-02-13 14:36:12 -05:00
Ben Newman
bdcce3d209 Upgrade npm to version 4.1.2 again, matching Meteor 1.4.3 as published. 2017-02-13 14:35:49 -05:00
Ben Newman
0f8fb6fcbe Merge branch 'master' into release-1.4.2.7
The release-1.4.2.7 branch was begun from release-1.4.2.6, which has
fallen behind the master branch since release-1.4.3 landed.

To avoid conflicts when merging release-1.4.2.7 into master, I published
the official METEOR@1.4.2.7 release tag, then merged master into
release-1.4.2.7, and will soon (if the tests pass) merge release-1.4.2.7
back into master, putting master back in its 1.4.3 state, except with the
release-1.4.2.7 history included.
2017-02-13 14:23:58 -05:00
Ben Newman
46ad205fe9 Bump package versions for the official 1.4.2.7 release. release/METEOR@1.4.2.7 2017-02-13 13:46:57 -05:00
Ben Newman
56d7366b54 Bump package versions for 1.4.2.7-rc.0 release. release/METEOR@1.4.2.7-rc.0 2017-02-13 13:29:07 -05:00
Ben Newman
b1bc7db982 Bump $BUNDLE_VERSION to 4.7.10 before rebuilding dev bundle. 2017-02-13 12:54:44 -05:00
Ben Newman
e83a1cfb8e Revert "Upgrade the npm npm package to version 4.1.2."
This reverts commit be0c8c3ee0.

Although we thought the upgrade from npm 3.10.9 to 4.1.2 was worthwhile
and safe, this breaking change proved problematic:
https://github.com/npm/npm/blob/latest/CHANGELOG.md#no-more-partial-shrinkwraps-breaking

Specifically, if a Meteor package uses `Npm.depends`, and does not yet
have an `.npm/package/npm-shrinkwrap.json` file, Meteor will create a
partial shrinkwrap file in order to install npm dependencies, but (with
the changes in npm@4) transitive dependencies of the package will no
longer be installed.

Upgrading npm to a new major version was probably too much of a change for
a 1.4.2.x release, anyway, so we're reverting it for 1.4.2.7.

In case you can't wait for 1.4.2.7, you can "fix" this problem for
previous versions of Meteor by running

  meteor npm install --global npm@3.10.9

You can test that this downgrade worked by running

  meteor npm version
2017-02-13 12:54:06 -05:00
Ben Newman
1c9bfebc95 Note #8108 in the v1.4.3 section of History.md. 2017-02-12 16:50:54 -05:00