Commit Graph

21001 Commits

Author SHA1 Message Date
Ben Newman
a3a19f94eb Bump package versions for 1.7-beta.23 release. release/METEOR@1.7-beta.23 2018-04-19 10:53:15 -04:00
Ben Newman
a33bc72b21 Avoid using cached .babel-cache and .meteor from other branches.
https://github.com/meteor/meteor/pull/9826#issuecomment-382758704

cc @abernix @hwillson @jamesmillerburgess
2018-04-19 10:34:15 -04:00
Ben Newman
567e620a86 Prefer client.s.databaseName over client.s.options.dbName.
Fixes #9827.

The client.s.databaseName property appears to have been introduced a long
time ago (in 2014), so it seems reliable:
14fd60b99d

The use of client.s.options.dbName was only recently introduced in #9790,
since the MongoDB.connect callback now receives a MongoClient object
rather than a Db object. Not sure if client.s.options.dbName was ever
reliable, but at least we know when the problem started.
2018-04-19 10:12:23 -04:00
Ben Newman
5189713d01 Bump package versions for 1.7-beta.22 release. release/METEOR@1.7-beta.22 2018-04-18 19:42:50 -04:00
Ben Newman
38e6a88ba6 Allow versioning of Circle CI cache keys.
This should also trigger a rebuild without the cache, which may fix some
recent hard-to-reproduce test failures.
2018-04-18 19:18:43 -04:00
Ben Newman
c032b9c271 Disable longjohn, since Node 8 now supports async stack traces. 2018-04-18 18:36:44 -04:00
Ben Newman
90e4d7dc7b Disable elective requestGarbageCollection calls to help with #9568. 2018-04-18 18:36:42 -04:00
Ben Newman
c8fc62f37e Add a package.json file to tools/tests/apps/package-tests. 2018-04-18 18:36:42 -04:00
Ben Newman
0d5de21001 Increase timeouts to fix {debug,prod}Only package self-tests. 2018-04-18 16:59:05 -04:00
Ben Newman
e09be77e39 Bump package versions for 1.6.2-beta.21 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
release/METEOR@1.6.2-beta.21
2018-04-18 16:34:14 -04:00
Ben Newman
105bdd8fd7 Start marking some optimistic functions as disposable. 2018-04-18 16:32:01 -04:00
Ben Newman
a024ec0548 Bump $BUNDLE_VERSION to 8.11.1.3 before rebuilding dev bundle. 2018-04-18 16:20:40 -04:00
Ben Newman
5eabf7da91 Update the optimism npm package to version 0.6.3. 2018-04-18 16:20:40 -04:00
Ben Newman
c5302bb2ba Stop scanning node_modules directories in PackageSource#_findSources. (#9825)
This functionality was originally intended to allow importing
compiled-to-JS modules from `node_modules`, by precompiling any modules
found in top-level npm packages, as long as a Meteor compiler plugin was
registered for the module's file extension.

As discussed in #9800, this extra compilation burden can be non-trivial,
especially if you happen to install an npm package such as `less`, which
contains hundreds of `.less` files in the `node_modules/less/test/`
directory.

More generally, this functionality was an early attempt to enable
selective compilation of `node_modules` directories, but it was not a good
solution to that problem, because in almost all cases the extra
compilation was unwanted.

