Commit Graph

20885 Commits

Author SHA1 Message Date
Cyrille Colin
498f5d32dd [cordova] add resource-file to mobile-config (#9748)
* add resource-file to mobile-config

* Fix typo in addResourceFile documentation header

* get filename with path.parse instead of split

* Code formatting adjustments
2018-04-26 11:26:18 +03:00
Ben Newman
986b47d1c4 Update meteor-babel to version 7.0.0-beta.46. (#9840) 2018-04-25 18:15:29 -04:00
Sashko Stubailo
1c0ebbf2f0 Update Roadmap.md 2018-04-19 08:22:55 -07: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
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
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
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
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
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
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
Ben Newman
c316dce584 Bump $BUNDLE_VERSION to 8.11.1.1 before rebuilding dev bundle.
The dev bundle needs to be rebuilt after 1.6.1 since we bumped the Node
version in 1.6.1 but did not bump the npm version, though npm has been
updated to 5.8.0 on the devel branch (and release-1.6.2) already.

The $BUNDLE_VERSION version is interpreted as an opaque string rather than
a semantic version, so we can easily add a fourth number to track changes
that fall between Node versions (while we're waiting for Node 8.11.2).
2018-04-02 13:15:40 -04:00
Ben Newman
e6a0e9089d Merge branch 'master' into devel 2018-04-02 13:08:43 -04:00
Ben Newman
1dbc3304c7 Merge pull request #9789 from meteor/release-1.6.1.1
Release 1.6.1.1
2018-04-02 12:58:41 -04:00
Ben Newman
6b3cc2e94f Avoid displaying package stats errors in headless mode.
Console.isInteractive() will be false during our Circle CI test runs,
since we set the METEOR_HEADLESS environment variable, so this change
should help prevent spurious test failures like these:
https://circleci.com/gh/meteor/meteor/15305.
2018-04-02 12:32:50 -04:00
Ben Newman
7cd4947780 Bump package versions for the official 1.6.1.1 release. release/METEOR@1.6.1.1 2018-04-02 10:21:56 -04:00
Ben Newman
9ef1c6caf6 Suggest updating @babel/runtime in 1.6.1.1 History.md section. 2018-04-02 10:19:40 -04:00
Ben Newman
84d776ecb8 Bump package versions for 1.6.1.1-rc.0 release. 2018-03-31 14:33:22 -04:00
Ben Newman
953fef7848 Merge branch 'master' into devel 2018-03-31 13:14:43 -04:00
Ben Newman
5704016703 Bump $BUNDLE_VERSION to 8.11.1 before rebuilding dev bundle. 2018-03-31 13:10:12 -04:00
Ben Newman
4c0e583249 Update meteor-babel to version 7.0.0-beta.42.
https://github.com/babel/babel/releases/tag/v7.0.0-beta.41
https://github.com/babel/babel/releases/tag/v7.0.0-beta.42

Also updated various @babel/... plugin versions in package.json files.
2018-03-31 13:10:12 -04:00
Ben Newman
4819c5bc39 Set NODE_BUILD_NUMBER=129 to use our custom Node 8.11.1 build.
Built from https://github.com/meteor/node/tree/v8.11.1-meteor
2018-03-31 13:10:12 -04:00
Ben Newman
10c7c7a4b1 Let Node download the ICU i18n libaries for itself. 2018-03-31 13:10:12 -04:00
Ben Newman
b21938e047 Upgrade Node to version 8.11.1, plus a critical V8 patch.
https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v8.10.0/
https://nodejs.org/en/blog/release/v8.11.0/
https://nodejs.org/en/blog/release/v8.11.1/
https://github.com/meteor/node/commits/v8.11.0-meteor
https://github.com/meteor/node/commits/v8.11.1-meteor
2018-03-31 13:10:12 -04:00
Ben Newman
4bdc829811 Merge pull request #9788 from meteor/merge-1.4.4.x-and-1.5.x-into-master
Merge release-1.4.4.x and release-1.5.x into master.
2018-03-31 13:08:56 -04:00
Ben Newman
6bb4aa7a90 Merge branch 'release-1.5.x' 2018-03-31 12:23:42 -04:00
Ben Newman
585a386302 Merge branch 'release-1.4.4.x' 2018-03-31 12:21:13 -04:00
Ben Newman
ccb88e76ab Merge pull request #9786 from meteor/release-1.4.4.6
Release 1.4.4.6
2018-03-31 12:05:10 -04:00
Ben Newman
64239ce8e5 Bump package versions for the official 1.4.4.6 release. release/METEOR@1.4.4.6 2018-03-31 11:25:03 -04:00
Ben Newman
310eb6a489 Update release date of 1.4.4.6 in History.md. 2018-03-31 11:25:01 -04:00
Ben Newman
6493a10bcd Minor History.md tweaks. 2018-03-31 11:09:57 -04:00
Ben Newman
6b6731d599 Merge pull request #9784 from meteor/release-1.5.4.2
Release 1.5.4.2
2018-03-30 17:51:25 -04:00
Jesse Rosenberger
bae11f09ec Bump package versions for 1.4.4.6-rc.0 release. release/METEOR@1.4.4.6-rc.0 2018-03-30 23:14:34 +03:00
Jesse Rosenberger
c9bee611ca Update semver to the latest version, backporting 9fdde2b7.
This wasn't available to cherry-pick for some reason.

Backports: 9fdde2b765

Ref: https://github.com/meteor/meteor/pull/8859
2018-03-30 22:20:51 +03:00
Florian Schaeffler
6fdd03bcae updated dependency of semver to the first patched one 2018-03-30 22:19:46 +03:00
Ben Newman
78c6fce3b4 Modernize package-version-parser by using modules. (#8914)
Also removed the underscore dependency while I was at it.

Prerequisite for #8859.

Backports: d3aff777a2
2018-03-30 22:18:11 +03:00
Ben Newman
20c33243ec Don't add tilde-constraints package explicitly to .meteor/packages.
Adding the tilde-dependent package should be enough, since its package.js
file calls api.use("tilde-constraints");

Backports: 1b65ef1726
2018-03-30 22:18:11 +03:00