Commit Graph

18355 Commits

Author SHA1 Message Date
Ben Newman
752ee55a8f Bump $BUNDLE_VERSION to 4.7.11 before rebuilding dev bundle. 2017-02-13 14:36:12 -05:00
Ben Newman
bdcce3d209 Upgrade npm to version 4.1.2 again, matching Meteor 1.4.3 as published. 2017-02-13 14:35:49 -05:00
Ben Newman
0f8fb6fcbe Merge branch 'master' into release-1.4.2.7
The release-1.4.2.7 branch was begun from release-1.4.2.6, which has
fallen behind the master branch since release-1.4.3 landed.

To avoid conflicts when merging release-1.4.2.7 into master, I published
the official METEOR@1.4.2.7 release tag, then merged master into
release-1.4.2.7, and will soon (if the tests pass) merge release-1.4.2.7
back into master, putting master back in its 1.4.3 state, except with the
release-1.4.2.7 history included.
2017-02-13 14:23:58 -05:00
Ben Newman
46ad205fe9 Bump package versions for the official 1.4.2.7 release. release/METEOR@1.4.2.7 2017-02-13 13:46:57 -05:00
Ben Newman
56d7366b54 Bump package versions for 1.4.2.7-rc.0 release. release/METEOR@1.4.2.7-rc.0 2017-02-13 13:29:07 -05:00
Ben Newman
b1bc7db982 Bump $BUNDLE_VERSION to 4.7.10 before rebuilding dev bundle. 2017-02-13 12:54:44 -05:00
Ben Newman
e83a1cfb8e Revert "Upgrade the npm npm package to version 4.1.2."
This reverts commit be0c8c3ee0.

Although we thought the upgrade from npm 3.10.9 to 4.1.2 was worthwhile
and safe, this breaking change proved problematic:
https://github.com/npm/npm/blob/latest/CHANGELOG.md#no-more-partial-shrinkwraps-breaking

Specifically, if a Meteor package uses `Npm.depends`, and does not yet
have an `.npm/package/npm-shrinkwrap.json` file, Meteor will create a
partial shrinkwrap file in order to install npm dependencies, but (with
the changes in npm@4) transitive dependencies of the package will no
longer be installed.

Upgrading npm to a new major version was probably too much of a change for
a 1.4.2.x release, anyway, so we're reverting it for 1.4.2.7.

In case you can't wait for 1.4.2.7, you can "fix" this problem for
previous versions of Meteor by running

  meteor npm install --global npm@3.10.9

You can test that this downgrade worked by running

  meteor npm version
