Commit Graph

17280 Commits

Author SHA1 Message Date
Ben Newman
11833c4e66 Bump package versions for 1.4-rc.1 release. release/METEOR@1.4-rc.1 2016-07-20 14:05:27 -04:00
Ben Newman
918f9bddad Merge branch 'devel' into release-1.4 2016-07-20 14:03:47 -04:00
Tom Coleman
258b14af0c Allow passing applySkipLimit to count and default it to false.
Not currently supported in minimongo, so I'm not sure we want to
document it yet. Supporting it (and making it consistent) in MM
will take a little bit of work:
https://github.com/meteor/meteor/issues/1201
2016-07-20 11:24:32 +10:00
Tom Coleman
bb0a9e2e99 Merge pull request #7425 from meteor/findOne-undefined
Note in docs that findOne can return undefined
2016-07-20 08:33:54 +10:00
Tom Coleman
0aaa2e1414 Merge branch 'abernix-meteor-issue-7416' into devel 2016-07-20 08:27:12 +10:00
Tom Coleman
8a64476b5f Merge branch 'meteor-issue-7416' of https://github.com/abernix/meteor into abernix-meteor-issue-7416
Conflicts:
	History.md
2016-07-20 08:26:22 +10:00
Ben Newman
83e87aaaef Revise PERFORMANCE.md now that constraint solutions are cached. 2016-07-19 12:26:35 -04:00
Ben Newman
7600571717 Revert "Make sure .meteor/.gitignore ignores .meteor/dev_bundle."
This reverts commit 9e6ebde836.

Now that the `dev_bundle` link is called `.meteor/local/dev_bundle`, and
`.meteor/local` is already ignored, we don't need to ignore
`.meteor/dev_bundle` anymore.
2016-07-19 11:52:31 -04:00
Ben Newman
dc28c29985 Update modules test app to Meteor 1.3.5.1. 2016-07-18 20:11:52 -04:00
Ben Newman
79d5a7139f Bump package versions for 1.4-rc.0 release. release/METEOR@1.4-rc.0 2016-07-18 14:57:24 -04:00
Ben Newman
00c05facde Merge branch 'devel' into release-1.4 2016-07-18 14:52:14 -04:00
Ben Newman
78af10a047 Merge pull request #7407 from meteor/release-1.3.5
Release 1.3.5
2016-07-18 18:38:31 +00:00
Ben Newman
ea3153230e Bump package versions for the official 1.3.5.1 release. release/METEOR@1.3.5.1 2016-07-17 21:51:38 -04:00
Ben Newman
095521fcbb Update History.md to reflect changes in 1.3.5.1. 2016-07-17 21:50:57 -04:00
Ben Newman
df7d19915a Bump package versions for 1.3.5.1-rc.1 release. release/METEOR@1.3.5.1-rc.1 2016-07-17 21:33:32 -04:00
Ben Newman
39851fc6b0 Use known dev_bundle path for internal npm commands. 2016-07-17 21:26:53 -04:00
Loren Sands-Ramshaw
9511c9f0b5 Note in docs that findOne can return undefined 2016-07-17 16:30:31 -04:00
Ben Newman
6e917eeb02 Bump package versions for 1.3.5.1-rc.0 release. release/METEOR@1.3.5.1-rc.0 2016-07-17 13:12:25 -04:00
Ben Newman
35b387bdc1 Always default to checkout dev_bundle for meteor {node,npm}. 2016-07-17 13:09:06 -04:00
Ben Newman
4e2615e3fc Use Buffer.concat instead of joining strings. 2016-07-17 13:08:37 -04:00
Ben Newman
576468eae8 Handle more errors in ensureDevBundleLink.
If a developer tried to `meteor update` a project whose `.meteor/release`
file corresponded to a version of `meteor-tool` that no longer exists in
`~/.meteor/packages/meteor-tool`, this code would throw an ENOENT error.
This could be fixed by running `meteor update --release <old release>`
first, but that kind of workaround shouldn't be necessary when updating
Meteor to the latest version.
2016-07-17 12:50:20 -04:00
Ben Newman
23a2a457f5 Bump package versions for the official 1.3.5 release. release/METEOR@1.3.5 2016-07-16 14:05:35 -04:00
Ben Newman
785c1b08b4 Update History.md to mention GYP_MSVS_VERSION. 2016-07-16 14:04:14 -04:00
Jesse Rosenberger
34969a1eb7 History entry for #7416 2016-07-16 21:00:04 +03:00
Jesse Rosenberger
e02893fa43 Add missing History entry for 1.3.4.2 release regarding #5837
This change should be mentioned as it those who were manually prefixing their relative CSS paths with the same path as their ROOT_URL will need to remove the path.

