Commit Graph

2232 Commits

Author SHA1 Message Date
Ben Newman
830c13b287 Bump package versions for 1.8.2-beta.5 release. 2019-06-19 13:20:02 -04:00
Ben Newman
6d3386d77d Bump package versions for 1.8.2-beta.4 release. 2019-05-16 13:27:56 -04:00
Ben Newman
c73ac1c844 Update reify and @babel/runtime to latest versions in dev bundle.
We ended up with two different versions of the reify package (0.19.0 and
0.19.1) in the last build of the dev bundle, which seems to have caused
the test failures.
2019-05-16 13:10:28 -04:00
Ben Newman
4155a01e57 Update meteor-babel and reify versions in dev bundle. 2019-05-15 19:06:23 -04:00
Ben Newman
e94d5d3237 Bump package versions for 1.8.2-beta.3 release. 2019-05-05 19:39:22 -04:00
Ben Newman
43d72af0f0 Bump package versions for 1.8.2-beta.2 release. 2019-05-04 18:57:36 -04:00
Ben Newman
3fbf0619d5 Bump package versions for 1.8.2-beta.1 release. 2019-05-02 19:23:29 -04:00
Ben Newman
35ca6980dc Use is-reachable to detect child process health in self-test.
On Linux, child processes that have exited may remain as <defunct>
"zombie" processes, which prevents process.kill(childPid, 0) from
throwing, so we need a different trick for detecting whether the child
process is still alive.
2019-05-02 17:10:41 -04:00
Ben Newman
f4b92a004e Bump package versions for 1.8.2-beta.0 release. 2019-04-26 19:49:03 -04:00
Ben Newman
c9ba0f3a22 Install latest Reify runtime in programs/server/main.js.
Also updated meteor-babel in the dev bundle to depend on reify@0.18.1, to
be consistent with the version used by server code.
2019-04-26 18:55:08 -04:00
Ben Newman
15ba990d72 Update Node.js to version 8.16.0.
https://nodejs.org/en/blog/release/v8.16.0/
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.16.0
2019-04-23 19:21:57 -04:00
Ben Newman
20273d72e9 Bump package versions for 1.8.2-alpha.1 release. 2019-04-14 14:27:07 -04:00
Ben Newman
798a155c64 Enable Babel-powered TypeScript compilation of meteor/tools.
These changes pave the way for incrementally converting the implementation
of Meteor's command-line tool to TypeScript, which should have profound
benefits for self-documentation via types, as well as substantially
improving navigability and approachability for community contributors.

Just imagine being able to auto-complete the fields of the various
File-like classes currently floating around the codebase, instead of
having to track down their implementations every time. TypeScript was
designed with large projects like Meteor in mind, and it seems
increasingly irresponsible to forgo the benefits of a type system by
relying on the expertise of a few core contributors who know the codebase
inside and out. I am one of those few people, and I am very excited to
have the assistance of a type system, so I can only imagine how
transformative and empowering it will be for everyone else.

If you've ever wanted to get involved in core Meteor development, picking
a few meteor/tools modules to convert to TypeScript is a great way to get
to know that part of the codebase, while also making things easier for
everyone else who interacts with that code in the future.

Because we already compile meteor/tools using Babel, it makes the most
sense to use Babel's @babel/preset-typescript to compile .ts files:
https://babeljs.io/docs/en/next/babel-preset-typescript.html

Using Babel also means we get to keep all of our current advanced
compilation strategies, such as using Reify to compile module syntax:
https://www.npmjs.com/package/reify

Since we're using Babel, the meteor/tools/tsconfig.json file exists mostly
for the benefit of external tools like VSCode, rather than as a source of
truth for compilation behavior.

