Commit Graph

21820 Commits

Author SHA1 Message Date
Ben Newman
b42524ba52 Bump package versions for 1.8.1-beta.10 release. release/METEOR@1.8.1-beta.10 2019-01-04 13:27:16 -05:00
Ben Newman
6fd24ef4b9 Bump BUNDLE_VERSION to 8.15.0.0 before rebuilding dev bundle. 2019-01-04 13:22:39 -05:00
Ben Newman
65d978ac23 Stop trying to delete irrelevant fibers binaries from dev bundle.
The shrink_fibers trick was saving only about 1.4MB, and it caused
problems whenever the format of the binary filenames changed.
2019-01-04 13:22:39 -05:00
Ben Newman
68ae303bd7 Update fibers npm dependency to version 3.1.1.
Though this is a major update according to the version number (previously
2.0.0 in Meteor 1.8.0.1), we have observed no backwards-incompatible
changes so far.
2019-01-04 13:22:38 -05:00
Ben Newman
097bccb9c2 Update Node to version 8.15.0.
Release blog post: https://nodejs.org/en/blog/release/v8.15.0/
2019-01-03 16:01:48 -05:00
Ben Newman
57a55ac0d6 Bump package versions for 1.8.1-beta.9 release. release/METEOR@1.8.1-beta.9 2018-12-19 14:08:49 -05:00
Ben Newman
0d34c8d168 Bump BUNDLE_VERSION to 8.14.1.0 before rebuilding dev bundle. 2018-12-19 12:18:37 -05:00
Ben Newman
415d1d9e66 Update npm to version 6.5.0.
https://github.com/npm/cli/releases/tag/v6.5.0
2018-12-19 12:17:25 -05:00
Ben Newman
a8f527aa37 Update Node to version 8.14.1.
Release blog post: https://nodejs.org/en/blog/release/v8.14.1/
2018-12-19 12:12:52 -05:00
Ben Newman
ff72595fd8 Move the less package into packages/non-core.
This will enable us to update the less npm package in future versions of
Meteor without worrying about minor version constraints imposed by the
Meteor release.
2018-12-13 11:13:55 -05:00
Ben Newman
502d84e7e9 Bump package versions for 1.8.1-beta.8 release. release/METEOR@1.8.1-beta.8 2018-12-06 12:42:45 -05:00
Ben Newman
b3593f2edd Bump $BUNDLE_VERSION to 8.14.0.1 before rebuilding dev bundle. 2018-12-06 12:30:49 -05:00
Ben Newman
40d0fc5dfe Merge branch 'devel' into release-1.8.1 2018-12-06 12:21:52 -05:00
Ben Newman
0fcc7ddd46 Mention meteor-promise@0.8.7 update in History.md. 2018-12-06 12:20:25 -05:00
Ben Newman
ad2d715367 Bump meteor-promise version to 0.8.7.
Should help with #10359, as this version includes @VeselyT's commit
bbe4f0d20b
2018-12-06 12:17:19 -05:00
Ben Newman
237d026f6e Update meteor-babel to version 7.2.0. 2018-12-06 10:59:58 -05:00
Ben Newman
1a721df3e1 Bump package versions for 1.8.1-beta.7 release. release/METEOR@1.8.1-beta.7 2018-11-28 12:02:07 -05:00
Ben Newman
5ff1367272 Bump $BUNDLE_VERSION to 8.14.0.0 before rebuilding dev bundle. 2018-11-28 11:35:53 -05:00
Ben Newman
29db9cbd44 Update to latest Mongo server and driver patch versions. 2018-11-28 11:33:53 -05:00
Ben Newman
7e5656cd3c Update Node to version 8.14.0.
Release blog post: https://nodejs.org/en/blog/release/v8.14.0/
Security disclosures: https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
2018-11-28 11:21:30 -05:00
Ben Newman
2de35f4d29 Merge branch 'devel' into release-1.8.1 2018-11-28 11:16:44 -05:00
Ben Newman
aecd530db6 Fix 1.8.1-beta.n upgrade instructions in History.md.
Closes #10356.
2018-11-26 11:24:45 -05:00
Ben Newman
47e0046c96 Revert "Remove Blaze dependencies from static-html (#10267)"
This reverts commit 4aad077a9f.

