Commit Graph

19233 Commits

Author SHA1 Message Date
Ben Newman
c26ec896bf Bump package versions for 1.6-beta.6 release. release/METEOR@1.6-beta.6 2017-07-11 12:28:14 -04:00
Ben Newman
1eda715f48 Upate eslint shrinkwrap for npm@5.2.0. 2017-07-11 12:28:11 -04:00
Ben Newman
11655454eb Merge branch 'master' into release-1.6 2017-07-11 12:22:28 -04:00
Ben Newman
bc0d208fa9 Bump $BUNDLE_VERSION to 8.1.7 before rebuilding dev bundle. 2017-07-11 12:07:49 -04:00
Ben Newman
75373000bd Update npm to version 5.2.0.
http://blog.npmjs.org/post/162844303435/v520-2017-07-05
2017-07-11 12:07:48 -04:00
Ben Newman
36302ba715 Set METEOR_WATCH_PRIORITIZE_CHANGED to "false" in "update during run" self-test. 2017-07-11 12:07:47 -04:00
Ben Newman
fa7eb891e4 Bump package versions for 1.6-beta.5 release. 2017-07-11 12:07:47 -04:00
Ben Newman
12753cb916 Additional timeouts for Meteor 1.6 failing tests.
Note that eee519ad58 greatly reduced the
TIMEOUT_SCALE_FACTOR for Circle CI tests, which likely caused some tests
to time out more often, so these additional timeouts are really just a way
of re-bumping individual timeouts, which arguably leaves the test suite in
a better overall state of health.
2017-07-11 12:07:46 -04:00
Ben Newman
80f629f0a5 Bump $BUNDLE_VERSION to 8.1.6 before rebuilding dev bundle. 2017-07-10 13:29:37 -04:00
Ben Newman
adade1de2b Upgrade Node to 8.1.3 and npm to 5.1.0. 2017-07-10 13:29:37 -04:00
Ben Newman
7ac2a5c229 Update various shrinkwraps to include integrity hashes. 2017-07-10 13:23:47 -04:00
Ben Newman
5146864012 Merge branch 'release-1.5.1' into release-1.6 2017-07-10 13:22:45 -04:00
Ben Newman
fdf17e01eb Bump package versions for 1.5.1-rc.4 release. release/METEOR@1.5.1-rc.4 2017-07-10 12:52:38 -04:00
Ben Newman
82b0419035 Mention lazy prioritized file watching in History.md. 2017-07-10 12:47:48 -04:00
Ben Newman
86eedd4bc6 Make METEOR_WATCH_PRIORITIZE_CHANGED opt-out instead of opt-in.
This restores the behavior of 8c70716954 by
default, with the option of disabling the prioritized file watching system
by setting METEOR_WATCH_PRIORITIZE_CHANGED explicitly to "false".

The self-tests where the environment variable is explicitly set form a
nice to-do list of tests that should be improved to be more robust to cope
with differences in file watcher timing.

Helps with #8648 and similar issues.
2017-07-10 12:31:11 -04:00
Ben Newman
4835418695 Bump $BUNDLE_VERSION to 4.8.20 before rebuilding dev bundle. 2017-07-10 12:26:12 -04:00
Ben Newman
c90801c24e Upgrade meteor-babel to version 0.22.0. 2017-07-10 12:26:11 -04:00
Ben Newman
2b79dc7cd1 Bump boilerplate-generator package version to 1.1.1.
This version includes a01be34618.
2017-06-30 13:08:36 -04:00
Ben Newman
4051780fc1 Bump package versions for 1.5.1-rc.3 release. release/METEOR@1.5.1-rc.3 2017-06-30 11:43:14 -04:00
Ben Newman
54c4dbcbf7 Require opting into the behavior introduced by the previous commit.
Although I think 8c70716954 is a good idea
in practice, it altered the timing of self-tests enough to cause a number
of failures, so for now that behavior will be gated behind the environment
variable METEOR_WATCH_PRIORITIZE_CHANGED.
2017-06-30 11:41:00 -04:00
Ben Newman
8c70716954 Use native file watchers only to watch recently changed files.
This drastically reduces the number of open file descriptors by not
preemptively acquiring a file descriptor for every watched file.

