Commit Graph

8888 Commits

Author SHA1 Message Date
Ben Newman
844715de88 Bump package versions for 1.6-beta.25 release. 2017-09-05 22:05:58 -04:00
Ben Newman
013efb6ce4 Merge branch 'devel' into release-1.6 2017-09-05 13:49:46 -04:00
Ben Newman
8f880d00a1 Update minifier-js shrinkwrap and bump package version. 2017-09-05 13:00:07 -04:00
Jesse Rosenberger
6b80cdaea4 Redo the change to uglify-es, which got lost in a merge.
When I merged devel into meteor/meteor#8698 and bumped the version, I
mistakenly overwrote the (quite important) '-es' extension on the new
UglifyJS package.  This reinstates that change, originally implemented
by 9d81f0e6c5.
2017-09-05 17:26:12 +03:00
Jesse Rosenberger
b260d08804 Merge branch 'master' into devel 2017-09-05 17:16:48 +03:00
Ben Newman
a54f5ede46 Bump package versions for the official 1.5.2 release. 2017-09-05 14:17:16 +03:00
Jesse Rosenberger
b97f2f9d33 Merge pull request #9039 from hwillson/issue-6286
Deprecate fastclick
2017-09-04 13:54:10 +03:00
Jesse Rosenberger
c8efd5dffe Bump package versions for 1.5.2-rc.2 release. 2017-08-24 14:50:11 +03:00
Hugh Willson
a365ad7910 Deprecate fastclick
Since `fastclick` is no longer maintained, is introducing bugs,
and is no longer really necessary with modern mobile browsers,
it is being deprecated.
2017-08-24 07:19:29 -04:00
Jesse Rosenberger
247d8e1c65 Upgrade uglify-es to version 3.0.28.
Same bump as done in 87181a68e8 but for `uglify-es` instead of `uglify-js`, the switch made by meteor/meteor#8698.
2017-08-23 20:21:09 +03:00
Hugh Willson
58f58017a3 Merge branch 'devel' into minimongo-iterator 2017-08-23 11:03:45 -04:00
Ben Newman
acb884e93f Bump package versions for 1.5.2-rc.1 release. 2017-08-23 09:16:54 -04:00
Ben Newman
ba42d791b1 Bump package versions for 1.6-beta.24 release. 2017-08-22 22:15:34 -04:00
Ben Newman
dd5d7e2786 Merge branch 'release-1.5.2' into release-1.6 2017-08-22 22:04:03 -04:00
Ben Newman
3e0033c19c Bump package versions for 1.5.2-beta.13 release.
I had a network interruption while trying to upload 1.5.2-beta.12, so I
decided to skip that version.
2017-08-22 21:14:39 -04:00
Ben Newman
754b0c5abc Merge branch 'devel' into release-1.5.2 2017-08-22 20:55:33 -04:00
Hugh Willson
cd5405437c Visually notify of uncaught exceptions breaking client tests (#9034)
* Visually notify of uncaught exceptions breaking client tests

These changes add a global `window.onerror` event handler
to the `test-in-browser` package, to catch any previously
uncaught exceptions. When uncaught exceptions are found,
an alert box is displayed above the test results table.
This should help notify developers of hidden uncaught
exceptions that could be preventing client tests from
running.

Fixes #4979.

* Bump the test-in-browser package version
2017-08-22 20:52:30 -04:00
Ben Newman
87181a68e8 Upgrade uglify-js to version 3.0.28. 2017-08-21 15:59:01 -04:00
Ben Newman
d464b72d7a Bump package versions for 1.6-beta.23 release. 2017-08-17 10:29:56 -04:00
Ben Newman
6804aedc6c Merge branch 'release-1.5.2' into release-1.6 2017-08-17 10:19:46 -04:00
Ben Newman
27d3584b79 Bump package versions for 1.5.2-beta.11 release. 2017-08-17 10:11:04 -04:00
Ben Newman
d2213f0288 Merge branch 'devel' into release-1.5.2 2017-08-17 10:08:20 -04:00
Ben Newman
70ab06aa94 Undo coffeescript-related changes made on release-1.5.2.
This will make it easier to merge devel into release-1.5.2, since devel
now contains the final verison of these changes, as implemented by
@GeoffreyBooth in #9018.

Revert "Bump coffeescript package version to 1.13.0."
This reverts commit d727ad02a7.

Revert "Move coffeescript and coffeescript-test-helper packages back into core. (#8960)"
This reverts commit eb3c7dd344.

Revert "Split coffeescript package into coffeescript / coffeescript-compiler."
This reverts commit 8344cbf59d.

Revert "Instructions for how to test the coffeescript package"
This reverts commit 491cbc3bfe.
2017-08-17 10:05:28 -04:00
Ben Newman
65c8b481e2 Specify a few more version constraints in coffeescript packages.
Small follow-up to #9018.

Note (especially @GeoffreyBooth): these version constraints do two things:
(1) specify a minimum version, and (2) fix the major version. In other
words, the coffeescript package should not need to be republished when we
publish new minor versions of these core packages in Meteor 1.5.2 or 1.6.

When/if we publish a new major version of these packages, the coffeescript
package can simply bump its version constraints, but that probably won't
happen any time soon. I think that's reasonable because a major version
bump suggests there are some significant changes that need to be
acknowledged by dependent packages.
2017-08-17 09:44:13 -04:00
Mitar
d1f891f462 Added tests. 2017-08-17 02:16:45 -07:00
Mitar
e000cf98a7 Merge branch 'devel' into minimongo-iterator 2017-08-17 02:00:30 -07:00
Geoffrey Booth
4bd17e3f30 Fix syntax of api.mainModule 2017-08-16 12:37:31 -07:00
Ben Newman
8822e90f87 Bump package versions for 1.6-beta.22 release. 2017-08-16 14:17:03 -04:00
Geoffrey Booth
6a612f4213 Fix coffeescript-compiler version; make more ecmascript-y 2017-08-15 18:19:48 +00:00
Geoffrey Booth
27c6a52d35 Fix coffeescript / coffeescript-compiler dependency versions 2017-08-15 16:52:40 +00:00
Geoffrey Booth
89af934b54 Fix coffeescript package version to same as coffeescript-compiler; update documentation 2017-08-15 16:40:27 +00:00
Ben Newman
b290bcaa1b Bump package versions for 1.6-beta.21 release. 2017-08-15 12:27:21 -04:00
Ben Newman
f405c443fe Move coffeescript to non-core so we don't have to publish a beta.
@GeoffreyBooth and I are still deciding exactly what to do with the
coffeescript package in #8960, but in the meantime I need to publish
another 1.6 beta, and I'd like to avoid publishing a beta version of
coffeescript along with it.
2017-08-15 12:26:57 -04:00
Geoffrey Booth
dd6a0f703b Move all coffeescript* packages back into non-core 2017-08-15 10:23:54 +00:00
Ben Newman
3677e17a23 Bump coffeescript package version to 1.13.0.
This Meteor package version does not need to track the npm version of the
coffeescript package, and probably should not change as often as the
version of the packages/non-core/coffeescript-compiler package.
2017-08-15 10:22:53 +00:00
Geoffrey Booth
13fb390bc7 Move coffeescript and coffeescript-test-helper packages back into core. (#8960)
They depend on core packages like caching-compiler, but coffeescript-compiler
can remain in non-core, so it can update more frequently as npm coffeescript
gets updated.
2017-08-15 10:21:18 +00:00
Geoffrey Booth
e4c0240179 Split coffeescript package into coffeescript / coffeescript-compiler. 2017-08-15 10:21:17 +00:00
Geoffrey Booth
0d65440fe0 Instructions for how to test the coffeescript package 2017-08-15 10:21:16 +00:00
Geoffrey Booth
7b8a5f3ab8 Bump CoffeeScript version 2017-08-15 10:21:16 +00:00
Ben Newman
8e10361721 Bump package versions for 1.6-beta.20 release. 2017-08-14 22:53:13 -04:00
Ben Newman
f53288efb7 Merge branch 'release-1.5.2' into release-1.6 2017-08-14 22:37:58 -04:00
Ben Newman
3c98a605ad Merge branch 'devel' into release-1.5.2 2017-08-14 22:35:15 -04:00
Ben Newman
34b0237364 Avoid api.export("process") in modules package.js.
Declaring a package-local variable called `process` in the `modules`
package causes uglify-js not to replace `process.env.NODE_ENV` with a
string literal value in any `node_modules` contained by the `modules`
package, which causes React Dev Tools to display a warning.
2017-08-14 22:32:19 -04:00
Ben Newman
d727ad02a7 Bump coffeescript package version to 1.13.0.
This Meteor package version does not need to track the npm version of the
coffeescript package, and probably should not change as often as the
version of the packages/non-core/coffeescript-compiler package.
2017-08-14 18:34:55 -04:00
Geoffrey Booth
eb3c7dd344 Move coffeescript and coffeescript-test-helper packages back into core. (#8960)
They depend on core packages like caching-compiler, but coffeescript-compiler
can remain in non-core, so it can update more frequently as npm coffeescript
gets updated.
2017-08-14 18:07:04 -04:00
Geoffrey Booth
8344cbf59d Split coffeescript package into coffeescript / coffeescript-compiler. 2017-08-14 13:40:09 -04:00
Geoffrey Booth
491cbc3bfe Instructions for how to test the coffeescript package 2017-08-14 13:40:09 -04:00
Geoffrey Booth
eb78811070 Bump CoffeeScript version 2017-08-14 13:40:09 -04:00
Ben Newman
86b82169d0 Replace for-in loops in minimongo package with Object.keys/forEach.
This fixes a problem reported by @arggh:
https://github.com/meteor/meteor/pull/8913#issuecomment-322048927

The problem appears to have been introduced by this commit:
2c5094fa0c

The reason this commit was problematic is that it turned several
Object.keys/forEach loops into for-in loops, which caused a few unchanged
return statements to take on a new meaning: instead of "continuing" the
loop by returning from the forEach callback function, the return
statements now returned from the enclosing function:
2c5094fa0c (commitcomment-23638205)
2c5094fa0c (commitcomment-23638216)

Besides this refactoring hazard, what else is wrong with for-in loops?

First, for-in loops iterate over not only own but also inherited keys,
which makes them not exactly equivalent to Object.keys/forEach, which
iterates over only own keys. Another way to address that problem is to
initialize this.queries to Object.create(null) instead of {} (which I've
also done in this commit), so that there is no prototype chain.

Second, for-in loops are a trigger for deoptimization in V8:
https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#5-for-in

Since 2c5094fa0c was supposed to be about
improving performance, and these changes introduced some logical problems
as well, I think it's best that we avoid for-in loops.
2017-08-14 13:35:35 -04:00
Ben Newman
2dabbf0b60 Make timing of minimongo observeChanges test more reliable. 2017-08-14 12:30:16 -04:00