@hwillson Travis CI tests were failing after I merged this, and now
they're passing again (locally) with this commit reverted:
https://travis-ci.org/meteor/meteor/builds/458921622
2018-11-23 14:20:06 -05:00
Ben Newman
56c9062533 Bump webapp package version to 1.7.2. 2018-11-23 14:12:34 -05:00
Ben Newman
8f9401306d Bump dynamic-import package version to 0.5.1. 2018-11-23 14:10:49 -05:00
Hugh Willson
4aad077a9f Remove Blaze dependencies from static-html (#10267)
These changes create a new copy of the static-html and
caching-html-compiler packages in core, as well as a new package
called html-scanner, to house the html-scanner.js functionality
from the templating-tools package. With these changes in place,
we're able to remove all Blaze dependencies from static-html,
which benefits React based Meteor apps.

We don't need the extra `CompileError` class, and using it
was throwing off `caching-html-compiler` error handling.
Errors with messages and line numbers weren't being
interpreted / formatted properly.
2018-11-23 13:04:49 -06:00
Ben Newman
f4ebac54ae Merge pull request #10309 from nathan-muir/webapp-runtime-override-is-modern
Fix Meteor.isModern when inline scripts are disabled.
2018-11-23 12:22:03 -06:00
Kevin Newman
2a37f61066 Use setTimeout in prefetchInChunks to avoid blocking UI (#10354)
Addresses #10350.
2018-11-23 12:21:09 -06:00
idmadj
fc02c2592c Avoid object shorthand syntax in oauth package. (#10349)
Fixes #10347.
2018-11-23 12:19:50 -06:00
Ben Newman
2d06bf7d54 Bump package versions for 1.8.1-beta.6 release. release/METEOR@1.8.1-beta.6 2018-11-23 13:14:56 -05:00
Ben Newman
f8786bcfdb Bump $BUNDLE_VERSION to 8.13.0.1 before rebuilding dev bundle. 2018-11-23 13:00:35 -05:00
Ben Newman
905941fc2d Merge branch 'devel' into release-1.8.1 2018-11-23 12:48:04 -05:00
Ben Newman
d5aa1ba5b9 Merge branch 'master' into devel 2018-11-23 12:46:04 -05:00
Ben Newman
5e8434ea42 Merge pull request #10336 from meteor/release-1.8.0.1
Release 1.8.0.1
2018-11-23 11:45:17 -06:00
Ben Newman
ca2d44204f Bump package versions for the official 1.8.0.1 release. release/METEOR@1.8.0.1 2018-11-23 11:50:10 -05:00
Ben Newman
eecc11ea63 Note release date for Meteor 1.8.0.1 in History.md. 2018-11-23 11:48:11 -05:00
Ben Newman
40ac2de412 Use object ...spread syntax rather than _.extend. 2018-11-21 11:34:01 -05:00
Ben Newman
2190fdbb18 Bump package versions for 1.8.1-beta.5 release. release/METEOR@1.8.1-beta.5 2018-11-20 18:21:02 -05:00
Ben Newman
ca06af8659 Bump $BUNDLE_VERSION to 8.13.0.0 before rebuilding dev bundle. 2018-11-20 18:00:01 -05:00
Ben Newman
4a38f4f990 Update Node to version 8.13.0.
Release blog post: https://nodejs.org/en/blog/release/v8.13.0/

This release includes my PR to improve multi-threaded debugging, which
should finally fix #9275: https://github.com/nodejs/node/pull/22714
2018-11-20 17:53:12 -05:00
Ben Newman
0f5bed4707 Avoid passing lots of ...args to watch.sha1. 2018-11-20 17:47:49 -05:00
Ben Newman
e8440a491d Bump package versions for 1.8.0.1-rc.4 release. release/METEOR@1.8.0.1-rc.4 2018-11-20 17:14:23 -05:00
Ben Newman
887f2c6624 Merge branch 'devel' into release-1.8.1 2018-11-20 16:47:52 -05:00
Ben Newman
f440ef4d7a Bump $BUNDLE_VERSION to 8.11.4.7 before rebuilding dev bundle. 2018-11-20 16:47:11 -05:00
Ben Newman
269a12efe9 Merge branch 'devel' into release-1.8.0.1 2018-11-20 16:34:06 -05:00
Ben Newman
d5cee78567 Update meteor-babel to version 7.1.6.
Change responsible for the source maps improvements:
389cf7dfed
2018-11-20 16:29:13 -05:00
Ben Newman
346d512b13 Propagate input hashes all the way through bundling.
Hashes have a number of overlapping but not entirely redundant or
equivalent purposes within the build system.

Hashes of source code are important because they can be computed before
compilation and processing, and thus are useful as keys for caching that
expensive work. Source hashes remain useful even after compilation, as a
way of reflecting the contributions of source-code-sensitive assets like
source maps.

However, source hashes do not tell the whole story, and using them as
cache keys can be risky if the work that's being cached depends on
generated code rather than source code, as we recently discovered with the
findImportedModuleIdentifiers function. The preliminary fix for that
problem (#10330) was to cache findImportedModuleIdentifiers using a hash
of the generated code rather than the source hash.

PR #10330 swung a bit too far in the direction of ignoring source hashes
and considering only hashes of generated code. For example, the URLs of
source maps share the hash of the corresponding resource, but source maps
can change (because of superficial changes in the source code) without
changing the generated code of the resource. Ignoring the source hash when
computing source map URLs resulted in stale source maps with incorrect
line numbers.

A better solution seems to be to propagate the source hash (along with any
hashes of intermediate generated artifacts) all the way through bundling,
so that the final hash of any static resource reflects all information
that could/should change the behavior of that static resource, including
its source map, which embeds the exact source code of all contributing
files in the sourcesContent property. At every step of the way, we merge
all the input hashes into a single hash, so we don't have to keep juggling
multiple hashes, thankfully.

Sub-Resource Integrity (SRI) hashes still need to be computed from just
the final contents of a given asset, so that the browser can verify those
contents without knowing anything about the Meteor build system, but
that's handled separately.
2018-11-20 11:19:42 -05:00
Ben Newman
4ceb405f27 Bump package versions for 1.8.0.1-rc.3 release. release/METEOR@1.8.0.1-rc.3 2018-11-19 12:45:51 -05:00
Ben Newman
7ce3ca29fd Avoid computing servePath from undefined targetPath.
https://github.com/meteor/meteor/issues/10337#issuecomment-439674497
2018-11-19 12:40:33 -05:00
Ben Newman
c0a35f0457 Bump package versions for 1.8.0.1-rc.2 release. release/METEOR@1.8.0.1-rc.2 2018-11-17 15:27:35 -05:00