2017-02-13 12:54:06 -05:00
Ben Newman
663f8770c5 Merge pull request #8123 from meteor/release-1.4.3
Release 1.4.3
2017-02-10 19:41:01 -05:00
Ben Newman
92ab3e461a Update package versions for the official 1.4.3 release. release/METEOR@1.4.3 2017-02-10 18:45:22 -05:00
Hugh Willson
371ba46ddb Updated all release dates to follow the format YYYY-MM-DD. 2017-02-10 18:17:28 -05:00
Ben Newman
86ab217a0f Final tweaks to History.md wording and formatting. 2017-02-10 18:13:28 -05:00
Ben Newman
3d16706f00 Bump package versions for 1.4.3-rc.6 release. release/METEOR@1.4.3-rc.6 2017-02-10 17:52:32 -05:00
Ben Newman
ad9f218042 Move various deprecated packages to packages/deprecated. 2017-02-10 17:47:27 -05:00
Ben Newman
90fad364c2 Update History.md to reflect two recent changes. 2017-02-10 17:30:16 -05:00
Ben Newman
020f8f7908 Only bump minor version of url package, not major.
This still indicates a potentially breaking change, but not a drastic
overhaul. I think people are going to hit constraint solver issues because
of this bump, and I don't want the change to seem more significant than it
really is.
2017-02-10 17:14:51 -05:00
Ben Newman
db848e2dde Bump package versions for 1.4.3-rc.5 release. release/METEOR@1.4.3-rc.5 2017-02-10 13:37:51 -05:00
Ben Newman
eb0d0c6aff Remove -rc.n suffix from coffeescript version.
Now that coffeescript is in packages/non-core, we can publish it
separately from the Meteor release, so it doesn't need a prerelease
version suffix.
2017-02-10 13:28:16 -05:00
Ben Newman
4d1f21da65 Move coffeescript into packages/non-core.
See discussion on #8298, starting with this comment:
https://github.com/meteor/meteor/pull/8298#issuecomment-279012565
2017-02-10 13:26:30 -05:00
Ben Newman
ba12b85412 Move jquery-waypoints into packages/non-core.
I'm planning to move coffeescript into packages/non-core, and this is the
only core package that depends on coffeescript.
2017-02-10 13:25:36 -05:00
Christian Klaussner
452333aff3 Fix CoffeeScript source map composition 2017-02-10 13:22:59 -05:00
Ben Newman
2f3f90d7e6 Bump package versions for 1.4.3-rc.4 release. release/METEOR@1.4.3-rc.4 2017-02-10 12:05:17 -05:00
Ben Newman
ce547d69ef Add v1.4.3 header to History.md. 2017-02-10 11:44:33 -05:00
Hugh Willson
a0b323f3e3 Moved spiderable into non-core. 2017-02-10 11:40:29 -05:00
Ben Newman
d40c54a879 Merge pull request #8346 from meteor/abernix/polishing-accounts-7715
Touch-ups for Accounts Package Changes
2017-02-10 11:39:27 -05:00
Jesse Rosenberger
2a09a6740a Move deprecated account packages to deprecated instead of non-core.
Since they're deprecated and non-core.
2017-02-10 17:39:02 +02:00
Jesse Rosenberger
44954fee0c Use hasOwnProperty instead of checking against undefined primitive.
Gets rid of superflous parenthesis too.
2017-02-10 17:34:55 +02:00
Jesse Rosenberger
d0151c04f1 Improve the display of the deprecation warning for accounts packages 2017-02-10 17:34:55 +02:00
Jesse Rosenberger
786511dffc Move facebook out of deprecated for consistency, for now.
It will get moved back in an upcoming merge.
2017-02-10 17:34:55 +02:00
Jesse Rosenberger
2c5dda1675 Explicitly join the fields array to a comma-delimited string.
With https://github.com/meteor/meteor/pull/8261 merged, arrays are no longer concatenated (with commas) into a string during `HTTP.call` requests so we need to specify the exact behavior we want. Any previous behavior of this type was purely accidental.

The definition of this field in Facebook's API is that it should be a comma-separated field:

https://developers.facebook.com/docs/graph-api/using-graph-api
2017-02-10 17:34:54 +02:00
Jesse Rosenberger
8c7758015d Fix inaccurate comment
This should have been updated when 8de559a was changed.
2017-02-10 17:34:54 +02:00
Jesse Rosenberger
bf59881fc9 Cleanup the warning message which is displayed on server and client
This implements a more clean formatting for the message.
2017-02-10 17:34:28 +02:00
Jesse Rosenberger
f4d677fbc8 Add an upgrader which modifies accounts-* packages automatically.
The transformations to be made here are:
   * Existence of `accounts-<service>` **adds** `<service>-config-ui`
   * Existence of `<service>` **changes to** `<service>-oauth`
 https://github.com/meteor/meteor/issues/7715#issuecomment-276529351

 Relates to:

  * facebook: https://github.com/meteor/meteor/pull/7728
  * github: https://github.com/meteor/meteor/pull/8303
  * google: https://github.com/meteor/meteor/pull/8275
  * meetup: https://github.com/meteor/meteor/pull/8231
  * meteor-developer: https://github.com/meteor/meteor/pull/8305
  * twitter: https://github.com/meteor/meteor/pull/8283
  * weibo: https://github.com/meteor/meteor/pull/8302
