Commit Graph

19041 Commits

Author SHA1 Message Date
Ben Newman
645aa00430 Bump package versions for 1.6-alpha.2 release. release/METEOR@1.6-alpha.2 2017-06-06 12:56:59 -04:00
Ben Newman
77843cdb28 Throttle requestGarbageCollection to once per 500ms.
With Meteor 1.6 / Node 8, I noticed _buildLocalPackages taking multiple
seconds on initial server startup and restart, and the problem seems to be
that we call the global.gc function too often. This wasn't a problem in
previous versions of Node, as far as I know, but it makes sense to heed
the comment in tools/utils/gc.js, now that it matters.
2017-06-06 12:52:09 -04:00
Ben Newman
6f925b0103 Merge branch 'devel' into release-1.6 2017-06-06 12:51:50 -04:00
Hugh Willson
3e6c400ed4 Adjusted to add references to the new meteor/meteor-feature-requests repo (#8764)
* Adjusted to add references to the new meteor/meteor-feature-requests repo.
* Small tweak to expose label links for both bugs and feature requests.
2017-06-06 12:30:36 -04:00
Ben Newman
cdc047bbc7 Update unicode asset sanitization tests (and History.md). 2017-06-06 12:25:33 -04:00
Ben Newman
a2f26cbe6e Fix #8761 in three different ways.
The root of the problem was that the es5-ext npm package contains
directories called '#', e.g.
https://github.com/medikoo/es5-ext/tree/master/array/%23

These directory names were being sanitized to '' and thus ignored when
reserving paths in the Builder, which led to reservation conflicts later.

This commit fixes the problem in three different and independently
sufficient ways:

* Use files.mkdir_p instead of files.mkdir when creating parent
  directories of written files.

* Replace illegal characters in sanitized paths with '_' instead of ''.

* Allow '#' in sanitized paths (only needs to be escaped in the shell, not
  actually forbidden in paths).
2017-06-06 12:25:33 -04:00
Ben Newman
8ca458c5e4 Bump package versions for 1.6-alpha.1 release. release/METEOR@1.6-alpha.1 2017-06-05 19:33:25 -04:00
Ben Newman
b3b464b614 Miscellaneous updates due to changes between Node 5 and 7.
https://github.com/nodejs/node/wiki/Breaking-changes-between-v5-and-v6
https://github.com/nodejs/node/wiki/Breaking-changes-between-v6-and-v7
2017-06-05 18:57:52 -04:00
Ben Newman
6418026e15 Update all new Buffer usage to Buffer.from for Node 6+.
https://github.com/nodejs/node/wiki/Breaking-changes-between-v5-and-v6
2017-06-05 18:16:03 -04:00
Ben Newman
e5a1b98f64 Update History.md to mention Node 8 upgrade (omg). 2017-06-05 17:45:47 -04:00
Ben Newman
93cdfd861b Bump $BUNDLE_VERSION to 6.10.6 before rebuilding dev bundle. 2017-06-05 17:41:01 -04:00
Ben Newman
9e0ec68181 Merge branch 'devel' into release-1.6 2017-06-05 17:40:41 -04:00
Ben Newman
7084aba5a7 Upgrade reify, fibers, and pathwatcher. 2017-06-05 17:40:05 -04:00
Ben Newman
40f1d99e2c Stop polyfilling global.Buffer in modules test app. 2017-06-02 16:37:19 -04:00
Ben Newman
929fa0e90e Test that require("module") returns Module constructor on the client.
On the server, require("module") returns Node's native Module constructor,
which is not the same as module.constructor in our server JS bundle.
2017-06-02 16:26:54 -04:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Ben Newman
a7feffd5a6 Upgrade the modules test app to Meteor 1.5. 2017-06-02 14:31:37 -04:00
Ben Newman
9c5293b6e2 Upgrade the dynamic-import test app to Meteor 1.5. 2017-06-02 14:25:46 -04:00
Jesse Rosenberger
76a6e0eee9 Merge pull request #8707 from edemaine/devel
Email package improvements
2017-06-02 19:01:49 +03:00
Jesse Rosenberger
fba42daca8 Slight adjustment to smtp:// warning message.
Just to clarify that port 465 is typically a secure port and our
assumption is based on that (in case they're curious how we decided
to show the message).
2017-06-02 18:07:51 +03:00
Ben Newman
1df553172e Fix #8751 by replacing ':'s in dynamic module paths with '_'s. 2017-06-02 10:51:16 -04:00
Ben Newman
a2aec7becf Add a failing test of dynamic imports from user:name packages.
Confirms #8751.
2017-06-02 10:45:24 -04:00
Ben Newman
c4730c6af5 Upgrade reify to version 0.11.22.
This fixes a bug affecting namespace imports/exports such as

  export * from "module"
  import * as ns from "module"

where "module" is a CommonJS module that sets module.exports to an
object-like value that is not actually an object, e.g. a function.

The reify commit that fixed this bug includes a test demonstrating an
example of one such library (lodash):
benjamn/reify@b69a600e65
2017-06-01 20:46:39 -04:00
Ben Newman
7472916236 Remove underscore as a dependency from the modules package. 2017-06-01 20:46:39 -04:00
Mitar
4b18c00cc6 Improving History.md entries for #8629 (#8736)
* Updating history a bit for #8629.

* Tweaks for #8629.

Some formatting changes to (try! and) match existing `History.md` formatting.

* Place related bullets next to each other.

For continuity in reading.
2017-06-01 17:04:35 +03:00
Ben Newman
906aab4447 Merge pull request #8692 from bpartridge/5932-mongo-hint-maxtimems
Add Mongo hint and maxTimeMS options (#5932)
2017-05-31 11:29:41 -04:00
Hugh Willson
a4c3e335eb Merge pull request #8684 from paulincai/patch-1
Update to present media object sizes
2017-05-31 11:28:01 -04:00
Jesse Rosenberger
8005532f4b Merge pull request #8629 from zimme/zimme/ddp-current-invocation
Add DDP._CurrentPublicationInvocation and DDP._CurrentMethodInvocation
2017-05-31 18:26:34 +03:00
Hugh Willson
049ed969e7 Merge branch 'devel' into zimme/ddp-current-invocation 2017-05-31 10:44:25 -04:00
Ben Newman
18bdf968bb Bump $BUNDLE_VERSION to 6.10.5 before rebuilding dev bundle. 2017-05-31 10:20:54 -04:00
Ben Newman
ee503513c7 Upgrade to Node 8.0.0, because why wait. 2017-05-31 10:20:53 -04:00
Jesse Rosenberger
791d0cdd59 Add a README for the bundle-visualizer package. 2017-05-31 13:26:21 +03:00
Ben Newman
68b840f8d5 Bump package versions for 1.6-alpha.0 release. release/METEOR@1.6-alpha.0 2017-05-30 17:03:28 -04:00
Ben Newman
d09e1fbf77 Fix small merge mistake in History.md. 2017-05-30 16:56:37 -04:00
Ben Newman
b37446e817 Bump $BUNDLE_VERSION to 6.10.4 before rebuilding dev bundle. 2017-05-30 15:41:58 -04:00
Ben Newman
0d7c9e8481 Merge branch 'wip-upgrade-to-node-6' into release-1.6 2017-05-30 15:41:12 -04:00
Ben Newman
42ab2fd607 Merge branch 'master' into devel 2017-05-30 15:27:50 -04:00
Ben Newman
bf85eac809 Merge pull request #8327 from meteor/release-1.5
Release 1.5
2017-05-30 15:24:20 -04:00
Ben Newman
a362e20a37 Bump package versions for the official 1.5 release. release/METEOR@1.5 2017-05-30 14:18:48 -04:00
Ben Newman
da097e209d Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2017-05-30 14:16:46 -04:00
Ben Newman
f1e628802e Bump package versions for 1.5-rc.13 release. release/METEOR@1.5-rc.13 2017-05-30 13:23:38 -04:00
Ben Newman
66a14fe00d Bump $BUNDLE_VERSION to 4.8.17 before rebuilding dev bundle. 2017-05-30 13:06:22 -04:00
Ben Newman
bfb2c95462 Upgrade meteor-promise to version 0.8.4.
This is a change that was necessary on the wip-upgrade-to-node-6 branch,
and it seems better to ship it sooner rather than waiting:
meteor/meteor@d823812e85
2017-05-30 13:03:17 -04:00
Ben Newman
bfc79eea9b Add //# sourceURL=<module id> comment to dynamic modules.
Fixes #8719 by displaying a recognizable (and even clickable) file name in
stack traces for errors thrown by dynamic code.
2017-05-29 21:29:22 -04:00
Ben Newman
1df6668cc9 Test that importing the winston npm package works now.
This is a test that should have accompanied my previous commit
81a07ed84f.
2017-05-29 19:37:33 -04:00
Ben Newman
4351b89904 Bump package versions for 1.5-rc.12 release. release/METEOR@1.5-rc.12 2017-05-29 19:17:43 -04:00
Ben Newman
91212e3a95 Bump $BUNDLE_VERSION to 4.8.16 before rebuilding dev bundle. 2017-05-29 19:16:16 -04:00
Ben Newman
81a07ed84f Upgrade reify to prevent accidental override of namespace.default.
The `winston` npm package is not an ECMAScript module, but it does export
a "default" property, and this property was accidentally clobbering the
"default" property of the namespace object, thus interfering with default
import syntax:

  import winston from "winston"

Specifically, the `winston` variable would end up referring to
`require("winston").default`, rather than `require("winston")`.

Nothing is lost by fixing this problem, as you can still refer to
`winston.default` if you need to access that property.

Reported by @fermuch here:
https://github.com/meteor/meteor/pull/8327#issuecomment-304721401

Fixed by this commit:
20fdd10d04
2017-05-29 19:07:25 -04:00
James
6445a44001 Clarify meteor update message for indirect dependencies
* Adjust string style to be in line with meteor style guide 6.2

* Partially addresses #8721 #8488
2017-05-29 14:41:00 -04:00
Ben Newman
aff0fbcc12 Bump package versions for 1.5-rc.11 release. release/METEOR@1.5-rc.11 2017-05-29 12:27:45 -04:00