Commit Graph

8233 Commits

Author SHA1 Message Date
Ben Newman
a9ac309fb9 Bump package versions for 1.5-beta.8 release. 2017-02-21 13:26:01 -05:00
Ben Newman
41e9ee857e Evaluate dynamic module code in package scope.
This should elegantly address the issues described in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-280881830

I toyed with the possibility of turning package variables (both imports
from other packages and intercepted "global" variable assignments) into
properties on a shared namespace object, but that would have been a major
breaking change for existing package code, because it would have required
automatically rewriting variable references in package modules.
2017-02-21 11:47:31 -05:00
Ben Newman
2c172db31a Merge branch 'devel' into release-1.5 2017-02-21 11:33:00 -05:00
Ben Newman
2a32faf27a Bump package versions for 1.5-beta.7 release. 2017-02-16 18:34:03 -05:00
Ben Newman
a1c4df3f57 Call api.use("ddp") in dynamic-import/package.js.
Though I am still considering alternatives to DDP, the dynamic-import
package should depend on the packages that it uses.
2017-02-16 18:20:42 -05:00
Ben Newman
edb4e0664c Walk dynamic module graph synchronously.
I made this code asynchronous at first to accommodate the asynchronous
cache API, but walking the graph needs to happen synchronously so that
near-simultaneous dynamic import(...)s do not interleave.
2017-02-16 18:20:41 -05:00
Ben Newman
eadd954115 Use alias instead of stub module for meteor/package imports.
Aliases are lighter weight than stub module functions, and easier for the
dynamic import(...) dependency traversal logic to understand.
2017-02-16 18:20:41 -05:00
Jesse Rosenberger
de2e16b313 Bump version of check package to 1.2.5 in preparation for publishing. 2017-02-15 21:42:28 +02:00
Jesse Rosenberger
b3e34fc273 Merge pull request #8351 from nlhuykhang/update-isPlainObject-from-jquery-v3.1.1
Extract new isPlainObject function from JQuery v3.1.1
2017-02-15 18:57:49 +02:00
Hugh Willson
4f3713f03c Added in Meteor.loggingOut() and related Blaze helpers. (#8271)
* Added in Meteor.loggingOut() and related Blaze helpers.

* Switched loggingIn/loggingOut over to use ReactiveVar; More tests.

* Changed logginInOut helper name to loggingInOrOut.
2017-02-15 11:22:57 -05:00
Ben Newman
87d95ce60f Bump package versions for 1.5-beta.6 release. 2017-02-14 12:38:36 -05:00
Ben Newman
92480b09a0 Regenerate packages/modules/.npm/package/npm-shrinkwrap.json. 2017-02-14 12:31:54 -05:00
Ben Newman
95a7d11018 Regenerate packages/babel-compiler/.npm/package/npm-shrinkwrap.json. 2017-02-14 12:31:40 -05:00
Ben Newman
6b89bed42d Merge branch 'devel' into release-1.5 2017-02-14 12:28:59 -05:00
Ben Newman
954333b813 Bump package versions for the official 1.4.3.1 release. 2017-02-13 19:57:26 -05:00
Ben Newman
5465ab8aee Bump package versions for 1.4.3.1-rc.1 release.
@abernix Bumping the ecmascript version is apparently necessary if the
babel-compiler package has changed, presumably because ecmascript defines
a compiler plugin that uses babel-compiler. Unless the ecmascript version
has been bumped, babel-compiler changes won't appear to have any effect.
2017-02-13 19:22:54 -05:00
Ben Newman
21185dad10 Bump package versions for 1.4.3.1-rc.0 release. 2017-02-13 18:17:06 -05:00
Ben Newman
ebbc02d025 Upgrade meteor-babel and reify to versions 0.14.4 and 0.4.8.
Thanks to @abernix for fixing this Babel/Babylon bug in Reify:
https://github.com/benjamn/reify/pull/62

Fixes #8312.
2017-02-13 18:11:11 -05:00
Khang Nguyen-Le
5914d95ab0 Extract new isPlainObject function from JQuery v3.1.1 2017-02-11 13:36:10 +07:00
Ben Newman
b76bed6eff Merge branch 'devel' into release-1.5 2017-02-10 19:45:52 -05:00
Ben Newman
92ab3e461a Update package versions for the official 1.4.3 release. 2017-02-10 18:45:22 -05:00
Ben Newman
3d16706f00 Bump package versions for 1.4.3-rc.6 release. 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
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
b6e3a52b63 Bump package versions for 1.5-beta.5 release. 2017-02-10 14:39:27 -05:00
Ben Newman
cda9ba1d41 Merge branch 'release-1.4.3' into release-1.5 2017-02-10 14:37:43 -05:00
Ben Newman
db848e2dde Bump package versions for 1.4.3-rc.5 release. 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. 2017-02-10 12:05:17 -05:00
Hugh Willson
a0b323f3e3 Moved spiderable into non-core. 2017-02-10 11:40:29 -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
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
81cc8aabcf Bump package versions for 1.4.3-rc.3 release. 2017-02-09 16:40:35 -05:00
Ben Newman
4784b77c9e Make sure dynamic-import package has Promise polyfill.
I might not have noticed this, except that PhantomJS still does not
provide a native Promise constructor.
2017-02-09 13:25:58 -05:00
Ben Newman
1b7ceab6d5 Bump package versions for 1.5-beta.4 release. 2017-02-09 10:24:49 -05:00
Ben Newman
51c9f5e16c Use Meteor._localStorage only in production mode.
https://github.com/meteor/meteor/pull/8327#issuecomment-278660587
2017-02-09 10:19:24 -05:00
Ben Newman
1bbe7b6770 Bump package versions for 1.5-beta.3 release.
https://github.com/meteor/meteor/releases/tag/release%2FMETEOR%401.5-beta.3
2017-02-08 23:15:26 -05:00
Ben Newman
cf3744f624 Copy "main" and "browser" from non-dynamic package.json files.
Fixes the first problem reported by @klaussner in this comment:
https://github.com/meteor/meteor/pull/8327#issuecomment-278491257
2017-02-08 18:36:27 -05:00
Ben Newman
9b016bd28d Rename modules to real in modules-runtime/meteor-install.js.
I think `real` is a better antonym for `meta`, and I appreciate that
`real` and `meta` are both four letters long.
2017-02-08 18:36:26 -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