Commit Graph

18494 Commits

Author SHA1 Message Date
Ben Newman
da57ab69a8 Remove version constraints from modules test app.
This would have prevented this Circle CI self-test failure:
https://circleci.com/gh/meteor/meteor/3595#tests/containers/3
2017-03-16 13:08:06 -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. release/METEOR@1.4.3.3-beta.0 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
ee87045c10 Update History.md to reflect initial changes for 1.4.3.3. 2017-03-16 11:59:35 -04:00
Ben Newman
07707cea4c Bump $BUNDLE_VERSION to 4.7.15 before rebuilding dev bundle. 2017-03-16 11:30:12 -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
4fcb4061be Bump $BUNDLE_VERSION to 4.7.14 before rebuilding dev bundle. 2017-03-16 10:54:02 -04:00
Ben Newman
55ad6796ab Merge pull request #8397 from eagerestwolf/devel
Updated standard-minifier-js to use Babili instead of UglifyJS.
2017-03-15 14:38:51 -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
8ac44432d0 Merge branch 'master' into release-1.4.3.x 2017-03-14 22:17:06 +02:00
Jesse Rosenberger
67fff9fa4d Add release date for 1.4.3.2 to History.md. 2017-03-14 18:37:49 +02:00
Jesse Rosenberger
6ea420fd0d Merge branch 'master' into devel 2017-03-14 18:34:34 +02:00
Jesse Rosenberger
523c944513 Merge pull request #8470 from meteor/release-1.4.3.2
Release 1.4.3.2
2017-03-14 17:28:53 +02:00
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
cf151e9dd9 Empty commit to maintain release-1.4.3.x PR after merging 1.4.3.2.
We'll see if this works as I hope it will.
2017-03-14 10:39:58 +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. release/METEOR@1.4.3.2-rc.0 2017-03-13 15:00:52 +02:00
Jesse Rosenberger
36b4fae9e5 Add links to Development.md from Contributing.md.
Many aspects regarding contribution of code can be better explained in the new `Development.md` so provide links to those relevant parts.

Follows up on https://github.com/meteor/meteor/pull/8267
2017-03-10 14:48:01 +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
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
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