Commit Graph

22752 Commits

Author SHA1 Message Date
Brian Mulhall
dcf1afbd64 add in some settings that while they are the default values Terser use out of the box, it will help to document what settings we are using to any developer reading the code 2020-03-14 18:37:32 -05:00
Brian Mulhall
d310e38574 updating the README.md documentation file 2020-03-14 18:32:38 -05:00
Brian Mulhall
b38abd9f45 adding more test cases for terser compress settings 2020-03-14 18:15:44 -05:00
Brian Mulhall
dd822d2cdb update terser from 4.4.0 to 4.6.6 and then bump up the package version from 2.6.0 to 2.6.1 2020-03-14 15:45:36 -05:00
Brian Mulhall
96613f3103 updated the test cases to include a test for the keep_inifinty setting 2020-03-14 15:44:25 -05:00
Brian Mulhall
6924de02fa updating the test cases for the minifier-js package 2020-03-14 15:27:47 -05:00
Brian Mulhall
93a9cf9a63 updating the class defintion to use the newer class syntax 2020-03-14 14:03:26 -05:00
Brian Mulhall
615e2a65af updating the standard-minifier-js package to use more modern syntax and to correct and outdated comment 2020-03-14 12:43:20 -05:00
Brian Mulhall
cc4b6d81fe updating the minifier-js to modernize it's syntax and review and update it configuration. The configuration options and settings are also documented as to why and how they are being set so future developers will understand why it is configured as it is 2020-03-14 12:42:20 -05:00
Brian Mulhall
783a9c7ecb updating the minifier-js package to include test cases 2020-03-14 12:40:31 -05:00
Ben Newman
0835462b55 Merge pull request #10861 from meteor/release-1.10
Release 1.10
2020-03-12 18:38:56 -04:00
Ben Newman
d274d8d7ef Work around bizarre SQLite dynamic type conversion behavior.
SQLite has a worse-is-better philosophy about automatically converting
between different data types, such as strings and floating point numbers:
https://www.sqlite.org/quirks.html#flexible_typing

This means querying for the string "1.10" in a given column can return
rows where the column is actually the string "1.1", since SQLite imagines
you might be talking about the number 1.1, rather than the string you
actually requested.

This "feature" became a problem for Meteor after we published Meteor 1.10,
which caused SQLite to return multiple rows for the getReleaseVersion
query, including both Meteor 1.10 and Meteor 1.1 (which is ancient, from
March 2015).

While this behavior seems completely indefensible, the SQLite
documentation clearly does not consider it a bug, which forces us to work
around the consequences by double-checking the queried results with the
filterExactRows helper function.
2020-03-12 18:07:39 -04:00
filipenevola
88d017137c Bump package versions for 1.10.1 release release/METEOR@1.10.1 2020-03-12 17:17:23 -03:00
filipenevola
39e57ecd79 Bump package versions for the official 1.10 release. 🎉 2020-03-12 14:29:56 -03:00
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