Commit Graph

22738 Commits

Author SHA1 Message Date
filipenevola
12ee7d37af Bump package versions for 1.10.0-rc.5 release release/METEOR@1.10-rc.5 2020-03-11 23:02:39 -03:00
filipenevola
e4fc3ccbcf Documents the new command to ensure cordova dependencies are installed 2020-03-11 23:01:31 -03:00
Filipe Névola
5fb2f341f3 Merge pull request #10963 from meteor/fix-first-time-cordova-lib-installation
Stop calling moduleDoesResolve before installing Cordova npm deps.
2020-03-11 22:52:44 -03:00
Ben Newman
2b8834e92e Stop calling moduleDoesResolve before installing Cordova npm deps.
This fixes the bug where commands like `meteor add-platform ios` would
fail the first time with an error that cordova-lib could not be found,
even though we attempt to install the necessary packages if they have not
already been installed.

To make a very long story short, calling moduleDoesResolve before
installing dependencies like cordova-lib was causing Node.js to cache the
_absence_ of cordova-lib/package.json permanently in the new
packageJsonCache, which cannot be invalidated or cleared by user code:
f8f20892e9/lib/internal/modules/cjs/loader.js (L245-L255)

Although we could potentially propose a change to Node to allow the
packageJsonCache to be invalidated, a more immediate solution is simply to
avoid calling moduleDoesResolve when there's any chance the module will
not resolve. Because we still want to avoid repeatedly installing Cordova
dependencies every time we run a Cordova command, we instead check whether
the necessary dependencies are installed by examining the file system.
2020-03-11 18:01:33 -04:00
filipenevola
824b247daa Adds a new command to ensure cordova dependencies are installed 2020-03-11 17:59:56 -03:00
filipenevola
4997c76989 Removes unnecessary code (protect-string-proto.js) as Cordova 9 is not using shelljs anymore and also some unused imports 2020-03-11 17:59:25 -03:00
filipenevola
8822ce987e Merge branch 'devel' into release-1.10
# Conflicts:
#	packages/meteor-tool/package.js
#	packages/npm-mongo/package.js
#	scripts/admin/meteor-release-experimental.json
2020-03-09 22:48:17 -04:00
filipenevola
a8b31bc578 Merge branch 'master' into devel
# Conflicts:
#	History.md
#	packages/npm-mongo/.npm/package/npm-shrinkwrap.json
#	packages/npm-mongo/package.js
2020-03-09 22:47:26 -04:00
Filipe Névola
b7a8b1ed44 Merge pull request #10961 from meteor/mongodb-fix-driver
Release 1.9.3
2020-03-09 22:44:09 -04:00
filipenevola
e3174c9735 Updates npm-mongo npm-shrinkwrap.json 2020-03-09 19:09:32 -04:00
filipenevola
354e24b3f6 Bump package versions for 1.9.3 release 🎉 release/METEOR@1.9.3 2020-03-09 18:55:24 -04:00
filipenevola
830a726d11 Updates History explaining the change on Swift version 2020-03-06 13:10:55 -04:00
filipenevola
5e5c75b36b Bump package versions for 1.10-rc.4 release 2020-03-06 13:10:35 -04:00
filipenevola
65fc649375 Bump npm-mongo package version to avoid conflicts with Meteor 1.9.3 2020-03-06 10:31:40 -04:00
filipenevola
ae503c5727 Use -quiet option for iOS to avoid unnecessary messages 2020-03-06 10:25:18 -04:00
filipenevola
feebaabc95 Fixes SWIFT_VERSION error 2020-03-06 10:24:56 -04:00
filipenevola
92d0674469 Bump package versions for 1.9.3-rc.0 release release/METEOR@1.9.3-rc.0 2020-03-05 20:23:13 -04:00
filipenevola
71ae51a277 Updates mongodb driver to 3.5.4 2020-03-05 20:22:23 -04:00
filipenevola
975759f6aa WKWebViewOnly is set by default now as true and updates cordova-plugin-meteor-webapp to 1.9.0 that is compatible with Swift 5 2020-03-04 17:11:41 -04:00
Filipe Névola
629b3670b2 Merge pull request #10958 from StorytellerCZ/devel
Migrations steps for 1.10 MongoDB `Unexpected exit code 62`
2020-03-04 16:45:09 -04:00
Jan Dvorak
82d340921c Update History.md
Co-Authored-By: Christian Klaussner <christian@klaussner.me>
2020-03-03 21:06:19 +09:00
Jan Dvorak
2f5459c267 Migrations steps for 1.10 MongoDB Unexpected exit code 62
Add migrations steps in case of `Unexpected mongo exit code 62.`
2020-03-03 09:07:07 +09:00
filipenevola
5404d065e9 Bump package versions for 1.10-rc.3 release release/METEOR@1.10-rc.3 2020-03-02 15:39:38 -04:00
filipenevola
8b642e2ee6 Pins cordova-plugin-inappbrowser to 3.2.0 2020-03-02 15:38:19 -04:00
filipenevola
e898ab9b98 Bump package versions for 1.10-rc.2 release release/METEOR@1.10-rc.2 2020-02-28 16:13:02 -04:00
filipenevola
23b8bd142e Updates skel-typescript
- meteor create --typescript app now uses useTracker hook instead of withTracker HOC, it also uses function components instead of classes
2020-02-28 16:05:38 -04:00
filipenevola
356f0a4d79 Updates skel-react
- meteor create --react app now uses useTracker hook instead of withTracker HOC, it also uses function components instead of classes
2020-02-28 15:44:01 -04:00
Ben Newman
65f3644a96 Stop using our fork of cordova-plugin-googleplus.
The PR that we were waiting on got merged in April 2018:
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
2020-02-28 14:03:40 -05:00
Ben Newman
5a182b515e Bump package versions for 1.10-rc.1 release. release/METEOR@1.10-rc.1 2020-02-27 16:47:11 -05:00
Ben Newman
f20fe92b57 Configure autoReconnect and reconnectTries if useUnifiedTopology false.
Following this guidance from @klaussner:
https://github.com/meteor/meteor/pull/10861#commitcomment-37525845