Despite our existing convention of including explicit .js file extensions
when importing modules, TypeScript and VSCode strongly encourage omitting
the file extension, so the import can be resolved to a .ts file in
development or a .js file when compiled. Although I find this ambiguity
somewhat unfortunate, it makes sense to follow community norms, at least
until Node.js begins supporting .ts modules by default.
2019-04-14 13:06:49 -04:00
Ben Newman
588d037ca6 Bump package versions for 1.8.2-alpha.0 release. 2019-04-12 19:34:13 -04:00
Ben Newman
f096796a8f Update optimism and @wry/context to latest versions. 2019-04-12 14:37:19 -04:00
Ben Newman
ca3caa9c8f Update optimism and explicitly depend on @wry/context and tslib. 2019-04-10 18:34:30 -04:00
Ben Newman
0383f01c63 Update optimism and use noContext to isolate Fiber contexts.
The optimism package no longer knows anything about Fibers, but it does
export various helpers for managing execution contexts, one of which
(noContext) allows us to censor the current context for the duration of a
function call. By wrapping Fiber.yield with noContext, we keep distinct
Fibers from accidentally registering cache dependencies on one another.
2019-04-10 14:42:34 -04:00
Ben Newman
3c225033ae Undo babel-compiler upgrade but keep meteor/tools using 7.4.3.
Until this issue is addressed: https://github.com/babel/babel/issues/9720
2019-04-10 11:03:53 -04:00
Ben Newman
7567fbca06 Update meteor-babel and babel-compiler to version 7.4.3. 2019-04-08 15:45:13 -04:00
Ben Newman
d376276158 Bump package versions for the official 1.8.1 release. 2019-04-02 18:51:59 -04:00
Ben Newman
8e16365ea6 Bump package versions for 1.8.1-rc.1 release. 2019-03-20 11:06:12 -04:00
Ben Newman
7f7545c850 Bump package versions for 1.8.1-rc.0 release.
Now that we've moved into the release candidate phase, there will be no
more new features added to Meteor 1.8.1, and all remaining effort will be
focused on fixing bugs.

Please test the release candidate if you have time, by running the
following command in any application directory:

  meteor update --release 1.8.1-rc.0
2019-03-19 14:24:56 -04:00
Ben Newman
128b7ffa4f Update optimism dependency to latest version (0.8.3). 2019-03-19 13:17:34 -04:00
Ben Newman
5125da518d Update npm to 6.9.0 and pacote to 9.5.0. 2019-03-19 13:16:34 -04:00
Ben Newman
d3ccc4ef73 Bump package versions for 1.8.1-beta.20 release. 2019-02-28 16:18:39 -05:00
zodern
358f4541d9 Update source-map to 0.5.7. 2019-02-28 14:55:38 -05:00
Ben Newman
0981817a30 Update Mongo to latest version(s). 2019-02-28 13:50:08 -05:00
Ben Newman
b2d7df5704 Update Node to version 8.15.1.
Release blog post: https://nodejs.org/en/blog/release/v8.15.1/
Security details: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/
2019-02-28 13:50:08 -05:00
Ben Newman
7ea14024bf Bump package versions for 1.8.1-beta.18 release. 2019-02-26 21:55:12 -05:00
Ben Newman
5ff5881804 Prevent strange EISDIR error when building dev bundle. 2019-02-26 20:05:53 -05:00
Ben Newman
83ec5e9ff8 Update meteor-babel to version 7.3.4. 2019-02-26 19:09:43 -05:00
Ben Newman
ba3e33380b Update npm to version 6.8.0 and pacote to version 9.4.1. 2019-02-26 18:28:48 -05:00
Ben Newman
987c7b99b9 Bump package versions for 1.8.1-beta.17 release. 2019-02-04 16:58:15 -05:00
Ben Newman
985892c658 Bump package versions for 1.8.1-beta.16 release. 2019-01-31 12:07:51 -05:00
Ben Newman
3e060059d6 Bump package versions for 1.8.1-beta.15 release. 2019-01-14 21:16:43 -05:00
Ben Newman
adaf653757 Bump package versions for 1.8.1-beta.14 release. 2019-01-14 10:45:43 -05:00
Ben Newman
bbc2fb636e Bump package versions for 1.8.1-beta.13 release. 2019-01-11 13:08:45 -05:00
Ben Newman
fbf463c6e3 Bump package versions for 1.8.1-beta.12 release. 2019-01-10 11:33:33 -05:00
Ben Newman
68fc39af73 Bump package versions for 1.8.1-beta.11 release. 2019-01-06 19:12:05 -05:00
Ben Newman
e25415927f Merge branch 'devel' into release-1.8.1 2019-01-06 19:10:45 -05:00
Ben Newman
be6e529a73 Bump package versions for the official 1.8.0.2 release. 2019-01-06 17:26:28 -05:00
Ben Newman
68742a5fc0 Bump package versions for 1.8.0.2-rc.2 release. 2019-01-06 15:56:00 -05:00
Ben Newman
b736b43b49 Bump meteor-promise version to 0.8.7.
Should help with #10359, as this version includes @VeselyT's commit
bbe4f0d20b
2019-01-06 15:26:56 -05:00
Ben Newman
2673facd0a Update meteor-babel to version 7.2.0. 2019-01-06 15:26:50 -05:00
Ben Newman
f04de1cd0e Bump package versions for 1.8.0.2-rc.1 release. 2019-01-06 15:15:52 -05:00
Ben Newman
b42524ba52 Bump package versions for 1.8.1-beta.10 release. 2019-01-04 13:27:16 -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. 2018-12-19 14:08:49 -05:00