Commit Graph

8268 Commits

Author SHA1 Message Date
Ben Newman
b8513774cb Bump package versions for 1.4.3.3-beta.3 release. 2017-03-16 18:57:40 -04:00
Ben Newman
6d11b05803 Rebase packages/non-core/blaze submodule against master.
This will include https://github.com/meteor/blaze/pull/243.
2017-03-16 18:57:32 -04:00
Ben Newman
718414d388 Reinstate @abernix's revert of Blaze HTML5 attribute tests.
These changes can be found on the minifier-babili branch:
https://github.com/meteor/blaze/tree/minifier-babili
2017-03-16 18:29:43 -04:00
Ben Newman
0cbd25111d Implement Promise-returning server-side Meteor.{call,apply}Async methods.
This is a partial revival of my old #5005 pull request. While we never
came up with a good idiom for Promise-based method stubs on the client,
the server-side changes in this commit should fix #8367.
2017-03-16 18:23:45 -04:00
Ben Newman
046b3f0e92 Bump package versions for 1.4.3.3-beta.2 release. 2017-03-16 17:40:44 -04:00
Ben Newman
9cb1881796 Bump markdown version to 1.0.12. 2017-03-16 17:39:17 -04:00
Ben Newman
198e8a9a78 Apply https://github.com/meteor/meteor/pull/8439 to blaze submodule. 2017-03-16 15:11:23 -04:00
Ben Newman
7df133e330 Bump package versions for 1.4.3.3-beta.1 release. 2017-03-16 13:08:19 -04:00
Ben Newman
1149849c8a Update standard-minifiers/package.js to capture new JS minifier. 2017-03-16 13:01:05 -04:00
Ben Newman
e3de42e989 Bump package versions for 1.4.3.3-beta.0 release. 2017-03-16 12:26:05 -04:00
Ben Newman
761f4c381a Shorten initial section of force-ssl/package.js to allow publishing. 2017-03-16 12:26:02 -04:00
Ben Newman
1332757655 Upgrade the reify npm package to version 0.5.1. 2017-03-16 12:18:17 -04:00
Ben Newman
06574b78a7 Update meteor-babel to version 0.18.0.
The most important change in this version is that the Reify compiler can
now compile these useful `export ... from ...` extensions:

  https://github.com/leebyron/ecmascript-export-ns-from
  https://github.com/leebyron/ecmascript-export-default-from

