Commit Graph

18466 Commits

Author SHA1 Message Date
Jesse Rosenberger
5f2039f1ff Bump package versions for the official 1.4.3.2 release. release/METEOR@1.4.3.2 2017-03-14 10:53:26 +02:00
Jesse Rosenberger
ae458cce08 Bump package versions for 1.4.3.2-rc.0 release. release/METEOR@1.4.3.2-rc.0 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. release/METEOR@1.4.3.2-beta.0 2017-03-09 20:07:47 +02:00
Jesse Rosenberger
df3ee5863d Changing v.NEXT to v1.4.3.2 in preparation for release. 2017-03-09 19:46:39 +02:00
Jesse Rosenberger
d3f9d4ef82 Removing -beta.n suffix as check was aleady published. 2017-03-09 19:39:52 +02:00
Jesse Rosenberger
e012ad983b Merge branch 'release-1.4.3.x' into release-1.4.3.2 2017-03-09 19:34:54 +02:00
Jesse Rosenberger
65d950d8df Update History.md with changes for 1.4.3.x series. 2017-03-09 19:33:42 +02:00
Jesse Rosenberger
0eba75d832 Merge branch 'release-1.4.3.x' into release-1.4.3.2 2017-03-09 17:34:23 +02:00
Jesse Rosenberger
2f4e0124b0 Merge branch '20170303-dev-bundle-upgrades' into release-1.4.3.x 2017-03-09 17:33:28 +02:00
Jesse Rosenberger
511d43fe52 Upgrade versions of node-pre-gyp and node-gyp in the built bundle.
As a finishing move for ba06bf6eed, this
updates the versions of `node-pre-gyp` and `node-gyp` included in the
`meteor-dev-bundle`.
2017-03-09 17:19:04 +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
Jesse Rosenberger
6e4ebe2ba7 Merge branch 'devel' into release-1.4.3.x 2017-03-09 16:57:43 +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
6533878291 Merge branch 'devel' into release-1.4.3.x 2017-03-09 14:39:31 +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
Jesse Rosenberger
7e36188421 Development.md: How to Develop Meteor Itself (#8267)
* Blank slate Development.md

* Move "Running Tests" to Development.md

* Move "Running from a Git checkout" to Development.md

* Add information on running specific tests.

* Move the "run against local" disclaimer up to the first paragraph.

* Change header level to be the same as others.

* Remove superfluous section about running specific tests.

* Slight text adjustments

* Add information about continuous integration tests.

* Call the tool tests what they are: self-tests

* Add information about listing tests.

* "argument" => "option", since that's what it is.

* Move "more details" up higher in the text.

* Add test headings.

* How to: Run or exclude specific tests from the self-test tool.

* Add a link to Contributing.md from README.md

* Additional documentation = README.md files

* Add information about running your own CircleCI.

* Add section on code style.

* Add section on commit messages.

While the title is obvious, I guess I should add a commit description
here for the sake of fully explaining the importance of a good commit
message!  This commit, along with the ones before it should help make it
very clear how to contribute to Meteor!

* Update core contributor list.

In addition to adding myself, this adds Hugh Willson (@hwillson) and removes past contributors not currently active.

* Add information on finding work for those who want to contribute.

* Add link to documentation repo.

* Refer to the "Finding work" section from "Submitting pull requests".

* Refer to Roadmap.md from "Tracking project work".

* Hoist "Finding work" up to a more helpful location.

* Add note about files which are ignored by auto-linting.

* Clean up grammar on commit message "Fixes" notation bullet-point.

* Add link to guide.

* Suggest the use an alias for frequent contribution.

Per PR suggestions, add a suggestion to make an alias for more frequent use.  Also, due to difficulty of formatting aforementioned change, move unrelated Note (which didn't belong there) to a more prominent section called "Notes when running from a checkout"

* Add information about the "Dev Bundle".

This moves the dev bundle step out of the "Running from checkout", simplifying those steps, but breaks things down much more in its own, new, section.

* Changes as suggested.

Thanks to @klaussner and @hwillson for these suggestions!  I also changed some other trademark-y things. 😉

* Add a "more reading" section per discussion.

cc @hwillson

* Add a header to `Development.md` explaining its purpose.

Great suggestion, @benjamn.  Thanks.

* Fix header type of "Notes when running from a checkout".

This was inadvertently set as a "H1" (`#`) but should have been nested within the "Running from a Git checkout" section as an "H2" (`##`).
2017-03-09 13:30:32 +02: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
Jesse Rosenberger
c2c92b9b01 Allow malformed package.json when determining binary dependencies. (#8468)
We now check `package.json` in order to help make an educated decision
as to whether or not a package has binary dependencies which need to be
rebuilt.  In some cases, such as the `npmconf` npm which is included
as a dependency of `flow-router, the `package.json` is invalid (i.e.
empty), and we should silently permit this.

Fixes meteor/meteor#8427
2017-03-08 15:12:58 -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
2d0fa6483e [dx] Provide warning when METEOR_SETTINGS are used in development. (#8458)
This is a developer experience (DX) change.

In production, the `METEOR_SETTINGS` environment variable is used to
pass parameters which will be available in the `Meteor.settings` within
the app.  However, `METEOR_SETTINGS` is ignored when using the
`meteor-tool` itself as in development, environment variables are
often less desirable.  Additionally, there would be no reactivity when
changing settings was necessary, instead requiring that the `meteor`
tool be restarted entirely.

On more than one occasion, developers have been confused as to why the
`METEOR_SETTINGS` are not respected in development.  To make it more
clear when this is attempted (and clarify that they will _not_ be used),
provide the a clear warning before ignoring the `METEOR_SETTINGS`
variable.

Aims to avoid meteor/meteor#8455.
2017-03-08 11:57:01 -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
Ben Newman
05f6705d15 Merge pull request #8431 from hwillson/issue-8154
Added CLI help text for meteor update --all-packages.
2017-03-08 11:40:17 -05:00
Ben Newman
b18b1e2755 Force garbage collection more aggressively during package DB sync.
This is an effort to keep the `meteor --get-ready` command from running
out of memory during Circle CI tests, as mentioned in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-284431618
2017-03-06 20:34:56 -05:00
Ben Newman
ab0f9ba290 Force garbage collection more aggressively during meteor --get-ready.
This is an effort to keep the `meteor --get-ready` command from running
out of memory during Circle CI tests, as mentioned in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-284431618
2017-03-06 20:34:56 -05:00
Jesse Rosenberger
9e4c1cc3de Bump $BUNDLE_VERSION to 4.7.13 before rebuilding dev bundle. 2017-03-06 18:01:27 +02:00
Jesse Rosenberger
4402fec0ce Merge remote-tracking branch 'upstream/20170303-dev-bundle-upgrades' into release-1.4.3.x 2017-03-06 17:58:32 +02: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
Jesse Rosenberger
513c270013 Add quotes around "meteor update" command. 2017-03-03 16:46:13 +02:00
Jesse Rosenberger
f51c6822ae Upgrade Node.js to v4.8.0.
Release Notes:
  https://nodejs.org/en/blog/release/v4.8.0/
2017-03-03 03:07:23 +02:00
Jesse Rosenberger
ba06bf6eed Upgrade node-gyp to 3.5.0 and node-pre-gyp to 0.6.33.
`node-gyp` has been upgraded by a minor version and `node-pre-gyp` by a
patch version.

No notable changes aside from potentially improved support for `yarn` in
`node-pre-gyp`

The release notes for each are available below:

* node-gyp:
  * https://github.com/nodejs/node-gyp/releases/tag/v3.5.0
  * https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md#v350-2017-01-10

* node-pre-gyp:
  * https://github.com/mapbox/node-pre-gyp/releases/tag/v0.6.33
  * https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#0633
2017-03-03 02:26:13 +02:00
Jesse Rosenberger
8ea41588ea Upgrade npm to latest 4.x release, 4.3.0.
This is a minor version bump to npm.

The release notes are available at:
  https://github.com/npm/npm/releases/tag/v4.3.0
2017-03-03 02:23:36 +02:00
Jesse Rosenberger
3470516f93 Upgrade MongoDB to latest 3.2.x release, 3.2.12.
This is in a series of minor releases on the 3.2.x MongoDB track.

See Release Notes at:
  https://docs.mongodb.com/manual/release-notes/3.2/#feb-1-2017
2017-03-03 02:20:57 +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
Jesse Rosenberger
ad11a741bd Add brackets around package name.
To indicate that it's a variable, in the same way that `<target-version>` is notated (as well as other places in the `help.txt`).
2017-03-01 19:40:00 +02:00
Jesse Rosenberger
f4670e9337 Merge branch 'devel' into release-1.4.3.x 2017-03-01 19:18:08 +02:00
Hugh Willson
8b431c6f80 Removed additional "newer versions" message reference; not needed. 2017-03-01 12:03:59 -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