Commit Graph

19651 Commits

Author SHA1 Message Date
Jesse Rosenberger
1995c8d445 Bump $BUNDLE_VERSION to 4.8.43 before rebuilding dev bundle. release/METEOR@1.5.3-rc.0 2017-10-27 15:15:56 -07:00
Jesse Rosenberger
d6fc953ba6 Bump $NODE_BUILD_NUMBER to 120 before rebuilding dev bundle. 2017-10-27 15:15:55 -07:00
Jesse Rosenberger
9c62a55137 Bump $NODE_BUILD_NUMBER to 116 before rebuilding dev bundle. 2017-10-27 14:47:06 -07:00
Jesse Rosenberger
e5211e4876 Bump package versions for 1.5.3-rc.0 release. 2017-10-27 11:39:02 -07:00
Ben Newman
8dc1fc3512 Fix typo in ImportScanner#_scanFile.
Introduced by 3faee05eed.

cc @cpury @JanMP
2017-10-26 12:47:19 -07:00
Ben Newman
6323a34d6a Adjust npm update notifier opt-out environment variable.
https://github.com/zkat/npx/issues/98#issuecomment-316936135
https://www.npmjs.com/package/update-notifier#user-settings
2017-10-26 12:37:35 -07:00
Ben Newman
c03a46f70f Regression test for #9185 (fixed by #9187). 2017-10-26 12:37:23 -07:00
Ben Newman
3b7943f631 Add more comments to recently-modified ImportScanner logic. 2017-10-26 12:23:49 -07:00
Ben Newman
202e913faa Call _scanFile far fewer times in ImportScanner#scanMissingModules. 2017-10-26 12:23:49 -07:00
Ben Newman
1470bc841f Remember whether parent module of failed import was dynamic.
Fixes #9182.
2017-10-26 12:23:49 -07:00
Ben Newman
4e778b6e17 Rename installPath property to absModuleId, and make absolute.
The `installPath` property was always essentially an absolute module
identifier that was simply missing the leading '/' character, so this
commit acknowledges that role by renaming the property to `absModuleId`
and adding the leading slash.
2017-10-26 12:23:48 -07:00
Ben Newman
9ac6d60ba2 Track all failed imports separately.
Previously, if more than one module in a package tried and failed to
import the same identifier, we would record information about only the
last failed import.

This was good enough for later attempting to resolve the failed import in
other packges or the application's `node_modules` directory (a concept
known as "peer dependencies"), but it sometimes discarded information
about whether the failed imports were dynamic. In particular, if the last
recorded failed import was a dynamic import, it could accidentally render
the entire peer dependency tree dynamic.

Although it's a bit more complicated than what we did before, I believe
the simplest solution is for the ImportScanner to maintain a mapping from
failed identifiers to lists of import information objects, rather than a
single object, so that no information is lost.
2017-10-26 12:23:48 -07:00
Ben Newman
6cee042b54 Simplify checking/setting file.imported in ImportScanner#_scanFile.
By checking and setting this property earlier, we can avoid scanning files
more than once.
2017-10-26 12:23:33 -07:00
Jesse Rosenberger
16a4bbab04 Bump $NODE_VERSION to 4.8.5 before rebuilding dev bundle.
While the actual version included for Unix developers will be our own
build at NODE_VERSION, this is important for the Windows version, since
it is not being rebuilt by our Jenkins at the moment.
2017-10-24 16:03:07 -07:00
Jesse Rosenberger
cc2608f4a0 Bump $BUNDLE_VERSION to 4.8.42 before rebuilding dev bundle. 2017-10-24 16:00:55 -07:00
Jesse Rosenberger
8841080c9e Bump $NODE_BUILD_NUMBER to 113 before rebuilding dev bundle. 2017-10-24 16:00:54 -07:00
Ben Newman
cb85625520 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-24 16:00:54 -07:00
Ben Newman
450e6b4ae0 Merge pull request #9151 from meteor/release-1.5.2.2
Release 1.5.2.2
2017-09-29 18:03:10 -04:00
Ben Newman
807bfa560c Bump package versions for the official 1.5.2.2 release. release/METEOR@1.5.2.2 2017-09-29 17:14:38 -04:00
Ben Newman
2df59ba229 Mention another 1.5.2.2 bug fix in History.md and update date. 2017-09-29 17:13:22 -04:00
Ben Newman
ee43eba7b3 Bump package versions for 1.5.2.2-rc.1 release. release/METEOR@1.5.2.2-rc.1 2017-09-29 14:09:16 -04:00
Ben Newman
4420e4526f Bump $BUNDLE_VERSION to 4.8.41 before rebuilding dev bundle. 2017-09-29 13:51:51 -04:00
Ben Newman
ea1800d065 Include Node headers and node.lib in dev bundle on Windows.
Fixes #9153.
2017-09-29 13:51:24 -04:00
Jesse Rosenberger
24b9ea4a08 Update History.md with miscellaneous changes in Meteor 1.5.2.2. 2017-09-28 21:22:37 +03:00
Jesse Rosenberger
e1180c0377 Bump package versions for 1.5.2.2-rc.0 release. release/METEOR@1.5.2.2-rc.0 2017-09-28 20:53:08 +03:00
Jesse Rosenberger
cdc5c5101f Bump $BUNDLE_VERSION to 4.8.40 before rebuilding dev bundle. 2017-09-28 19:18:50 +03:00
Jesse Rosenberger
8bda1309b4 Bump $NODE_BUILD_NUMBER to 111 before rebuilding dev bundle. 2017-09-28 19:17:37 +03:00
Jesse Rosenberger
56b3706432 Bump package versions for 1.5.2.2-rc.0 release. 2017-09-28 19:15:22 +03:00
Jesse Rosenberger
01b5487aab Merge pull request #9148 from hwillson/issue-9140
Make sure Accounts login only sets 1 onReconnect callback
2017-09-28 19:05:31 +03:00
Jesse Rosenberger
8a627c1b75 Move comment about DESTDIR/PORTABLE=1 into place. 2017-09-28 17:44:28 +03:00
Ben Newman
462a29702d Make Npm.require import built-in modules first. 2017-09-28 17:21:17 +03:00
Jesse Rosenberger
573ccb95a3 Bump $BUNDLE_VERSION to 4.8.39 before rebuilding dev bundle. 2017-09-28 17:13:41 +03:00
Jesse Rosenberger
576490d3f9 Bump $NODE_BUILD_NUMBER to 106 before rebuilding dev bundle. 2017-09-28 17:08:20 +03:00
Jesse Rosenberger
c10c5c161b Don't strip the top directory when extracting our Node tarball.
Thanks to changes in the `build-node-for-dev-bundle.sh` script done in
0583e5883c, we now build a tarball which
is identical to the structure provided by Node.js themselves.