Fixes #8432 (`transform-export-extensions` no longer needed).
2017-03-16 11:28:43 -04:00
Ben Newman
9c306ded99 Merge branch 'devel' into release-1.4.3.x 2017-03-16 11:28:35 -04:00
Ben Newman
89e1814f2e Merge branch 'devel' into use-babili-instead-of-uglify 2017-03-15 11:52:50 -04:00
Hugh Willson
987b921f34 Adjusted force-ssl to work with the forwarded header (RFC 7239). (#8440)
* Adjusted force-ssl to work with the forwarded header (RFC 7239).

* Fixed invalid Object.assign call.
2017-03-15 11:47:12 -04:00
Ben Newman
7bc2b7ce5f Capitalize MeteorBabelMinifier. 2017-03-15 11:18:37 -04:00
Ben Newman
9d4d7488a7 Update meteor-babel to version 0.17.2.
The most important change in this version is that the Reify compiler is
now just another Babel plugin, so it's possible for other Babel presets
and plugins to run before it.

Fixes #8399.
Fixes #8422.
Fixes https://github.com/meteor/babel/issues/13.
2017-03-14 18:07:03 -04:00
Jesse Rosenberger
5f2039f1ff Bump package versions for the official 1.4.3.2 release. 2017-03-14 10:53:26 +02:00
Jesse Rosenberger
486ce486a7 Ensure errors the minifier encounters are easy to understand.
While Babili is much better about handling modern ECMAScript constructs
than its UglifyJS predecessor, it may still be possible for an error to
occur during minification.

To account for that unlikely situation, and to preserve the code already
written to assist in that situation, this implements an error re-throw
in a similar fashion to that of 1a380f5532.
2017-03-13 17:54:35 +02:00
Jesse Rosenberger
735cb17903 Prefer non-ES6 in order to avoid including ecmascript.
The `ecmascript` package, when `use`'d in a compiler, is included in the
build of the package, thus increasing the size.  For this simple package
I'm not sure the benefits will actually be worth it.
2017-03-13 16:04:44 +02:00
Jesse Rosenberger
34da752c7c Use 'minifier-babili' branch of 'blaze' repository.
This points the `blaze` submodule in the Meteor repository to:

https://github.com/meteor/blaze/tree/minifier-babili

This `minifier-babili` branch excludes new HTML5 tests which are failing
on PhantomJS, namely, the HTML5 tests which were added by:

04db0d40ce

While I believe the `VIDEO` tests are the most problematic, there is
nothing about the tests themselves which are lacking.  In fact, the
tests do run successfully on the Blaze repository and the changes have
actually been released for a number of months on Blaze itself, however
the submodule in Meteor hasn't been updated until now.

Meteor only uses `blaze` for generating templates in the
`boilerplate-generator` package and doesn't utilize the HTML5 in
question, nor is Meteor responsible for Blaze testing anymore.

Ultimately, our `test-in-console` needs to be updated to use
another option aside from PhantomJS, but I don't believe that should
hold up releasing this Babili minifier which solves a number of issues
in meteor/meteor#8378.
2017-03-13 15:55:50 +02:00
Jesse Rosenberger
ae458cce08 Bump package versions for 1.4.3.2-rc.0 release. 2017-03-13 15:00:52 +02:00
Jesse Rosenberger
55bdef485f Bump package version of npm-mongo for 1.4.3.2-beta.0 release. 2017-03-09 20:07:47 +02:00
Jesse Rosenberger
d3f9d4ef82 Removing -beta.n suffix as check was aleady published. 2017-03-09 19:39:52 +02:00
Jesse Rosenberger
6fd559fa1c Merge branch 'release-1.4.3.x' into release-1.4.3.2 2017-03-09 16:58:55 +02:00
dr.dimitru
a9cd336ed5 Fix Mongo Error Message Object (#8266)
The Mongo error property, `errmsg`, has been changed to `err` on newer versions of Mongo.  This commit adds support for the new property without dropping support for older Mongo versions.

Partially addresses https://github.com/meteor/meteor/issues/7758#issuecomment-253076694
Discussed in https://github.com/meteor/meteor/pull/8175#issuecomment-273441401
2017-03-09 16:54:38 +02:00
Jesse Rosenberger
b92c88fe5c Merge pull request #8453 from meteor/laosb-bump-mongodb-driver-2-2-24
Bump mongodb driver to 2.2.24
2017-03-09 16:45:13 +02:00
Jesse Rosenberger
9030faa57e Bump package versions for 1.4.3.2-beta.0 release. 2017-03-09 16:41:57 +02:00
Jesse Rosenberger
1ebd907804 Remove version constraint from ecmascript in shell-server.
We only need version constraints on core packages in some cases.  For
example, when referring to "core" package wrappers (like `npm-mongo`)
which uses an API outside the Meteor build system.
2017-03-09 13:51:35 +02:00
Seth Murphy
8f041369ae Updated babel-compiler to use meteor-babel from npm 2017-03-08 18:01:25 -05:00
Ben Newman
525568c80c Merge pull request #8446 from mattmccutchen/shell-syntaxerror
Shell: Don't be confused by SyntaxErrors thrown by command execution.
2017-03-08 15:14:24 -05:00
Ben Newman
ac8fa03ba7 Fix deprecation warnings due to legacy mongoOptions.
Warning text: "the server/replset/mongos options are deprecated, all their
options are supported at the top level of the options object"
2017-03-08 14:01:28 -05:00
Jesse Rosenberger
0281012fdc Rename appMiddleware to connectApp.
Because as @hwillson rightfully points out:

> that's what we're really exposing and `connect` themselves refer to the container that holds the defined middleware (the result of calling the `connect()` function) as a connect "app"."
2017-03-08 20:27:32 +02:00
domq
63b8dc04eb Export "app"
As per the comment on line 653, this appears to be the best (only?) way to let users do things like set up a custom error page to catch app-rendering-time exceptions.
2017-03-08 20:27:32 +02:00
Ben Newman
f23c11b37d Update npm-mongo/.npm/npm-shrinkwrap.json after version bump. 2017-03-08 12:14:20 -05:00
Wexpo Lyu
72b5b33555 Bump mongodb driver to 2.2.24
Fixes #8449
2017-03-08 12:11:14 -05:00
Jesse Rosenberger
4ce0de7b16 Bump version in preparation for publishing. 2017-03-08 18:50:37 +02:00
Hugh Willson
44bb4b6506 Added missing docs for Meteor.apply's options.throwStubExceptions. 2017-03-08 11:45:08 -05:00
Jesse Rosenberger
4a9ddb6404 Add TODO about Node.js 6 repl changes.
Just a note to revisit this/clean-up in Node 6 as the `Recoverable` is now exported from Node 6's `eval` and this is no longer necessary.

* https://github.com/nodejs/node/blob/v6.x/lib/repl.js#L1398
* https://nodejs.org/api/repl.html#repl_custom_evaluation_functions
2017-03-03 17:16:39 +02:00
Matt McCutchen
28309de07b Shell: Don't be confused by SyntaxErrors thrown by command execution.
Apply the check for a SyntaxError indicating an incomplete command only
to the ECMAScript translation and parsing of a command and not to the
execution, following the example of Node's defaultEval function.

Fixes #8290.
2017-03-02 16:23:30 -05:00
Hugh Willson
56ad858559 Prevent accounts configuration UI warning from showing when using service-configuration. (#8429) 2017-03-01 19:01:19 +02:00
Jesse Rosenberger
eb458300e8 Change formatting on isArray helper method. 2017-03-01 18:46:05 +02:00
brucejo
5f0de68975 Added vm generated array test, commented isArray function 2017-03-01 18:46:04 +02:00
brucejo
429529fbaf created function to test isArray, updated tests 2017-03-01 18:46:04 +02:00
brucejo
138ceb1ca4 Complete fix for #8160, handle subclassed objects. Added test 2017-03-01 18:46:04 +02:00
Dave Workman
1fe319306b Implemented $bitsAllClear, $bitsAllSet, $bitsAnyClear, $bitsAnySet in minimongo (#8350)
* Implemented $bitsAllSet, $bitsAllClear, $bitsAnyClear, $bitsAnySet in mini-mongo

* Refactored bitwise operator implementations in minimongo

* Use _.isUndefined instead of typeof

* Removed unnecessary comment.

* Refactored bit comparisons into functions
2017-03-01 18:33:52 +02:00
Khang Nguyen-Le
241c92d590 Add callback to DDPRateLimiter.addRule, run after a rule is executed (#8237)
* Add callback to DDPRateLimiter.addRule, run after a rule is executed

* Change signature and add tests for DDPRuleLimter callback
2017-03-01 18:14:47 +02:00
Jesse Rosenberger
97226b511d Merge branch 'master' into devel 2017-03-01 13:09:23 +02:00
Jesse Rosenberger
6ec8143518 Bump package version in preparation for publishing. 2017-03-01 12:39:56 +02:00