Commit Graph

20559 Commits

Author SHA1 Message Date
Ben Newman
3f2a79eaba Bump package versions for 1.6.1-beta.19 release. release/METEOR@1.6.1-beta.19 2017-12-19 18:41:38 -05:00
Ben Newman
468e7cbcca Bump $BUNDLE_VERSION to 8.9.11 before rebuilding dev bundle. 2017-12-19 18:23:19 -05:00
Ben Newman
bf6d0dabc9 Merge branch 'devel' into release-1.6.1 2017-12-19 18:22:51 -05:00
Ben Newman
7583fc0bb6 Update meteor-babel and reify to latest versions. 2017-12-19 18:14:38 -05:00
Ben Newman
a7585da87c Bump MIN_NODE_VERSION to enforce Node >= 8 in production. (#9485)
Clearly we haven't remembered to bump this version for some time now,
which is too bad, because it could have provided a more helpful error for
developers using an older version of Node in their non-Galaxy deployment
environments: https://github.com/meteor/meteor/issues/9470
2017-12-19 13:10:54 -05:00
Hugh Willson
d644705aa8 Deprecate stylus (#9445)
* Deprecate the stylus package

Better / more up to date 3rd party stylus packages exist and
there isn't really any technical reason why Meteor core needs
to include its own stylus package. Since a stylus package
can be fully built and managed outside of core, this commit
moves the `stylus` package into `deprecated` (and preps the
package contents for deprecation if we decide to publish a
final version).

* Removed dupe

* Add test placeholder css file to console test runner

Some of Meteor's package tests require at least one `.css`
file to be available in the tested application bundle
(e.g. "appcache - sections validity" and "webapp -
content-type header"). The inclusion of this file makes
sure that at least one `.css` file can always be found,
when the tests are run.

* Bump test-in-console package version

* Bump package minor version

Putting the minor version at something unreachable to
make sure the deprecated version isn't accidientally
pulled into an app when running
`meteor update --all-packages` or `meteor update stylus`.

* Add PR link
2017-12-14 09:47:02 -05:00
Jesse Rosenberger
9b056f5e91 Merge pull request #9341 from meteor/glasser/progress-status-only
Improved console behavior within the Emacs shell, and also general
Console refactoring to modernize ECMAScript use and remove Underscore.
2017-12-13 20:14:13 +02:00
Jesse Rosenberger
6f1f20c054 Update History.md [skip ci]
To fix my typo from the previous commit.
2017-12-13 20:06:58 +02:00
Jesse Rosenberger
6507a9009e Update History.md 2017-12-13 19:30:02 +02:00
Hugh Willson
7c48bb5a73 Prevent Tool crash when settings file contains BOM (#9459)
* Prevent Tool crash when settings file contains BOM

The use of a byte order mark in a `--settings` file
crashes the Meteor Tool, when it attempts to JSON parse
the loaded settings data. Since a BOM is not required
(or recommended) when using UTF-8, this commit removes
it from the loaded settings data, before it is parsed.

Fixes #5180.

* Add PR link to History.md

* Update History.md
2017-12-13 12:05:42 -05:00
Andrew Mao
25a7439769 Update URL for information about file watchers (#9460)
The documentation itself could benefit from an update to describe the new polling/watcher priority system, but that's a task for another PR.
2017-12-13 11:50:50 -05:00
Hugh Willson
ce3885b6df Ignore undefined fields when inserting/updating in Mongo (#9444)
* Ignore undefined fields when inserting/updating in Mongo

The Mongo Node driver that Meteor uses currently replaces
`undefined` field values with `null`, when doing an
insert/update. This approach can lead to unexpected behaviour,
as outlined in #1646, #6051 and several other issues. This commit
configures the default Mongo connection to `ignoreUndefined`
fields, which means `undefined` fields are not inserted/updated,
instead of being inserted/updated as `null`.

Fixes #6051.

* Add PR link to History.md
2017-12-13 11:36:54 -05:00
Hugh Willson
ae1783bd4b Update Email.send docs to show how to add header objects (#9443)
* Update Email.send docs to show how to add header objects

Recent versions of `mailcomposer` (which Meteor is now using) no
longer `JSON.stringify` added header objects. This commit updates
the `Email.send` `options.headers` docs to show how to properly
associate objects with custom headers using `JSON.stringify`.

Fixes #8660.

* Adjust header object docs property naming to avoid confusion
2017-12-13 11:30:19 -05:00
Hugh Willson
56a86bf298 Help browser account saving with accounts-ui login/signup forms (#9442)
* Help browser account saving with accounts-ui login/signup forms

`accounts-ui-unstyled` currently uses `<div />`'s to hold its
login/signup forms, as well as `<div />`'s to represent the
login/signup buttons in the form. By not using proper
`<form />` and `<button />` elements, certain browser's do not
notice incoming login/signup requests, and therefore do not
trigger their built in "would you like to save your user/password"
functionality. This commit adjusts the `accounts-ui-unstyled`
login/signup form to use proper `<form />` and `<button />`
elements, allowing most (Chrome, Firefox, IE - Safari will
recognize the request when a user attempts to leave the page)
browsers to recognize incoming login/signup requests.

Fixes #1746.

* Add History.md entry outlining potential back compat issues

* Bump minor versions
2017-12-13 11:29:55 -05:00
Jesse Rosenberger
577088551a Merge pull request #9467 from meteor/abernix/fix-test-versioning-hot-code-push
Define Sandbox `clients` when running `versioning hot code push test`.
2017-12-13 17:38:31 +02:00
Jesse Rosenberger
e8fad2af2d Define Sandbox clients when running versioning hot code push test.
Since this test utilizes the `testWithAllClients` technique, which runs
the tests in various clients/browsers, it's necessary for the tests
`Sandbox` to define `clients`, otherwise the function within
`testWithAllClients` will not be executed at all.  This was causing this
particular test to always return success (it was running without failure
on exactly zero clients).

Also the technique of setting `this.baseTimeout` appeared to cause
problems, likely because it overrides various other values instead of
using `waitSecs` (we don't use the `baseTimeout` technique in other
places within self-tests either).

Discovered during testing, as mentioned in
https://github.com/meteor/meteor/pull/9439#pullrequestreview-83139232.
2017-12-13 16:07:59 +02:00
Ben Newman
0b8757bed9 Bump package versions for 1.6.1-beta.18 release. release/METEOR@1.6.1-beta.18 2017-12-12 18:04:56 -05:00
Ben Newman
f4fcafcdfd Bump $BUNDLE_VERSION to 8.9.10 before rebuilding dev bundle. 2017-12-12 17:58:44 -05:00
Ben Newman
710869baca Merge branch 'devel' into release-1.6.1 2017-12-12 17:58:27 -05:00
Ben Newman
bee21a63f8 Bump modules package version to 0.11.1. 2017-12-12 17:57:24 -05:00
Ben Newman
9a391d9b04 Fix #9428 by registering dynamic-import HTTP endpoint earlier. (#9465) 2017-12-12 17:27:41 -05:00
Ben Newman
acde4cca61 Merge pull request #9464 from meteor/bundle-package.json-when-main-absent
Bundle package.json stub even when "main" field is absent.
2017-12-12 16:17:37 -05:00
Ben Newman
b16a61c98b Fix #9235 by bundling package.json stubs even if "main" absent. 2017-12-12 15:45:02 -05:00
Ben Newman
d4d3df1428 Inline Resolver#_resolvePkgJsonMain into sole calling method. 2017-12-12 15:45:01 -05:00
Jesse Rosenberger
ae3c05cb34 Merge pull request #9448 from skirunman/patch-3
Update to Cordova iOS v4.5.4
2017-12-12 22:06:17 +02:00
Ben Newman
12ca5104a8 Merge pull request #9463 from meteor/issue-9305-fix-module.watch-default
Fix #9305 by including `default` when mirroring module exports.
2017-12-12 14:25:29 -05:00
Ben Newman
b343ec8568 Fix #9305 by including default when mirroring module exports.
This functionality was added in reify@0.13.3:
10c90cd0a2

The changes to modules-test-plugin/plugin.js cause files like array.arson
to mirror array.arson.js, which exercises module.makeNsSetter(true) and
relies on default exports.
2017-12-12 13:31:28 -05:00
Ben Newman
ac705ebd92 Bump reify npm package to version 0.13.3. 2017-12-12 13:30:59 -05:00
Ben Newman
c28440ab81 Fix warnings about missing @-scoped npm packages. 2017-12-12 13:30:59 -05:00
Jesse Rosenberger
f1ab4d7b37 Remove iPad sizes which aren't expected to be supported.
The current believe, per @skirunman (whose perspective on the matter I trust), is that these sizes won't be supported in this manner by Apple, but rather as storyboards.

Ref: https://github.com/meteor/meteor/pull/9448#issuecomment-351123720
2017-12-12 19:37:25 +02:00
Jesse Rosenberger
4d32c1ca3d Merge pull request #9457 from phurinaix/patch-1
Change http link to https in README.md file
2017-12-12 18:38:51 +02:00
Jesse Rosenberger
20307f8d72 Change top-level const-like variables to actual consts. 2017-12-12 17:19:55 +02:00
Jesse Rosenberger
b70d01c5b0 Remove Underscore from Meteor "console" module. 2017-12-12 17:19:50 +02:00
Jesse Rosenberger
6f01d18252 Change tool "cleanup" module to use ESM format and remove Underscore. 2017-12-12 17:19:42 +02:00
Jesse Rosenberger
d35b1e240e Use Object.create(null) rather than object literal notation.
To avoid any unintended inheritance of non-"own" properties.
2017-12-12 17:19:35 +02:00
Jesse Rosenberger
0f18f96a18 Switch to using import syntax in Meteor console module. 2017-12-12 17:19:27 +02:00
Jesse Rosenberger
7268fb8ca0 Improve Emacs shell support by auto-detecting Emacs.
This adds a memoized helper function for detecting Emacs throughout the
CLI tool and automatically resorts to "ProgressDisplayStatus" mode when
Emacs is enabled.

In my tests with both Emacs 22 and 27, this nearly doubled performance
when using Meteor from within the Emacs shell (i.e. `M-x shell`).
2017-12-12 17:19:16 +02:00
PHuRinaT PuEkkHaM
c6e3695534 Change http link to https in README.md file
-change two link
1. from "http://docs.meteor.com/#ddp_connect" to "https://docs.meteor.com/api/connections.html#DDP-connect"
2. from "http://docs.meteor.com/" to "https://docs.meteor.com/"
2017-12-10 01:55:40 +07:00
Ben Newman
d045663fcd Bump package versions for 1.6.1-beta.17 release.
The 1.6.1-beta.16 release was DOA and should be avoided (if it can even be
installed), due to an unfortunate interruption of my internet connection.
release/METEOR@1.6.1-beta.17
2017-12-08 19:02:55 -05:00
Ben Newman
a40ab79a9c Merge branch 'devel' into release-1.6.1 2017-12-08 18:41:38 -05:00
Ben Newman
2babb70764 Fix merge typo in mongo/collection.js. 2017-12-08 18:41:15 -05:00
Ben Newman
d0b5fc5b7b Bump package versions for 1.6.1-beta.15 release. release/METEOR@1.6.1-beta.15 2017-12-08 18:31:31 -05:00
Ben Newman
718870aa79 Bump $BUNDLE_VERSION to 8.9.9 before rebuilding dev bundle. 2017-12-08 18:07:43 -05:00
Ben Newman
f098648d8a Merge branch 'devel' into release-1.6.1 2017-12-08 18:07:19 -05:00
Ben Newman
bf9624f644 Merge branch 'master' into devel 2017-12-08 18:02:55 -05:00
Ben Newman
2d14db1f16 Merge pull request #9449 from meteor/release-1.6.0.1
Release 1.6.0.1
2017-12-08 17:58:44 -05:00
Ben Newman
02cfd0fab1 Merge branch 'master' into release-1.6.0.1 2017-12-08 17:58:26 -05:00
Ben Newman
709834f02f Merge pull request #9455 from meteor/merge-1.5.x-and-1.4.x-into-master
Merge 1.5.x and 1.4.x into master.
2017-12-08 17:57:41 -05:00
Ben Newman
926205f5d9 Merge branch 'release-1.4.x' 2017-12-08 17:24:12 -05:00
Ben Newman
507c7649ca Merge pull request #9451 from meteor/release-1.4.4.5
Release 1.4.4.5
2017-12-08 17:19:37 -05:00