Relates to meteor/meteor#7416
2016-07-16 20:54:28 +03:00
Jesse Rosenberger
fddaedeb08 Don't rewrite network path references in CSS URLs.
Fixes regression caused in 1.3.4.1 which caused network path reference URLs (i.e. //img.domain.com/path/font.eot) used in CSS `url()`'s' to be stripped of their leading slashes causing them to become relative URL paths.

Closes meteor/meteor#7416
2016-07-16 20:54:28 +03:00
Jesse Rosenberger
ccd7dc40c8 Add test for CSS URL re-writing of network-path references
Catches bug found in meteor/meteor#7416 caused by regression in 1b34866de2
2016-07-16 20:54:28 +03:00
Ben Newman
ac7660e41a Bump package versions for 1.3.5-rc.3 release. release/METEOR@1.3.5-rc.3 2016-07-16 12:34:08 -04:00
Ben Newman
57ccaa27f9 Return an OS path for .meteor/local/dev_bundle. 2016-07-15 18:29:44 -04:00
Ben Newman
f08ea70a47 Print stack traces from failed meteor {node,npm} commands. 2016-07-15 18:29:13 -04:00
Ben Newman
4896510aa9 Bump package versions for 1.3.5-rc.2 release. release/METEOR@1.3.5-rc.2 2016-07-15 16:28:01 -04:00
Ben Newman
a14bdc3774 Disable progress bar animations for internal npm commands.
https://github.com/npm/npm/issues/11283
2016-07-15 16:27:46 -04:00
Ben Newman
0f49be5973 Don't pass custom env to python.exe in addWindowsVariables.
The env isn't necessary, and it seems to cause problems running python.exe
in some Windows environments.
2016-07-15 16:27:46 -04:00
Ben Newman
578d40a753 Use node-gyp to infer GYP_MSVS_VERSION when possible.
As a refinement of my previous commit, we will continue setting the
$GYP_MSVS_VERSION variable to "2015" except in cases where the Python
library behind node-gyp succeeds in inferring the correct version.

Note that the Python library will never infer "2015" by itself, even
though that's the version recommended by the node-gyp setup instructions:

  https://github.com/nodejs/node-gyp#installation.

Note also that the Windows machines used by `meteor admin get-machine` and
build.meteor.com have version "2010e", which can be inferred.

In other words, this commit allows the following groups of developers to
avoid setting $GYP_MSVS_VERSION manually:

  1. Developers who followed the node-gyp setup instructions.
  2. Package authors who run `meteor publish-for-arch` on build machines.
2016-07-15 15:57:31 -04:00
Ben Newman
3c06050a25 Stop setting process.env.GYP_MSVS_VERSION for meteor npm.
Setting GYP_MSVS_VERSION to 2015 when the Visual C++ 2015 build tools are
not (and/or cannot be) installed is (in my experience) the leading cause
of `npm rebuild` failures on older Windows machines.

Auto-detecting the appropriate version is something node-gyp ought to be
able to do as well as Meteor possibly could, at least according to
https://github.com/nodejs/node-gyp/blob/1dcf356ca7/gyp/pylib/gyp/MSVSVersion.py#L222-L223

When selecting a different version is important, you can always set the
GYP_MSVS_VERSION environment variable yourself. Specifically, if you're a
package author, and your package depends on npm packages that can only be
compiled with a newer version of MSBuild.exe, then you might need to run

  $env:GYP_MSVS_VERSION = "2015"
  meteor publish-for-arch name:package@x.y.z

I fully trust that the folks in that small category can handle that
additional burden.
2016-07-15 12:42:49 -04:00
Ben Newman
5941000603 Write empty package.json to avoid warnings when installing from shrinkwrap. 2016-07-15 12:42:49 -04:00
Ben Newman
c4f899874b Bump npm-bcrypt version used by accounts-password. 2016-07-15 12:42:49 -04:00
Ben Newman
5982ab6161 Bump npm-bcrypt package version to 0.8.6_3.
Republishing may help with #7408.
2016-07-14 20:53:09 -04:00
Ben Newman
c8a55feaa5 Bump package versions for 1.3.5-rc.1 release. release/METEOR@1.3.5-rc.1 2016-07-14 17:07:30 -04:00
Ben Newman
e85cef8e1a Make download resumption test faster and more deterministic.
We now use a smaller file (the `babel-compiler` archive instead of
`meteor-tool`), and we interrupt every 500kB, which leads to three total
interruptions for that file. Also, we only delay one second (instead of
five) between attempts.
2016-07-14 17:00:08 -04:00
Ben Newman
91f203999b Make download resumption test always run (and pass).
This is a test that really needs to run and pass every time we run the
test suite, so I decided it shouldn't be --slow. If it takes too long, we
can always download a smaller test file.

Hard-coding the download length was a recipe for brittleness, so now I'm
downloading the file without interruptions in parallel with the
interrupted/resumed download, so that we can compare the two files when
both have finished downloading.

Follow-up to #7399.
2016-07-14 16:05:35 -04:00
Ben Newman
7a530f79f6 Increase more test timeouts for robustness' sake. 2016-07-14 14:52:41 -04:00
Ben Newman
d20dcbeab5 Don't let meteor {node,npm} fail if packages.data.db incomplete.
It's pretty strange that `data` can be undefined when there is no `error`,
but that's the API we're dealing with.
2016-07-14 14:39:38 -04:00
Ben Newman
f0e3522b3c Make autoupdate self-test more robust. 2016-07-14 13:53:53 -04:00
Ben Newman
9c31fa0cc6 Increase inotify user watch count for Circle CI tests.
See also: https://circleci.com/blog/sudo-circleci-make-me-a-sandwich/
2016-07-14 13:18:21 -04:00
Ben Newman
a6e2cd82c6 Bump package versions for 1.3.5-rc.0 release. release/METEOR@1.3.5-rc.0 2016-07-14 13:00:52 -04:00
Ben Newman
9ae91e7b73 Rename upgrader that removes .meteor/dev_bundle. 2016-07-14 12:51:17 -04:00
Ben Newman
9131700684 Bump package versions for 1.3.5-beta.0 release. release/METEOR@1.3.5-beta.0 2016-07-14 12:04:53 -04:00
Ben Newman
0f039ea5d3 Bump $BUNDLE_VERSION to 0.6.19 before rebuilding dev bundle. 2016-07-14 11:47:33 -04:00
Ben Newman
e5b1b4f129 Update History.md to reflect changes in Meteor 1.3.5. 2016-07-14 11:47:33 -04:00