2017-02-10 17:34:28 +02:00
Hugh Willson
e6d905ca54 Adjusted query string array representation to remove indices. (#8342)
* Adjusted query string array representation to remove indices.

* Increased major version since the new _encodeParams() result is not backwards compatiable.
2017-02-10 17:34:27 +02:00
Jesse Rosenberger
873f13d743 Upgrade Facebook Graph API to use v2.8
In testing for #7715, I discovered that the v2.2 Graph API endpoint was still in use in the `facebook` package which was due to sunset on 2017-03-25.

See Facebook Graph API Changelog here:
  https://developers.facebook.com/docs/apps/changelog

When a Graph API endpoint is sunset, it (is claimed) to automatically turn over to the next more recent version, in this case v2.3.

v2.3 has a breaking-change over v2.2, notably listed in "Changes from v2.2 to v2.3":

> [Oauth Access Token] Format - The response format of https://www.facebook.com/v2.3/oauth/access_token returned when you exchange a code for an access_token now return valid JSON instead of being URL encoded. The new format of this response is {"access_token": {TOKEN}, "token_type":{TYPE}, "expires_in":{TIME}}. We made this update to be compliant with section 5.1 of RFC 6749.

This change updates both Graph APIs to v2.8 which has LTS until "At least October 2018".
2017-02-10 17:34:27 +02:00
Ben Newman
12f35950c1 Improve formatting of accounts reorganization History.md entry
Also fixed the pull request number for the `meetup` package.
2017-02-09 18:33:02 -05:00
Ben Newman
81cc8aabcf Bump package versions for 1.4.3-rc.3 release. release/METEOR@1.4.3-rc.3 2017-02-09 16:40:35 -05:00
Ben Newman
bcffe53d14 Consider npm packages with {,pre,post}install scripts non-portable.
Inspired by analysis from @danstiner:
https://github.com/meteor/meteor/issues/8225#issuecomment-275044900

Fixes #8225, as well as the tests I added in 672c4f338a.

I changed the name of the .meteor-portable file to .meteor-portable-1.json
in order to invalidate previous .meteor-portable files. This naming scheme
will be more sustainable, because we can keep incrementing the version
number whenever we change this logic.
2017-02-09 16:04:23 -05:00
Ben Newman
672c4f338a Add the modules test app to the self-test suite.
I've been running these tests manually ever since Meteor 1.3, but they
really should run every time.
2017-02-09 12:09:48 -05:00
Ben Newman
fabad4cc8d Overwrite implicit modules only if they are package.json files.
Implicit empty stub CSS modules added in addStylesheet in
compiler-plugin.js were being overwritten with actual CSS module code,
thanks to logic intended to support replacing package.json stubs with
their actual contents.

The meaning of "implicit" is somewhat overloaded: for package.json
modules, it means the module is a minimal stub (just the "name",
"version", and "main"/"browser" fields) that should be replaced if ever
explicitly imported. For empty stub CSS modules, it means the module
should yield to any actual modules added via addJavaScript.
2017-02-09 12:09:34 -05:00
Ben Newman
365ceb6386 Tolerate ENOENT exceptions from files.realpath in isWithinProdPackage. 2017-02-08 17:18:30 -05:00
Ben Newman
e2cf76f8da Move deprecated packages from packages/non-core to packages/deprecated.
These subdirectories are functionally equivalent, but obviously the
packages/deprecated directory is a better home for deprecated packages.
2017-02-08 16:20:23 -05:00
Ben Newman
19a2606539 Merge branch 'devel' into release-1.4.3 2017-02-08 16:02:53 -05:00
Ben Newman
6a4d76ef8e Remove -beta.n suffix from less before republishing. 2017-02-08 15:55:28 -05:00
Ben Newman
6b6e5d8017 Remove -beta.n suffix from minifier-css before republishing. 2017-02-08 15:46:27 -05:00
Ben Newman
7e13201f12 Remove -beta.n suffix from minifier-js before republishing. 2017-02-08 15:45:56 -05:00
Ben Newman
3163085e1f Remove -beta.n suffix from standard-minifier-js before republishing. 2017-02-08 15:41:57 -05:00
Ben Newman
af100fdb60 Remove -beta.n suffix from standard-minifier-css before republishing. 2017-02-08 15:41:04 -05:00
Ben Newman
3868e83dee Remove -beta.n suffix from stylus package before republishing. 2017-02-08 15:38:28 -05:00
Ben Newman
3761fd4bf1 Bump package versions for 1.4.3-rc.2 release. release/METEOR@1.4.3-rc.2 2017-02-08 15:10:39 -05:00
Ben Newman
0e0ad9f629 Move deprecated packages into packages/non-core. 2017-02-08 15:09:55 -05:00