Commit Graph

9465 Commits

Author SHA1 Message Date
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
Ben Newman
a6191d4bad Merge branch 'devel' into release-1.6.2 2018-02-21 18:34:17 -05:00
Ben Newman
312763ea3e Bump meteor core package version to 1.8.3. 2018-02-21 18:31:41 -05:00
pravdomil
94bbfb220a fix typos 2018-02-21 21:06:20 +01:00
Mitar
c0ab6c8c9c Support for cursor iterator also on the server side. 2018-02-21 14:03:53 -05:00
Steven te Brinke
a11b85b53b Minifier js report used minifier (#9626)
* Remove outdated fallback.

* Report used minifier.

This allows packages such as standard-minifier-js to generate statistics per minifier, which is useful to analyze how often the fallback is needed.

* Use official name babel-minify instead of babeli.

* Bump minifier-js patch version to 2.3.3.

To account for the changes in meteor/meteor#9626.
2018-02-21 19:07:28 +02:00
Ron Currier
282b450008 Support <meteor-bundled-css /> pseudo-tag for controlling position of CSS bundle. (#9657)
Implements https://github.com/meteor/meteor-feature-requests/issues/24.
2018-02-21 11:45:34 -05:00
Timo Horstschäfer
52532e70e5 Fix setting bcryptRounds using Accounts.config() (#9659). 2018-02-21 11:33:09 -05:00
Pravdomil
be257d36b0 Report errors that is thrown in functions wrapped in bindEnvironment (#9654) 2018-02-21 11:31:39 -05:00
Frédéric G. MARAND
fd63390bf7 Refactor facts to uncouple from templating/blaze (feature 262) (#9629) 2018-02-21 11:17:22 -05:00
Ben Newman
7d4044178c Bump package versions for 1.6.2-beta.7 release. 2018-02-13 15:11:12 -05:00
Ben Newman
eeb7baca8f Merge branch 'devel' into release-1.6.2 2018-02-13 15:08:58 -05:00
Ben Newman
7c96a70692 Update meteor-babel to latest version, 7.0.0-beta.40-1. 2018-02-13 14:08:05 -05:00
Ben Newman
9ee7a86e08 Merge branch 'devel' into release-1.6.2 2018-02-13 11:09:24 -05:00
Hugh Willson
8b9517344a Add Promise.prototype.finally support (#9663) 2018-02-13 11:03:13 -05:00
Geoffrey Booth
e768d0525a coffeescript package dependencies should match those in ecmascript; bump dependency versions 2018-02-12 22:42:17 -08:00
Geoffrey Booth
89b0e5919e Bump CoffeeScript version to 2.2.1 2018-02-12 22:36:30 -08:00
Ben Newman
f68affc09b Bump package versions for 1.6.2-beta.6 release. 2018-02-10 11:05:57 -05:00
Ben Newman
926743536e Merge branch 'devel' into release-1.6.2 2018-02-10 11:01:41 -05:00
Christian Klaussner
63ed2e250c Update uglify-es to 3.3.10 (#9652) 2018-02-08 18:11:02 -05:00
Ben Newman
c27b7418cf Stop running test-packages twice in PhantomJS.
During the Meteor 1.6.1 beta period, we introduced logic to render a
<script> tag to load the SockJS library in older browsers (#9353), and so
it seemed important to run test-packages both with and without the
<script> tag, using a special query parameter appended to the app URL.

The #9353 changes were ultimately reverted before Meteor 1.6.1 was
released (see 365804218f), and Meteor 1.6.2
will take a very different approach to bundling dependencies like SockJS
for legacy browsers (#9439). As part of this approach, PhantomJS is always
considered a legacy browser, and as such provides valuable feedback on the
behavior of web.browser.legacy bundles. However, since there's nothing to
configure with regard to SockJS anymore, there's no point in running the
test-packages suite twice in PhantomJS.

In order to run these tests in a modern browser environment, we should
probably revisit the idea of running tests in headless Chrome:
https://github.com/meteor/meteor-feature-requests/issues/254
2018-02-08 11:40:47 -05:00
Seba Kerckhof
640011a0bd Modernize rate limiter (#9604) 2018-02-08 10:43:06 -05:00
James Burgess
552764635e Modernize appcache package (#9600) 2018-02-08 10:35:13 -05:00
Christian Klaussner
b5a5935b09 Disable unsafe cssnano minification optimizations (#9635) 2018-02-08 10:32:28 -05:00
James Burgess
8f30210b1a Modernize base64 package (#9608) 2018-02-08 10:24:02 -05:00
Ben Newman
9650679794 Bump ecmascript package version to 0.10.3.
This is necessary whenever we bump the babel-compiler package version,
which I just did.
2018-02-06 21:02:15 -05:00
Ben Newman
a5d9763186 Update meteor-babel to latest version. 2018-02-06 20:55:07 -05:00
Ben Newman
2cd5b5c6d9 Update reify and optimism packages to latest versions. 2018-02-06 20:13:26 -05:00
Pravdomil
0a1e1f042a Correct jsdoc declarations for Meteor.apply (#9581)
* add docs for Meteor.apply options.returnStubValue
* remove old documentation (duplicated)
2018-02-06 19:27:59 +02:00
Jesse Rosenberger
53ceaca88b Merge pull request #9593 from meteor/abernix/test-docs-with-meteor
Attempt to generate "docs" during CircleCI tests.
2018-02-06 19:18:49 +02:00
Seba Kerckhof
58b4de5e18 Add support for string padLeft/padRight (#9641) 2018-02-06 09:09:06 -05:00
Ben Newman
c1bdeb7ea5 Bump package versions for 1.6.2-beta.5 release. 2018-02-03 17:23:33 -05:00
Ben Newman
0d14d58017 Merge branch 'devel' into release-1.6.2 2018-02-03 17:22:08 -05:00
Ben Newman
57a6f44a65 Make the class properties transform "loose" to fix #9628. 2018-02-02 16:25:10 -05:00
Ben Newman
bd5cf99edb Ignore babel-preset-meteor if found in a .babelrc file.
This could have prevented #9631 from being a problem in the first place,
and feels like the right thing to do, considering the number of cases
we've seen of people accidentally including babel-preset-meteor in their
.babelrc files.

As usual, we have to bump the ecmascript version as well, so that the
compiler plugin will be rebuilt.
2018-02-02 15:54:57 -05:00
Jesse Rosenberger
46eaab39b6 Add misssing JSDoc declarations for Mongo.Collection#upsert.
In the conversion to ECMAScript classes in
https://github.com/meteor/meteor/commit/6fcf190bb489db19, it appears that
JSDoc `@method`, `@instance` and `@memberof` declarations were already
in place for the (outgoing) `Mongo.Collection.prototype.{foo}` expressions,
with the exception of `upsert`.  The omission caused docs generation failure
with the new ES syntax since, presumably, it was less possible to be inferred
from the `MCp*` notation.

Additionally, this changes the casing of `@memberOf` to `@memberof`,
mainly because:

* The JSDocs use this notation.
* The data JSON outputted by JSDoc lowercases property keys, including
  cases where `memberOf` was capitalized, making it less clear that
  there is a 1:1 mapping.
* My editor refuses to syntax-highlight jsdoc declarations with [A-Z],
  possilby because of the above reasons.
2018-02-01 11:59:27 +02:00
Jesse Rosenberger
053352f74d Merge branch 'devel' into abernix/test-docs-with-meteor 2018-02-01 09:54:02 +02:00