Commit Graph

18302 Commits

Author SHA1 Message Date
Ben Newman
79e5e7ef8d Bump package versions for 1.5-beta.2 release. release/METEOR@1.5-beta.2 2017-02-08 12:44:58 -05:00
Ben Newman
2537707cb3 Disable optimistic caching for meteor --get-ready on Circle CI.
We (@abernix and I) suspect the intermittent "died unexpectedly" failures
of `meteor --get-ready` on Circle CI are due to hitting their (low) limit
on the maximum number of open files.

Although optimistic caching speeds up rebuilds considerably, it doesn't do
much for initial builds, and it definitely keeps more files open.
Disabling it here seems worth a try.
2017-02-07 20:25:35 -05:00
Ben Newman
2f3aba96f3 Bump package versions for 1.5-beta.1 release. release/METEOR@1.5-beta.1 2017-02-07 20:07:36 -05:00
Ben Newman
4baa5a44dc Allow file.data to be a Buffer in Target#minifyJs. 2017-02-07 20:06:10 -05:00
Ben Newman
c3f9ec4032 Bump package versions for 1.5-beta.0 release. release/METEOR@1.5-beta.0 2017-02-07 19:34:23 -05:00
Ben Newman
5ff0f4f987 Fix test failures by re-anonymizing module wrapper functions. 2017-02-07 19:22:47 -05:00
Ben Newman
d26c554bce Bump $BUNDLE_VERSION to 4.8.0 before rebuilding dev bundle. 2017-02-07 16:18:40 -05:00
Ben Newman
8e344a324a Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2017-02-07 16:18:40 -05:00
Ben Newman
7adac54224 Upgrade the meteor-babel npm package to version 0.15.1. 2017-02-07 16:18:40 -05:00
Ben Newman
0c5f6ae7b1 Upgrade reify npm package to version 0.4.7. 2017-02-07 16:17:45 -05:00
Ben Newman
7c5f8789ed Enable immutable caching for dynamic modules.
Even though localStorage is a synchronous API, I wrote this code in an
asynchronous style so that we can easily switch to an async API when/if
that becomes preferable.