The downside is that the first time you edit a particular file, you may
have to wait up to DEFAULT_POLLING_INTERVAL milliseconds before Meteor
notices the change. The upside is that changes will be detected
instantaneously for that file in the future, even after restart.

If holding open too many file descriptors is indeed a contributing factor
to issues such as #8648, then this change should go a long way towards
mitigating those problems.

cc @abernix @hwillson
2017-06-30 10:24:11 -04:00
Ben Newman
e86600b52b Rename "watchers" to "entries" where appropriate in safe-watcher.js. 2017-06-30 10:06:19 -04:00
Jesse Rosenberger
d97c916c19 Merge pull request #8858 from hasantayyar/patch-1
Update Facebook api version in loginUrl
2017-06-30 11:33:58 +03:00
Jesse Rosenberger
384e3a5d94 Bump accounts-facebook version in preparation for publishing.
As a required bump for `facebook-oauth` dependency bump in
6f92ae9838b19914016e8c77a976d006279fc0b9 for
https://github.com/meteor/meteor/pull/8858.
2017-06-30 10:54:53 +03:00
Jesse Rosenberger
d72c55f0a2 Bump facebook-oauth version in preparation for publishing.
For https://github.com/meteor/meteor/pull/8858.
2017-06-30 10:54:50 +03:00
Ben Newman
e0565d5d16 Bump package versions for 1.5.1-rc.2 release. release/METEOR@1.5.1-rc.2 2017-06-29 16:21:11 -04:00
Ben Newman
fb73388ce3 Make server-render API more flexible and isomorph-ish.
Render callbacks can now inject HTML content into multiple different
elements, and may also append content to the <head> or <body> elements, on
both the client and the server.

This new API was inspired by trying to use the styled-components npm
package on the server, which involves not only rendering and injecting
static HTML somewhere in the <body>, but also appending the resulting
<style> tag(s) into the <head>:

  import { onPageLoad } from "meteor/server-render";
  import { renderToString } from "react-dom/server";
  import { ServerStyleSheet } from "styled-components";

  onPageLoad(sink => {
    const sheet = new ServerStyleSheet();
    const html = renderToString(sheet.collectStyles(
      <App location={sink.request.url} />
    ));

    sink.renderIntoElementById("app", html);
    sink.appendToHead(sheet.getStyleTags());
  });

Note that the server-render package now exports an onPageLoad function,
rather than the old renderIntoElementById function. The functionality of
renderIntoElementById is now exposed by the {Client,Server}Sink API.

I say the client-side version of this API is 'isomorphish' to the
server-side version, because ClientSink methods can accept DOM nodes in
addition to raw HTML strings, whereas DOM nodes don't really make sense on
the server.
2017-06-29 15:08:32 -04:00
Hasan Tayyar BEŞİK
3096dac5b2 Update Facebook api version in loginUrl
The most recent version of the API is Version 2.9, which was introduced on April 18th, 2017 https://developers.facebook.com/docs/apps/changelog
2017-06-29 10:31:25 +02:00
Ben Newman
eee519ad58 Reduce default TIMEOUT_SCALE_FACTOR to hasten long test failures. 2017-06-28 13:32:12 -04:00
Ben Newman
38b7c051d1 Bump package versions for 1.6-beta.4 release. release/METEOR@1.6-beta.4 2017-06-28 11:37:27 -04:00
Ben Newman
9ce9563b89 Bump minor versions of packages dependent on accounts-password. 2017-06-28 10:08:33 -04:00
Ben Newman
2b89d420c9 Keep accounts-password on the 1.x major version line.
Meteor 1.5.1 will pin version 1.4.x of the accounts-password package, so
Meteor 1.6 only needs to use a different (greater) minor version.