Meteor 1.7 (formerly known as 1.6.2) will give full control over selective
compilation of `node_modules` back to the application developer (#9771),
which should afford a much better solution to this problem. If you've
installed some `.less` or `.scss` or `.ts` files from npm into your
`node_modules` directory, just create a symlink to the package directory
within your application, and those modules will be compiled and become
importable by other JS modules, as if they were part of the application.
2018-04-18 16:19:55 -04:00
Ben Newman
6ed37da36d Bump mongo package minor version to 1.5.0. 2018-04-18 13:27:50 -04:00
David Glasser
afb7d23d04 mongo: restart underlying oplog tail every 30 seconds without a doc
Workaround for #8598: the Node Mongo driver has at least one bug that can lead
to query callbacks never getting called (even with an error) when leadership
failover occur.

Note that while we did fix one Node Mongo driver bug and close #8598, we've
heard reports that there are more similar issues, so this workaround seems like
a good plan.
2018-04-18 13:22:51 -04:00
Ben Newman
5013d869c9 Merge branch 'devel' into release-1.6.2 2018-04-18 13:18:43 -04:00
Ben Newman
a64572cbe7 Bump http package version to 1.4.1. 2018-04-18 13:09:52 -04:00
Ben Newman
9f500c5821 Bump facebook-oauth package version to 1.4.1. 2018-04-18 13:08:00 -04:00
Jan Dvorak
d10d843e95 Update Facebook API to v2.12 (#9815) 2018-04-18 11:49:41 -04:00
Jesse Rosenberger
27918681e8 Merge pull request #9806 from pravdomil/patch-7
Fine-tune error messages in HTTP lib
2018-04-18 18:39:20 +03:00
pravdomil
af72bcf30d finetune error messages 2018-04-11 12:24:23 +02:00
Ben Newman
1c1020b6b2 Remove the --max-old-space-size option to node.exe in meteor.bat.
If the max size is too large (at least on windows_x86), the process
silently exits without doing anything, which is arguably worse than just
using the default max space (i.e., not passing the option).
2018-04-06 12:25:29 -04:00
Ben Newman
af7f3d7ede Bump package versions for 1.6.2-beta.20 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
release/METEOR@1.6.2-beta.20
2018-04-06 11:10:18 -04:00
Ben Newman
483661a9f4 Merge branch 'devel' into release-1.6.2 2018-04-06 11:09:04 -04:00
Ben Newman
bd26ce3d1e Make sure ImportScanner#_realPath always returns a string. 2018-04-06 10:59:18 -04:00
Ben Newman
3d025520c1 Provide more detailed profiling of _buildLocalPackages. (#9802)
https://github.com/meteor/meteor-feature-requests/issues/283

The ProjectContext#_buildLocalPackages method calls
IsopackCache#buildLocalPackages which calls _ensurePackageLoaded for each
local package, so this commit exposes how long each of those
_ensurePackageLoaded calls takes (when METEOR_PROFILE is enabled).
2018-04-06 10:51:58 -04:00
Ben Newman
e1614c0e47 Mention mongodb driver 3.0.5 upgrade in History.md. 2018-04-06 10:35:21 -04:00
Christian Klaussner
c0bce716fc Update MongoDB driver to 3.0.5 (#9790)
* Update MongoDB driver to 3.0.5

* Use `MongoClient` instead of `Db` in Meteor Tool

* Update `mongo-livedata` test for new MongoDB driver version

* Consider `BulkWriteError` when checking MongoDB errors
2018-04-06 10:28:25 -04:00
Ben Newman
e6ba875bcc Bump package versions for 1.6.2-beta.19 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
release/METEOR@1.6.2-beta.19
2018-04-05 20:29:27 -04:00
Ben Newman
5fbb99ce5b Merge branch 'devel' into release-1.6.2 2018-04-05 20:29:02 -04:00
Ben Newman
b534f92c80 Relax jquery constraints in test-{in-browser,helpers} packages.
Since jquery used to be a core package, and the most recent Meteor release
(1.6.1.1) imposed the ~1.11.11 constraint (note the ~), jquery@1.12.1
won't be usable with Meteor 1.6.x until it is republished after the next
Meteor release, which will no longer constrain the jquery version, because
jquery is no longer a core package (#9607).

In order to publish these two packages sooner rather than later, we need
to relax their jquery version constraints, because we don't want to
publish jquery@1.12.1 yet. The relaxed @1.11.11 constraints in these
package.js files will remain compatible with jquery@1.12.1, so this change
should be safe for the forseeable future.
2018-04-05 20:11:47 -04:00
Ben Newman
5241d67ded Apply .meteorignore files to node_modules in PackageSource#_findSources. (#9800)
Although there was a comment in this code about not applying .meteorignore
files to the contents of node_modules directories, I'm pretty sure that
was the wrong decision, because .meteorignore merely limits what Meteor
tries to compile as application code, and does not actually modify or hide
node_modules files from other parts of Meteor (or Node).

In other words, there's no harm in letting .meteorignore apply to
node_modules, and there may be a LOT of benefit, because it allows the
developer to fight back when compilation descends unexpectedly into an npm
package that contains non-.js[on] files for which a compiler plugin has
been registered, an obscure but not uncommon behavior originally intended
to allow importing CSS assets from npm packages:

* https://github.com/meteor/meteor/issues/6037
* 43659ff561
* a073280e3f
* https://github.com/meteor/meteor/issues/5242
* https://github.com/meteor/meteor/issues/6846
* https://github.com/meteor/meteor/issues/7406

However, we now have a much more powerful tool for selectively compiling
specific npm packages: #9771. In light of this new approach, we should
probably remove the promiscuous node_modules compilation behavior
altogether, as it might speed up rebuild times for many applications whose
developers don't know or care that this behavior exists. For example,
abandoning this behavior would prevent the problem reported here:
https://github.com/meteor/meteor/issues/6950

In the meantime, this commit makes .meteorignore work for node_modules.
2018-04-05 19:55:43 -04:00
James Burgess
3cc9e79049 Protect against missing results files in test load balancer (#9799) 2018-04-05 19:46:34 -04:00
Ben Newman
e197f5de3f Decompose applyAliases helper from setMinimumBrowserVersions.
Follow-up to #9793.
2018-04-04 12:11:21 -04:00
Jesse Rosenberger
4ab6c11f08 Bump mongo version to 1.4.7 prior to publishing.
This reverts the changes for meteor/meteor#9739 which were temporarily in
place for testing.

Reverts: 41520db1a0.
Ref: 76ac0ca6ee.
2018-04-04 19:10:17 +03:00
Jesse Rosenberger
7cad0f5fe1 Revert "mongo: restart underlying oplog tail every 30 seconds without a doc"
This reverts commit 76ac0ca6ee.
2018-04-04 19:10:17 +03:00
Jesse Rosenberger
a150be0431 Bump mongo version to 1.4.6 prior to publishing.
This includes the changes for meteor/meteor#9739 for testing, but we will
immediately publish 1.4.7 with this commit reverted.
2018-04-04 19:10:17 +03:00
David Glasser
e241a6cc64 mongo: restart underlying oplog tail every 30 seconds without a doc
Workaround for #8598: the Node Mongo driver has at least one bug that can lead
to query callbacks never getting called (even with an error) when leadership
failover occur.
2018-04-04 19:10:17 +03:00
Valentin Uhrmeister
a738fc9999 Alias "chromeMobile" to "chrome" for isModern test (#9793) 2018-04-04 11:49:17 -04:00
Aaron Curtis
90d5c1efc4 Correctly append branch locations (#9760)
Before this change,

  meteor create --list

would produce output containing the following line:

  todos-react: https://github.com/meteor/todos#react

but "meteor create --example todos-react" would create the blaze version of the todos example.

This was because for some reason the code is using a # to append the name of the branch, instead of /tree/.
2018-04-04 11:42:02 -04:00
Ben Newman
1d0a0c6201 Merge pull request #9607 from meteor/remove-jquery-from-core-packages
Move Meteor jquery package into packages/non-core.
2018-04-03 13:31:13 -04:00
Ben Newman
5938e88a83 Scan packages/non-core in self-test, e.g. to find jquery. 2018-04-03 12:50:42 -04:00
Ben Newman
56ac765779 Move jquery package into packages/non-core.
This move will mean the next release of Meteor will not impose any
constraints on the version of the Meteor jquery package.
2018-04-03 09:06:14 -04:00
Ben Newman
934c97f4bd Bump package versions for 1.6.2-beta.18 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
release/METEOR@1.6.2-beta.18
2018-04-02 19:48:43 -04:00
Ben Newman
f73fbf7a0b Merge branch 'devel' into release-1.6.2 2018-04-02 19:44:53 -04:00
Ben Newman
b2f74eafa1 Merge pull request #9795 from meteor/update-meteor-babel-and-reify
Update meteor-babel to 7.0.0-beta.44 and reify to 0.15.1.
2018-04-02 19:42:42 -04:00
Lucas Hansen
8d320497d6 Cache linker cache files in memory (#9794) 2018-04-02 19:37:08 -04:00
Ben Newman
958361e013 Bump $BUNDLE_VERSION to 8.11.1.2 before rebuilding dev bundle. 2018-04-02 19:03:01 -04:00
Ben Newman
2a524dcfd1 Update meteor-babel to 7.0.0-beta.44 and reify to 0.15.1. 2018-04-02 18:54:00 -04:00