Commit Graph

18564 Commits

Author SHA1 Message Date
Ben Newman
251c6c9b8b Bump package versions for 1.5-beta.11 release. release/METEOR@1.5-beta.11 2017-03-14 16:13:25 -04:00
Ben Newman
fd7bbc5f7f Bump $BUNDLE_VERSION to 4.8.2 before rebuilding dev bundle. 2017-03-14 15:37:26 -04:00
Ben Newman
e79a4e9272 Merge branch 'devel' into release-1.5 2017-03-14 15:36:06 -04: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
Ben Newman
82e8d71e79 Set __esModule flag on import(...) namespace objects.
This small tweak would have made this commit unecessary:
1fac2ff3c1

Because we've already done the translation from CommonJS module.exports to
ES2015 namespace object, this flag should always be true.
2017-03-13 14:22:07 -04: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
Ben Newman
b1aa458e38 Bump package versions for 1.5-beta.10 release. release/METEOR@1.5-beta.10 2017-03-08 17:56:59 -05:00
Ben Newman
780cbf7896 Move dynamic-import/README.md to TODO.md and shorten README.md. 2017-03-08 17:56:53 -05:00
Ben Newman
db968ad975 Merge branch 'devel' into release-1.5 2017-03-08 17:33:45 -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
621d148909 Decompose maybeClearDynamicImportCache to declutter tests. 2017-03-08 14:58:35 -05:00
Ben Newman
ec3341e7ad Inline put(store, object) helper function since used only once. 2017-03-08 14:58:35 -05:00
Ben Newman
b6b4cd6a21 Set PhantomJS offline storage path/quota for dynamic import tests.
Telling PhantomJS where it can put offline data is critical for enabling
IndexedDB, which is critical for caching dynamically imported modules.
2017-03-08 14:46:17 -05:00
Ben Newman
ac451ac73f Respect METEOR_PHANTOMJS_* env vars in dispatch:phantomjs-tests.
Same changes as 185d8e9bc5
2017-03-08 14:46:17 -05:00
Ben Newman
f955d7610c Clone dispatch:phantomjs-tests package locally in dynamic-import app.
Revision: 831dfd19bd
2017-03-08 14:46:17 -05:00
Ben Newman
30f901bf02 Increase timeout for dynamic import(...) self-tests from 60s to 90s. 2017-03-08 14:46:17 -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
aab14126d1 Refresh to-do list in packages/dynamic-import/README.md. 2017-03-08 08:25:17 -05:00
Ben Newman
52c6c99b4d Remove versionsById IndexedDB object store.
Keeping track of the latest version for each module identifier was more
important when we were using localStorage, because it helped with
periodically removing unused module sources.

Since the storage limits for IndexedDB are substantially higher than for
localStorage, we can safely keep old versions in the cache, and reap the
benefits if those versions are ever needed again.

Eliminating this extra logic simplifies the caching logic considerably,
and also improves cache read performance.
2017-03-07 18:18:05 -05:00
Ben Newman
8c44044cd1 Ensure checkCount is decremented even if individual checks fail. 2017-03-07 18:14:37 -05:00
Ben Newman
23e82bb1ef Include more error information when IndexedDB operations fail. 2017-03-07 16:43:54 -05:00