Related: 0ad123db5b
2017-06-28 10:01:16 -04:00
Ben Newman
576641658c Bump package versions for 1.5.1-rc.1 release. release/METEOR@1.5.1-rc.1 2017-06-27 20:06:58 -04:00
Ben Newman
cfc2c25d1d Update package-lock.json and shrinkwraps for modules test app. 2017-06-27 19:22:04 -04:00
Ben Newman
4b48283fc9 Bump $BUNDLE_VERSION to 8.1.5 before rebuilding dev bundle. 2017-06-27 19:22:04 -04:00
Ben Newman
4413d5e871 Update npm to version 5.0.4. 2017-06-27 19:22:04 -04:00
Ben Newman
5b05f8be3d Conform http package shrinkwrap file to package-lock.json format. 2017-06-27 19:22:04 -04:00
Ben Newman
c23d4d9423 Expand History.md entry about npm@5.0.3. 2017-06-27 19:22:04 -04:00
Ben Newman
f922a7c59c Conform less and stylus shrinkwraps to package-lock.json format. 2017-06-27 19:22:04 -04:00
Ben Newman
c78b1dfb2f Use URL versions for npm packages installed from URLs.
If a package has a semantic (x.y.z) version in npm-shrinkwrap.json, npm
appears to install it always from the npm registry, rather than the
original tarball URL (uncommon but used by the less and stylus Meteor
packages, among others).
2017-06-27 19:22:04 -04:00
Ben Newman
42526ea5a8 Additional timeouts for CSS hot code push tests. 2017-06-27 19:22:04 -04:00
Ben Newman
355558d28a Additional timeout for compiler plugin caching tests. 2017-06-27 19:22:04 -04:00
Ben Newman
b80b4108b1 Fix modules tests broken by the upgrade to npm 5.0.3.
The new version of npm no longer tolerates stray packages in node_modules
that are not mentioned in package.json, such as node_modules/repl.
2017-06-27 19:22:04 -04:00
Ben Newman
652f459d92 Bump $BUNDLE_VERSION to 8.1.4 before rebuilding dev bundle. 2017-06-27 19:22:04 -04:00
Jesse Rosenberger
0b40dde4ae Account for different error messages in npm v5.
Much in the same way as these were changed from v3 to v4, they have been
changed again!
2017-06-27 19:22:04 -04:00
Jesse Rosenberger
3fa78bf02d Don't put node-gyp into a tiered node_modules on Windows dev bundle.
This was preventing `node-gyp` from installing the Node header files on
Windows and was the reason that `minimatch` was not being found, as seen
in https://github.com/meteor/meteor/pull/8831.

The `minimatch` module was present, but it was just in `dev_bundle/lib`,
not in `dev_bundle/lib/node_modules/npm/node_modules`.

This expecation may have been expected from older versions of npm but is
no longer the case.  This replicates the behavior of the Unix
`generate_dev_bundle.sh` script, which also does not nest `node-gyp`.

/cc @benjamn
2017-06-27 19:22:04 -04:00
Ben Newman
321c880498 Conform modules{,-runtime} shrinkwrap to package-lock.json format. 2017-06-27 19:22:04 -04:00
Ben Newman
ba0c09b1d9 Conform babel-compiler shrinkwrap file to package-lock.json format. 2017-06-27 19:22:04 -04:00
Ben Newman
12c496a266 Add a shrinkwrap file for meteor-jsdoc. 2017-06-27 19:22:04 -04:00
Ben Newman
fdd12e15e9 Stop clearing the npm cache unnecessarily before tests.
Based on this warning:

npm ERR! As of npm@5, the npm cache self-heals from corruption issues and
npm ERR! data extracted from the cache is guaranteed to be valid. If you
npm ERR! want to make sure everything is consistent, use 'npm cache
npm ERR! verify' instead.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this
npm ERR! command with --force.
2017-06-27 19:22:04 -04:00