While generally we are using the main Node releases, this will allow
our users to (if need be), use a tarball directly in place of their own
in production without additional changes.  Similarly, the only change
we need to make now when building the dev bundle is to use a different
URL.
2017-09-28 16:29:20 +03:00
Hugh Willson
c5f642cb86 Make sure Accounts login only sets 1 onReconnect callback
The changes added in
d854a4b9ba
fixed a long standing issue where the Accounts system was
overwriting other DDP `connection.onReconnect` callbacks,
that were potentially set by developers (and vice-versa -
developers could overwrite the `onReconnect` callback registered
by the Accounts system, which impacted logging back in after
reconnecting). Unfortunately these changes are also registering a
new duplicate `onReconnect` callback to be called, after every
login. These duplicate callbacks pile up and are all called when
reconnecting, which eventually breaks user logins.

The changes in this commit make sure that any previously set
Accounts login `onReconnect` callback is first removed, before
adding a new callback. This ensures the Accounts system is only
ever setting one `onReconnect` callback after logging in.

Fixes #9140.
2017-09-28 08:55:16 -04:00
Ben Newman
96bc29295a Don't extract bin/node (we'll do this on Jenkins). 2017-09-27 20:56:25 -04:00
Jesse Rosenberger
0583e5883c Changes to Node.js build script. 2017-09-27 17:25:18 -04:00
Jesse Rosenberger
c21e4f5b7e Use a Meteor-hosted version of ICU.
SourceForge is currently down and without this ICU (International
Components for Unicode), we can't build the Node binary.
2017-09-27 17:18:54 +03:00
Jesse Rosenberger
b29cb48f63 Merge pull request #9137 from hwillson/issue-9098
Update cordova-ios to 4.5.1, to add in iOS 11 / Xcode 9 support
2017-09-27 16:52:38 +03:00
Hugh Willson
95382397dd Add PR number and link to History.md 2017-09-26 15:12:06 -04:00
Hugh Willson
1ab30946d8 Update cordova-ios to 4.5.1, to add in iOS 11 / Xcode 9 support
Fixes #9098.
Fixes #9126.
2017-09-26 14:08:04 -04:00
Ben Newman
164e6901fb Update banners.json to recommend 1.4.4.4 and 1.5.2.1. 2017-09-26 12:46:15 -04:00
Ben Newman
cf45eb0f8c Update the modules test app to Meteor 1.5.2.1. 2017-09-26 12:29:04 -04:00
Ben Newman
9184ed2dc8 Merge branch 'master' into devel 2017-09-26 12:26:28 -04:00
Ben Newman
36e48b13bf Merge pull request #9133 from meteor/release-1.5.2.1
Release 1.5.2.1
2017-09-26 12:25:54 -04:00
Ben Newman
c2918963d7 Mention allow-deny updates in History.md.
[ci skip]
2017-09-26 12:14:31 -04:00
Ben Newman
369afe74a6 Bump ecmascript patch version to republish compile-ecmascript plugin.
When the ecmascript package version was last bumped in
18e4c172f2, it appears that
babel-compiler@6.20.0 had not yet been published, so ecmascript was
published with a copy of that compiler plugin that did not support the
"env" property of .babelrc files (#8963).

Bumping again and republishing in hopes of fixing that problem.
2017-09-26 11:46:09 -04:00
Ben Newman
04fdd68ed5 Add date to 1.5.2.1 release in History.md.
[ci skip]
2017-09-26 11:01:01 -04:00
Ben Newman
ef3ad82a04 Bump minimongo patch version to 1.3.2. 2017-09-26 10:50:57 -04:00
Hugh Willson
f0931d740f Add missing let statment to the $elemMatch subMatcher function (#9134)
The `subMatcher` function `let` statment was missing
(dropped during the latest minimongo refactoring - see
fe576f60ce).
This turned `subMatcher` into a global function, which caused
several minimongo issues.

Fixes #9111.
2017-09-26 10:30:47 -04:00