While localStorage has stricter size limits than IndexedDB, retrieving
data from IndexedDB is unbelievably slow (~10ms for each cache.check
call). When developing locally, that delay pretty much destroys any
benefit from caching.
2017-02-07 16:17:44 -05:00
Ben Newman
c6e27dc447 Install dynamic modules with correct meteorInstall options. 2017-02-07 16:17:44 -05:00
Ben Newman
6095204bb3 Implement Module.prototype.dynamicImport with a package. 2017-02-07 16:17:44 -05:00
Ben Newman
158adc48e8 Expose manifest of dynamic modules to the dynamic-import package. 2017-02-07 16:17:44 -05:00
Ben Newman
22d1b3ddfe Make special arguments in boot.js more configurable.
Currently this functionality is only used for exposing npmRequire and
Profile to the packages/modules-runtime.js bundle, but I'm planning to use
it for packages/dynamic-import.js soon.
2017-02-07 16:17:43 -05:00
Ben Newman
9845c2f484 Unify sourceMappingURL logic in tools/isobuild/bundler.js. 2017-02-07 16:17:43 -05:00
Ben Newman
ebff32f626 Write dynamic files separately in builder output directories. 2017-02-07 16:17:42 -05:00
Ben Newman
a2e950dfd3 Include dynamic stubs in linked meteorInstall bundles. 2017-02-07 16:17:42 -05:00
Ben Newman
352f545be2 Record complete module graph, including dynamic stubs, in meteorInstall. 2017-02-07 16:17:42 -05:00
Ben Newman
4bff3220e8 Include .jsonData on files returned by ImportScanner#getOutputFiles. 2017-02-07 16:17:41 -05:00
Ben Newman
0e210ef53c Allow ImportScanner#getOutputFiles to return dynamic files. 2017-02-07 16:17:41 -05:00
Ben Newman
38c1e5b88a Teach findImportedModuleIdentifiers to find dynamic imports. 2017-02-07 16:17:41 -05:00
Ben Newman
960ad2266b Refactor modules-runtime into multiple files. 2017-02-07 16:17:40 -05:00
Ben Newman
a01cd04cfe Polyfill Meteor._localStorage on the server too.
Although Meteor._localStorage has historically been used only in browsers,
it can be helpful on the server for writing isomorphic code.
2017-02-07 16:17:40 -05:00
Ben Newman
33e4a6e658 Bump package versions for 1.4.3-rc.1 release. release/METEOR@1.4.3-rc.1 2017-02-07 15:36:12 -05:00
Ben Newman
868a52829f Register package@version constraints for current release.
Package version unpinning (#7084) removed all exact package@=version
constraints derived from the current release.

As we discovered with Meteor 1.4.2.4 (#8306), this meant releases no
longer had any power to enforce package upgrades, which is why the
follow-up Meteor 1.4.2.5 release (#8311) was necessary.

This commit has the same effect as putting package@version in your
.meteor/packages file for every local/core package that your app uses.
2017-02-07 14:52:49 -05:00
Ben Newman
d9ba82473a Update install package to record module.childrenById. 2017-02-07 10:45:28 -05:00
Ben Newman
f8db29ab32 Stop trapping exceptions thrown by require("meteor-node-stubs"). 2017-02-07 10:45:22 -05:00
Ben Newman
59124681bc Preserve true "main" and "browser" fields of package.json modules.
This reverts commit 32140c8707, restoring
commit 6c643a4763.
2017-02-07 10:43:20 -05:00
Ben Newman
29b88d29d4 Merge branch 'devel' into release-1.4.3 2017-02-07 10:37:54 -05:00
Ben Newman
3801349437 Merge branch 'master' into devel 2017-02-07 10:36:49 -05:00
Ben Newman
1e1833b918 Merge pull request #8311 from meteor/release-1.4.2.5
Release 1.4.2.5
2017-02-07 10:35:19 -05:00
Jesse Rosenberger
e32bc7cdd6 Formatting fixes for History.md regarding 1.4.2.5 release 2017-02-03 10:47:54 -08:00
Jesse Rosenberger
52c9f10056 Bump package versions for the official 1.4.2.5 release. release/METEOR@1.4.2.5 2017-02-03 09:45:14 -08:00
Jesse Rosenberger
836e9d496b Bump package versions for 1.4.2.5-rc.1 release. release/METEOR@1.4.2.5-rc.1 2017-02-03 09:10:14 -08:00
Jesse Rosenberger
4156460f3c Restore state of modules-runtime@0.7.8 as it was published
This code was reverted in 32140c8707 as part of a larger revert, but this particular change should actually remain since it is how modules-runtime@0.7.8 was and is published.  I had initially thought that this commit would also be rolled back (and result in a 0.7.9) but that did not yield the desired result.
2017-02-03 09:00:30 -08:00
Jesse Rosenberger
7fc3627cd5 Updated History.md to explain differences between 1.4.2.4 and 1.4.2.5 2017-02-03 01:22:36 -08:00
Jesse Rosenberger
fc4468bb16 Bumping version of modules-runtime to 0.7.8
`modules-runtime@0.7.8` was already released but this part of the commit was included in a larger commit which was reverted.  This simply puts the version in-line with the `devel` branch.
2017-02-03 01:10:21 -08:00
Jesse Rosenberger
32140c8707 Revert "Preserve true "main" and "browser" fields of package.json modules."
This reverts commit 6c643a4763.
2017-02-02 20:26:54 -08:00
Jesse Rosenberger
7de467db35 Bump package versions for 1.4.2.5-rc.0 2017-02-02 19:12:15 -08:00
Ben Newman
9502f1bd79 Bump package versions for 1.4.3-rc.0 release. release/METEOR@1.4.3-rc.0 2017-02-02 17:19:07 -05:00
Ben Newman
0e55018a7f Fix History.md formatting due to line break ambiguity.
Starting the line with `#` caused it to parse as <h1> rather than <a>.
2017-02-02 16:36:15 -05:00
Ben Newman
a6049eb1ae Fix History.md formatting due to line break ambiguity.
Starting the line with `#` caused it to parse as <h1> rather than <a>.
2017-02-02 16:26:00 -05:00
Ben Newman
a00b19d1fb Merge branch 'devel' into release-1.4.3 2017-02-02 16:07:50 -05:00
Hugh Willson
f57d4d157d Added extra colon-converter calls to the bundler and linker. (#8293)
* Added extra colon-converter calls to the bundler and linker.
* Rewording of convert to convertColons for clarity.
2017-02-02 15:54:59 -05:00
Hugh Willson
5279187099 Added additional BrowserPolicy exports to help with ES2015 import support. (#8295)
* Added BrowserPolicy export to help with ES2015 import support.
* Replaced api.export use with api.mainModule, to help reduce extra globals.
2017-02-02 15:54:30 -05:00
Ben Newman
a3e8cf6763 Update modules test app to Meteor 1.4.2.4. 2017-02-02 15:46:59 -05:00
Ben Newman
1d80f4436e Bump $BUNDLE_VERSION to 4.7.8 before rebuilding dev bundle. 2017-02-02 15:19:59 -05:00
Ben Newman
cc8734ddca Merge branch 'master' into devel 2017-02-02 15:18:48 -05:00
Ben Newman
0585ec7562 Merge branch 'release-1.4.2.4' 2017-02-02 14:48:49 -05:00