Ben Newman
d5a45c1f90
Bump package versions for 1.9-beta.3 release.
release/METEOR@1.9-beta.3
2019-11-14 16:43:57 -05:00
Ben Newman
14cb5fc026
Merge branch 'devel' into release-1.9
2019-11-14 16:30:42 -05:00
Ben Newman
982181fff8
Merge branch 'master' into devel
2019-11-14 16:28:07 -05:00
Ben Newman
d8563dab46
Merge pull request #10522 from meteor/release-1.8.2
...
Release 1.8.2
2019-11-14 16:25:48 -05:00
Ben Newman
97e1bba384
Bump package versions for the official 1.8.2 release.
release/METEOR@1.8.2
2019-11-14 15:12:21 -05:00
Ben Newman
f29c0561ce
Final History.md updates before official Meteor 1.8.2 release.
2019-11-14 10:15:35 -05:00
Ben Newman
c24077e65f
Allow relative --test-app-path arguments when running test-packages.
...
https://github.com/meteor/meteor/pull/10772#issuecomment-553517459
The assertion in tools/fs/optimistic.ts was failing if I passed a relative
path for --test-app-path, and passing the path as a second argument when
calling assert made it easier to tell what was going on, so I decided to
keep that change.
2019-11-13 12:43:42 -05:00
Ben Newman
edbaeae98b
Merge branch 'release-1.8.2' into release-1.9
2019-11-12 19:47:30 -05:00
Ben Newman
44d0f1f408
Bump package versions for 1.8.2-rc.10 release.
release/METEOR@1.8.2-rc.10
2019-11-12 18:06:25 -05:00
Ben Newman
8ebff0670e
Merge pull request #10774 from meteor/enable-additional-appveyor-debugging-output
...
Fix mysterious Windows AppVeyor test stalls.
2019-11-12 18:00:59 -05:00
Ben Newman
faeab6c7d4
Revert "Temporarily wrap files.rename on non-Windows platforms to validate safety."
...
This reverts commit 52d4809aeb , as promised
in the previous commit message.
2019-11-12 17:22:33 -05:00
Ben Newman
52d4809aeb
Temporarily wrap files.rename on non-Windows platforms to validate safety.
...
Now that files.rename uses Promise.prototype.await on Windows, it's
important to be sure it never gets called outside of a Fiber. Though we
don't run our full test suite on Windows, we can validate this expectation
by wrapping files.rename on all platforms. This commit should be reverted
once the validation is complete.
2019-11-12 17:12:02 -05:00
Ben Newman
d52c9cc82f
Avoid calling writeFileAtomically outside Fiber.
2019-11-12 16:58:05 -05:00
Ben Newman
8567390e7e
Fix error stack trace parsing during Windows self-tests.
2019-11-12 16:38:22 -05:00
Ben Newman
c4e05dfffe
Rewrite files.rename on Windows to retry after 50ms intervals.
...
Falling back to a full recursive copy was MUCH more expensive than waiting
a short amount of time before retrying the rename.
This aligns with the way graceful-fs handles EPERM and EACCES errors on
Windows: https://www.npmjs.com/package/graceful-fs#improvements-over-fs-module
2019-11-12 15:06:41 -05:00
Ben Newman
1b9fec3f8d
Tolerate variable startup message order in static-html self-test.
2019-11-12 12:52:39 -05:00
Ben Newman
c9904c3ed7
Bump package versions for 1.8.2-rc.9 release.
...
Note that publishing 1.8.2-rc.8 failed on all platforms due to EMFILE (too
many open files) errors, which necessitated reverting PR #10771 .
release/METEOR@1.8.2-rc.9
2019-11-11 19:38:24 -05:00
Ben Newman
41868fa165
Attempt to make static-html self-tests less flaky.
...
Salvaged from PR #10771 , which I had to revert because it caused EMFILE
(too many open files) errors on Windows.
2019-11-11 19:35:48 -05:00
Ben Newman
926cba9a77
Revert "Merge pull request #10771 from meteor/copy-directories-asynchronously"
...
This reverts commit 77a9784929 , reversing
changes made to e0ddae2cc7 .
2019-11-11 19:35:16 -05:00
Ben Newman
a367c9aef5
Bump package versions for 1.8.2-rc.8 release.
release/METEOR@1.8.2-rc.8
2019-11-11 19:12:13 -05:00
Ben Newman
b71ab5bec5
Bump compiler.BUILT_BY and LINKER_CACHE_SALT to force rebuild.
2019-11-11 19:12:11 -05:00
arggh
16e31728e4
Update license range for year 2019 ( #10699 )
...
Better late than never, right?
2019-11-11 19:04:44 -05:00
Ben Newman
77a9784929
Merge pull request #10771 from meteor/copy-directories-asynchronously
...
Write files in Builder#_copyDirectory asynchronously.
2019-11-11 19:03:44 -05:00
Ben Newman
61b2d1710b
Attempt to make static-html self-tests less flaky.
2019-11-11 18:41:43 -05:00
Ben Newman
c7cc817d69
Use wrapDestructiveFsFunc for files.promises.writeFile.
2019-11-11 17:39:35 -05:00
Ben Newman
cf04e051e3
Write files in Builder#_copyDirectory asynchronously.
...
Using fs.writeFileSync in a serial style becomes especially costly when
we're writing a lot of files. In a recent profiling exercise I did on
Windows, nearly 80% of the time taken by Builder#_copyDirectory was spent
just closing the written files. By using the asynchronous fs.writeFile
function, we should be able to parallelize at least some of this work, and
await all the promises at the very end of copying the directory.
2019-11-11 17:26:03 -05:00
Ben Newman
0e1b0cb250
Bump package versions for 1.9-beta.2 release.
release/METEOR@1.9-beta.2
2019-11-10 00:50:56 -05:00
Ben Newman
c09cf08067
Stop running self-tests with deprecated PhantomJS browser.
...
It appears that we cannot make the phantomjs-prebuilt package work with
Node 12 on Linux: https://circleci.com/gh/meteor/meteor/37396 . That's
honestly fine, because PhantomJS is deprecated / no longer maintained.
Instead, only Puppeteer (which is Chromium-based and much more modern than
PhantomJS) will be used.
2019-11-10 00:28:09 -05:00
Ben Newman
1f77aace99
Use meteor/docs branch update-to-meteor-1.9 for Circle CI tests.
2019-11-10 00:22:09 -05:00
Ben Newman
a3b2aaa627
Update Circle CI config to use Node.js 12.13.0.
...
b0cfa2abad
2019-11-09 23:51:39 -05:00
Ben Newman
1809e49b43
Bump $BUNDLE_VERSION to 12.13.0.1 before rebuilding dev bundle.
2019-11-08 20:31:11 -05:00
Ben Newman
f8de4127da
Merge branch 'release-1.8.2' into release-1.9
2019-11-08 20:07:59 -05:00
Ben Newman
e0ddae2cc7
Bump $BUNDLE_VERSION to 8.16.2.2 before rebuilding dev bundle.
2019-11-08 20:04:38 -05:00
Ben Newman
bbd5a12787
Update npm to v6.13.0 and pacote to v9.5.9.
2019-11-08 18:56:28 -05:00
Ben Newman
aec3bc76e3
Bump package versions for 1.8.2-rc.7 release.
release/METEOR@1.8.2-rc.7
2019-11-08 16:33:29 -05:00
Ben Newman
e4597b1e08
Merge pull request #10765 from meteor/prefer-main-over-module-in-legacy-bundle
...
Prefer "main" field of package.json over "module" in legacy bundle.
2019-11-08 11:51:23 -05:00
Ben Newman
ecb241cab2
Update History.md to reflect PR #10765 .
2019-11-08 11:36:19 -05:00
Ben Newman
bd9043db20
Prefer "main" field of package.json over "module" in legacy bundle.
...
https://github.com/meteor/meteor/issues/10658#issuecomment-550456095
https://github.com/meteor/meteor/issues/10658#issuecomment-551870115
As usual, changes to module resolution logic need to happen in parallel in
tools/isobuild/resolver.ts and in packages/modules-runtime. However,
thanks to the modern/legacy system, it's easy to make the modules-runtime
package behave exactly the way(s) we want in the server, modern client,
and legacy client bundles.
2019-11-08 11:15:23 -05:00
Ben Newman
37b1683fbc
Centralize legacy arch logic in tools/utils/archinfo.ts.
2019-11-08 11:15:23 -05:00
Ben Newman
f290eef631
Simplify delayed watching of lazy modules. ( #10763 )
...
* Avoid modifying unibuild.watchSet in PackageSourceBatch._watchOutputFiles.
Should fix #10736 by preventing old hashes from remaining in
unibuild.watchSet, which was sometimes causing isUpToDate to fail
immediately upon restart.
* Regression test for issue #10736 .
2019-11-08 11:08:56 -05:00
Seba Kerckhof
2dc21ba37f
Update core-js imports in es runtime packages ( #10760 )
...
As far as I can tell, object.entries and object.values were already supported
on all browsers supporting native async/await.
This is the current cutoff between modern/legacy
ref: https://github.com/meteor/babel-preset-meteor/blob/master/modern.js
https://caniuse.com/#search=object.entries
https://caniuse.com/#search=object.values
Furthermore I added following new ES2018/2019 features:
Object.fromEntries / String.prototype.trimStart / String.prototype.trimEnd
2019-11-06 10:59:21 -05:00
Ben Newman
8da7f3bfe9
Merge pull request #10543 from brucejo75/accounts_call_onLogin_callbacks_startup
...
[fix #10157 ] Make sure onLogin callbacks are called during startup.
2019-11-06 10:57:10 -05:00
Ben Newman
ec0ed4dec9
Simplify _startupCallback by passing callback rather than ID.
2019-11-06 10:23:16 -05:00
brucejo
e17b52afac
Call onLogin callbacks during registration if already logged in.
...
Fixes #10157 .
2019-11-06 10:16:26 -05:00
Ben Newman
00564ac2ad
Bump package versions for 1.8.2-rc.6 release.
...
I made a small mistake publishing rc.5 (forgot to bump
meteor-release-experimental.json), so it seemed simpler to skip straight
to rc.6.
release/METEOR@1.8.2-rc.6
2019-11-05 17:27:36 -05:00
Ben Newman
766fa0296b
Bump $BUNDLE_VERSION to 8.16.2.1 before rebuilding dev bundle.
2019-11-05 16:52:43 -05:00
Ben Newman
9aebc580b7
Stop creating @babel/runtime/helpers/builtin junction on Windows.
...
Although I managed to make this work somewhat better in my previous
commit, we still have to create a .tar.gz archive of the dev bundle, and
7z appears not to handle junction points very well. I think it will be
much simpler to avoid the helpers/builtin symlinking hack on Windows.
2019-11-05 16:39:59 -05:00
Ben Newman
8fb3396e2e
Invert double and single quotes in Windows symlink operation.
2019-11-05 16:39:59 -05:00
Ben Newman
8129af6015
Avoid using console.error on success in Windows dev bundle scripts.
...
The scripts/generate-dev-bundle.ps1 script fails if any external command
logs to STDERR instead of STDOUT, apparently.
2019-11-05 16:39:59 -05:00
Ben Newman
241ba1de0f
Update meteor-babel to version 7.7.0.
...
Note that typescript has been updated to version 3.7.2 as part of this
update: https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-rc/
2019-11-05 11:39:18 -05:00