Commit Graph

21035 Commits

Author SHA1 Message Date
Ben Newman
11078e46b2 Bump package versions for 1.7-beta.26 release. release/METEOR@1.7-beta.26 2018-04-27 13:43:14 -04:00
Ben Newman
cd165c50e6 Bump appcache package version to 1.2.0. 2018-04-27 13:25:18 -04:00
Ben Newman
a599aa738d Avoid using WebApp.connectHandlers for appcache sizeCheck.
The (req, res, next) handler was not calling next(), which caused some
tests where appcache was used (e.g. hot code push) to time out.
2018-04-27 13:25:15 -04:00
Ben Newman
cf33eeedbc Decompose eachResource helper function in appcache-server.js. 2018-04-27 13:07:37 -04:00
Ben Newman
74a55ff107 Fix addAsset tests now that /__browser.legacy/ prefix no longer used. 2018-04-27 12:47:35 -04:00
Ben Newman
b50a52ecf5 Tolerate assets added with same path to both modern and legacy architectures.
Since legacy assets are no longer disambiguated from modern assets with a
/__browser.legacy/ URL prefix (#9776), we need a principled way to handle
collisions in the staticFiles registry.
2018-04-27 12:41:36 -04:00
Kevin Newman
06f9f78277 Avoid the need to rewrite URLs in appcache, by avoiding adding the prefix at build time for assets 2018-04-27 09:47:21 -04:00
Kevin Newman
154533af26 Rewrite /public urls to remove /__browser.legacy/ prefix in app.manifest (also skip stats.json) 2018-04-27 09:47:21 -04:00
Kevin Newman
7f2a683e2c Always omit .map files from app.manifest 2018-04-27 09:47:21 -04:00
Kevin Newman
04a0a2a97f Use isModern checks to decide which arch assets to put in the app.manifest, and add filter for web.browser.legacy in isDynamic check 2018-04-27 09:47:21 -04:00
Jesse Rosenberger
2248019824 Merge branch 'devel' into release-1.7 2018-04-26 11:45:58 +03:00
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
dcd01aceba Merge branch 'devel' into release-1.7 2018-04-25 18:22:00 -04:00
Ben Newman
986b47d1c4 Update meteor-babel to version 7.0.0-beta.46. (#9840) 2018-04-25 18:15:29 -04:00
Jesse Rosenberger
82d415ede0 Revert "tests: Add additional self-tests to the AppVeyor suite which exercise Mongo."
This reverts commit 3062995801.

The tests exhibited on AppVeyor showed some very clear failures in the way
that we're killing PIDs on Windows using `taskkill`.  I haven't actually
checked, but I find it virtually impossible that the PID of the process to
kill (the 5th test run) happened to be 3000.
2018-04-25 21:11:17 +03:00
Ben Newman
cf273f0911 Bump package versions for 1.7-beta.25 release. release/METEOR@1.7-beta.25 2018-04-25 12:43:35 -04:00
Jesse Rosenberger
3062995801 tests: Add additional self-tests to the AppVeyor suite which exercise Mongo.
Our current testing on Mongo is less complete than it could be and these
tests, particularly the `mongo with multiple --port numbers` test which does
actual writes to the database, should help with that.

Note that these tests are separate from the `mongo` package tests which are
much more extensive and test more advanced mongo functionality, but it's
good to have some basic Windows tests in place within the `self-test`
infrastructure.

cc @benjamn
2018-04-25 19:39:08 +03:00
Ben Newman
3502761c4d Exclude IE11 and all earlier versions from modern classification.
Builds on #9793.
Fixes #9818.
Fixes #9839.
2018-04-25 12:35:45 -04:00
Ben Newman
6be0514eaf Add modern-browsers to self-test sandbox root packages list. 2018-04-25 11:39:30 -04:00
Ben Newman
491f6b7e14 Bump $BUNDLE_VERSION to 8.11.1.4 before rebuilding dev bundle. 2018-04-25 11:35:43 -04:00
Ben Newman
52823ec8b5 Update 64-bit Mongo to version 3.6.4. 2018-04-25 11:20:13 -04:00
Ben Newman
86e4ee1d93 Copy {lib,ssl}eay32.dll into dev_bundle\mongodb\bin on Windows. 2018-04-25 11:20:13 -04:00
Ben Newman
76e03f51f3 Update remaining mentions of Meteor 1.6.2 to 1.7. 2018-04-25 10:09:51 -04:00
Ben Newman
5824129a34 Bump package versions for 1.7-beta.24 release. release/METEOR@1.7-beta.24 2018-04-24 12:40:07 -04:00
Ben Newman
e2f7754b9b Disable SQLite journal_mode=TRUNCATE to fix #9703.
https://github.com/meteor/meteor/issues/9703#issuecomment-383620007

We will reconsider this change in Meteor 1.7.1, but in the meantime the
METEOR_SQLITE_JOURNAL_MODE environment variable can be used to override
the default journal mode (WAL).

cc @brucejo75
2018-04-24 12:35:26 -04:00
Ben Newman
e1e2c2b490 Terminate SQLite database connection before springboarding.
https://github.com/meteor/meteor/issues/9703#issuecomment-383620007
2018-04-24 11:37:33 -04:00
Ben Newman
6bcf2fbee9 Default buildMode to development for meteor run command.
Another attempt to fix {debug,prod}Only package self-test failures:
https://circleci.com/gh/meteor/meteor/19960
2018-04-24 11:11:37 -04:00
Ben Newman
8b8f93fe03 Make {debug,prod}Only packages self-test more verbose. 2018-04-24 11:11:36 -04:00
Ben Newman
898fb692ce Clear npm cache before running --get-ready. 2018-04-24 11:11:36 -04:00
Ben Newman
1e8846d155 Stop passing --expose-gc to Node during Circle CI tests.
Related: 90e4d7dc7b
2018-04-24 09:51:17 -04:00
Ben Newman
99a72dee4b Stop setting lower ulimit on file descriptors in Circle CI containers.
Now that we're using containers rather than physical machines, the default
value of `ulimit -n` is 65536, which is much greater than 4096.
2018-04-24 09:51:17 -04:00
Ben Newman
622c3d48bc Fix Circle CI memory logging when $USER undefined. 2018-04-24 09:51:17 -04:00
Christian Klaussner
1555e3e1e3 Update MongoDB driver to 3.0.7 (#9831)
The internal `client.s` property is no longer necessary to create the database object. If `MongoClient.prototype.db` is called without arguments, it will use the database name from the connection URI
(https://jira.mongodb.org/projects/NODE/issues/NODE-1258).
2018-04-20 13:26:24 -04:00
Sashko Stubailo
1c0ebbf2f0 Update Roadmap.md 2018-04-19 08:22:55 -07:00
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