Part of #10925.
2020-02-27 14:36:57 -05:00
Ben Newman
a5700c22d2 Require opting in to mongoOptions.useUnifiedTopology.
Since 0ca83e8fc7 didn't work, this is
another attempt to fix #10925. Note that the comment about deprecation
warnings was actually referring to a different option, useNewUrlParser,
which we no longer use: 282b16ed16

https://github.com/meteor/meteor/issues/10925#issuecomment-591655365
2020-02-27 14:12:17 -05:00
Ben Newman
edc7180382 Bump package versions for 1.10-rc.0 release. 🎉 release/METEOR@1.10-rc.0 2020-02-26 15:52:12 -05:00
Ben Newman
0ca83e8fc7 Update mongodb driver package to version 3.5.4.
With any luck, this update should fix #10925, thanks to
https://jira.mongodb.org/browse/NODE-2467.
2020-02-26 15:39:31 -05:00
Ben Newman
93e9f96124 Two stray -beta110.11 version updates.
These versions were included in the 1.10-beta.11 release, but accidentally
not committed with the other version bumps.
2020-02-26 15:38:16 -05:00
Ben Newman
3317837489 Bump package versions for 1.10-beta.11 release. release/METEOR@1.10-beta.11 2020-02-26 12:22:35 -05:00
Ben Newman
a467255d9c Use IPC message to handle .reload command in meteor shell.
I considered using a nonzero process.exit code, but I didn't want to run
any risk of reusing a meaningful code, and the accepted range of codes
unfortunately does not include parseInt("reload", 36), or 1657112629.

Should fix #10934.
2020-02-26 12:13:48 -05:00
Ben Newman
6232550cb8 Gracefully handle EPIPE errors for nonessential IPC messages.
These stray EPIPE messages have been a problem for a while now, especially
on Windows.

In most cases, they appear to stem from sending a message to a process
that is about to exit, such that the message races against the exit, and
sometimes loses. When that message is a just an obligatory response to a
final message from the exiting process, the exiting process probably does
not care about (and will not receive) the response, so we can safely
swallow the EPIPE error.

Now that all otherProcess.send calls have a callback function, I'm hopeful
we will never see EPIPE errors again.
2020-02-26 12:11:33 -05:00
Ben Newman
42e92391f1 Bump package versions for 1.10-beta.10 release. release/METEOR@1.10-beta.10 2020-02-25 19:46:49 -05:00
Ben Newman
70d25386af Merge branch 'devel' into release-1.10 2020-02-25 19:40:53 -05:00
Joakim Ramer
573c9dc478 Allow oauth server package to parse post body data (#10751) 2020-02-25 19:39:45 -05:00
Seba Kerckhof
163881163f Don't lose the query string when using a path prefix (#10845)
Fixes https://github.com/meteor/meteor/issues/10756
2020-02-25 19:31:42 -05:00
Ben Newman
27e6e9d736 Bump $BUNDLE_VERSION to 12.16.1.6 before rebuilding dev bundle. 2020-02-25 18:58:03 -05:00
Ben Newman
a8686cb1bf Update npm to version 6.14.0. 2020-02-25 18:57:30 -05:00
Ben Newman
8939f93d86 Merge branch 'devel' into release-1.10 2020-02-25 18:53:50 -05:00
Ben Newman
b2eaab533b Include Meteor 1.10 changes in devel version of History.md.
Also removed trailing whitespace while I was at it.
2020-02-25 18:50:15 -05:00
Ben Newman
d6b45509ef Merge pull request #10929 from BrianMulhall/xmlbuilder2-update
Xmlbuilder2 update
2020-02-25 18:49:48 -05:00
Ben Newman
41c20d683a Bump $BUNDLE_VERSION to 12.16.1.5 before rebuilding dev bundle.
Version 12.16.1.4 has already been used on the release-1.10 branch.
2020-02-25 15:54:16 -05:00
Brian Mulhall
709b736161 revert this unneeded change to the license file 2020-02-25 15:47:24 -05:00
Brian Mulhall
ec8f5dd74e adding the xmlbuilder library back in to the license file because we have both in the project now. xmlbuilder is used in the non-core xmlbuilder isopack and xmlbuilder2 is used in the dev bundle 2020-02-25 15:47:24 -05:00
Brian Mulhall
a228aa746a moving the xmlbuilder isopack to the non-core folder since it is no longer being used 2020-02-25 15:47:24 -05:00