Commit Graph

9501 Commits

Author SHA1 Message Date
Ben Newman
9221228919 Bump package versions for 1.6.2-beta.15 release. 2018-03-29 17:41:22 -04:00
Ben Newman
2179096387 Merge branch 'devel' into release-1.6.2 2018-03-29 10:25:28 -04:00
Michał Powaga
7b2aba09a0 Print nicer error message for missing Meteor package (#9719) 2018-03-29 09:51:18 -04:00
Ben Newman
7b06c6043a Downgrade uglify-es to version 3.3.9 (latest published version). (#9774)
* Downgrade uglify-es from 3.3.10 to 3.3.9 (latest published).

PR #9652 by @klaussner upgraded `uglify-es` from 3.2.2 to 3.3.10 to fix
issue #9647, but 3.3.9 is the latest version published to npm, and 3.3.10
seems to suffer from this bug: https://github.com/mishoo/UglifyJS2/issues/2896

For that reason, I think it might be best to downgrade `uglify-es` to
3.3.9, at least until 3.3.11 is published.

Since this bug causes `uglify-es` to throw during minification, the
`meteorJsMinify` function falls back to Babel's minifier, which is known
to use massive amounts of memory, and may be contributing to OOM problems
such as #9568. In other words, there's a chance that this downgrade will
help with #9568.

* Also bump standard-minifier-js package version.
2018-03-28 09:37:54 -04:00
Ben Newman
b4af69796c Make bundle-visualizer depend on webapp, since it imports meteor/webapp. 2018-03-27 18:35:35 -04:00
Ben Newman
05d62dbf9e Bump package versions for 1.6.2-beta.14 release. 2018-03-27 12:41:58 -04:00
Ben Newman
efdc66d614 Merge branch 'devel' into release-1.6.2 2018-03-27 12:15:11 -04:00
Cyrille Colin
cb525f37ae update cordova-plugin-meteor-webapp dependency to 1.6.0 (#9761) 2018-03-27 12:06:09 -04:00
Ben Newman
9c95b78d9e Upgrade install.js package to avoid calling Module.prototype.useNode.
f69158f0a1
2018-03-26 12:04:13 -04:00
Ben Newman
e50da2f367 Merge branch 'devel' into release-1.6.2 2018-03-23 21:17:53 -04:00
Matt
e0c800587c Bump oauth Meteor package version to 1.2.3. 2018-03-22 17:19:24 -04:00
Matt
42983d7063 Removed Fiber import from oauth package.
With commit 857edc2, Fiber is no longer used in oauth server so it is no longer necessary to import.
2018-03-22 17:18:34 -04:00
Ben Newman
eead9c100d Bump package versions for 1.6.2-beta.13 release. 2018-03-21 15:29:53 -04:00
Ben Newman
339f128bd4 Merge branch 'devel' into release-1.6.2 2018-03-21 15:23:01 -04:00
Jesse Rosenberger
b7ea617838 Bump minimongo package version to 1.4.4. 2018-03-21 21:11:44 +02:00
Jesse Rosenberger
39030204a9 Merge branch 'hwillson-mongo-3.6-upgrade-with-test-fix' into devel 2018-03-21 20:24:37 +02:00
Hugh Willson
7eaed1b43a Add $v operator to fix issue #9623 2018-03-21 19:27:04 +02:00
Hugh Willson
824d2d613b Adjust accounts connection close delay for tests
The accounts system `logoutOtherClients` method is using
a connection close delay to make sure clients have a chance
to get updated tokens, before older tokens are removed.
Certain tests are setting this delay to 0, to help speed
things up. The Meteor Mongo 3.6 changes have brought back in
the need to use Mongo journaling, since the ability to disable
journaling has been deprecated by Mongo. This means there is
now a slight performance hit on certain Mongo operations,
due to the increased time needed to cover the write to disk.
This slight performance hit is causing the tests that use the
0 connection close delay to fail, since they are not waiting
long enough for clients to get updated tokens, before they're
removed. These changes increase the test connection close
delay, to fix the failing tests.
2018-03-21 19:27:03 +02:00
Hugh Willson
542ad06b75 Revert the revert of "Upgrade to Mongo 3.6 (#9533)"
This reverts commit 85d74f8d2b.
2018-03-21 19:27:03 +02:00
MKRazz
857edc2079 Removed fiber wrapper around OAuth middleware. (#9740)
* Removed fiber wrapper around OAuth middleware.

With commit 3b18863, connect handlers are guaranteed to run in a fiber, making the fiber wrapper in the OAuth middleware superfluous. Additionally, because it manually wraps the middleware in a Fiber directly, it is losing access to the properties stored in the existing fiber (meteor/meteor-feature-requests#156).

* Bump oauth Meteor package version to 1.2.2.
2018-03-21 12:05:13 -04:00
Ben Newman
f9050936fa Merge pull request #9756 from meteor/update-meteor-babel-to-7.0.0-beta.42
Update meteor-babel to 7.0.0-beta.42.
2018-03-21 12:01:05 -04:00
Hugh Willson
d2db339087 Move markdown and showdown to packages/deprecated (#9737) 2018-03-21 11:52:01 -04:00
Pravdomil
ecf726ebf3 Make _debug reporting more consistent (#9678) 2018-03-21 11:43:48 -04:00
Ben Newman
4b2d6c22bc 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
2018-03-20 19:57:00 -04:00
Ben Newman
5fba1fd3e2 Bump meteor package version to 1.8.6 to publish with Meteor 1.6.0.1.
cc @abernix
2018-03-17 12:11:07 -04:00
Ben Newman
39ff1f413c Revert "Allow EnvironmentVariable#withValue callbacks to return Promises." (#9750)
This reverts commit 573f14f171.

As discussed with @glasser, this change may have been more disruptive than
helpful (e.g. #9730) and could also have negative performance
consequences. Since we don't actually rely on `withValue` awaiting the
result of the callback (yet), it seems safest to revert this change, and
possibly add a different method called something like `withAwaitedValue`
at some later time, if necessary.

Fixes #9730.
2018-03-17 02:59:28 -04:00
Ben Newman
3ee4b61b1d Bump package versions for 1.6.2-beta.12 release. 2018-03-07 14:39:22 -05:00
Ben Newman
cc77e963c5 Merge branch 'devel' into release-1.6.2 2018-03-07 12:31:43 -05:00
David Glasser
e5a4306b63 webapp: allow overriding httpServer.listen (#9720) 2018-03-07 12:04:54 -05:00
Timo Horstschäfer
aee0c15b06 Preserve error.stack in method callback (#9707) 2018-03-07 11:53:52 -05:00
Hugh Willson
4b7aabe321 Update stylus deprecation notice to use proper last version (#9702) 2018-03-07 11:48:51 -05:00
Seba Kerckhof
ccc6294018 Modernize route-policy (#9667) 2018-03-07 11:46:56 -05:00
James Burgess
20e89b9009 Modernize check package (#9638)
I've reverted match properties that return class instances back to normal functions, so that they can be called as constructors.

Also, I added tests to make sure we catch this issue if someone else gets the same idea that I had!
2018-03-07 11:36:48 -05:00
Seba Kerckhof
06863d0203 Modernize logging (#9636) 2018-03-07 11:33:29 -05:00
Seba Kerckhof
a4ffe2c627 Modernize mongo-id package (#9599) 2018-03-07 11:24:42 -05:00
James Burgess
4ebf089d88 Remove underscore from meteor-base (#9596)
This should shave down bundle sizes by 14.4 kb for many non-blaze projects.

The other core meteor packages have not depended on `underscore` since #9362. However, we are only able to remove this last dependency now due to the previous commit, which eliminated usages of `underscore` from apps that did not have the package listed in their `packages` files. This was causing CI test failures that now should be corrected.

Any meteor apps currently using `_` without `underscore` listed in their `packages` file will need to add the package explicitly.

Version number of `meteor-base` bumped from 1.3.0 to 1.4.0.

There are only a few uses of `underscore` in these apps, and two of them actually used `underscore` without having it explicitly listed in their `packages` file.

This is a problem, because the apps were relying on the dependency from `meteor-base`, which we want to remove to cut down bundle sizes.

For the `modules` test app, I've added `underscore` to the `packages` file, because it is using `_` in an assertion about the module system. For the other app and all other uses of `_`, rather than add `underscore` to the `packages` files, I took the modernization route and replaced the functions with their ES6 equivalents, and then removed `underscore` from all `packages` files.
2018-03-07 11:23:52 -05:00
Ben Newman
b575a8f753 Bump package versions for 1.6.2-beta.11 release. 2018-03-06 21:09:33 -05:00
Ben Newman
f14d50538e Merge branch 'devel' into release-1.6.2 2018-03-01 18:02:08 -05:00
Matt McCutchen
a770e9959f Mongo driver: Fix replaceNames to not replace null with {}. (#9710)
Fixes #9692.
2018-03-01 17:54:47 -05:00
Hugh Willson
6e2b5c4503 Revert "Update Mongo.Collection to strip undefined fields (#9671)" (#9712)
This reverts commit b4690a2541.
2018-03-01 11:53:31 -05:00
Hugh Willson
b4690a2541 Update Mongo.Collection to strip undefined fields (#9671)
`Mongo.Collection` has been updated to strip `undefined`
fields set in documents/selectors passed to `find`, `findOne`,
`insert`, `update`, etc. This lines the codebase up with the
changes made in
ce3885b6df,
and helps prevent "The Mongo server and the Meteor query
disagree on how many documents match your query" errors.

Fixes #9619.
2018-02-28 14:32:31 -05:00
Jesse Rosenberger
018f58bd33 Merge pull request #9682 from pravdomil/typos
fix typos
2018-02-28 12:08:26 +02:00
Jesse Rosenberger
ab4a71b24e Merge pull request #9698 from ko-dever/patch-6
Fix a typo in bundle-visualizer README
2018-02-28 12:07:56 +02:00
Jesse Rosenberger
4a913bbd69 Bump meteor core package version to 1.8.4.
This version of `meteor` has no other changes from 1.8.3, though it has
been intentionally published with version 1.6.0.1 of the Meteor tool,
rather than Meteor 1.6.1.

This is to accommodate for the change made in
https://github.com/meteor/meteor/commit/57533d22 which changed the way
code is packaged by the Isobuild linker.  Since packages which use a compiler
plugin include the linked content of the plugin within their published
package source, the linked source of a compiler plugin's
host package, which was published with Meteor 1.6.1, contains this new usage of
`Package._define`.  Unfortunately, the `meteor` packages pre-1.8.2
doesn't have the runtime definition of `Package._define`, and therefore fails,
as seen in https://github.com/meteor/meteor/issues/9700.

Some older versions of Meteor don't pin core packages quite in the right
way (1.4.2.x was notorious for this, though we believe it to be fixed in
Meteor 1.5.2+ thanks to https://github.com/meteor/meteor/commit/cfdc69bf71),
so this will be a bit problematic until those versions are no longer
actively used.  This is similar to the problem older versions of Meteor
would have consuming code which was packaged with newer versions of
Meteor and might contain newer ECMAScript syntax which doesn't need
transpilation on newer Node.js versions, but did on the Node.js runtime
included in older versions of Meteor.

Fixes: https://github.com/meteor/meteor/issues/9700.
2018-02-27 19:49:18 +02:00
ko-dever
ea7ef27f65 Fix a typo in bundle-visualizer README
Small typo fixed.
2018-02-26 10:43:19 +00:00
Ben Newman
78178d112e Bump package versions for 1.6.2-beta.10 release. 2018-02-23 19:23:53 -05:00
Ben Newman
c28d813745 Merge branch 'devel' into release-1.6.2 2018-02-23 18:39:06 -05:00
Ben Newman
bbd614932d Update meteor-babel and reify npm packages to latest versions.
Fixes #9676.
2018-02-22 10:49:09 -05:00
Ben Newman
7df7229732 Bump package versions for 1.6.2-beta.9 release. 2018-02-21 20:27:10 -05:00
Ben Newman
556d4bdb42 Bump package versions for 1.6.2-beta.8 release. 2018-02-21 18:39:08 -05:00