Commit Graph

149 Commits

Author SHA1 Message Date
rebolon
d6427c4150 Fix issue #4929 by calling toString on HTTP content
Closes PR #4940

[stubailo: squashed commits, edited commit message, code style]
2015-08-20 09:16:53 -07:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
2015-07-22 23:19:11 -07:00
David Glasser
b1183b5059 Assets in packages must be explicitly declared
In the past, `api.addFiles('foo.gif')` would make foo.gif an asset if
there was no extension handler for gif active.  In fact, it would make
it a dual client/server asset even if that was unintentional.

This led to a few problems:
(a) People often left out 'client' and ended up packaging an unnecessary
    second server copy of the asset
(b) The implementation meant that `api.addFiles('foo.css')` would actually
    add foo.css as a static asset on the server (this was already fixed
    on batch-plugins via explicitly looking for wrong-arch
    classifications)
(c) Now that we have linters, if a file is used by a linter but not by a
    compiler (eg linter config files), there was no way to say in a
    package "add this file, but just for linters, don't make it a static
    asset too".

These are only really issues in packages, not apps.  In apps, we avoid
them by only marking things as static assets if they are in public or
private (and not letting those things be considered as other kinds of
sources).

This is a backwards-incompatible change, but it does not affect apps or
published packages, just packages built from source.
2015-07-09 15:17:56 -07:00
Mitar
67f3e7bc5c Add more headers for JSON parsing. 2015-06-23 14:32:16 -07:00
David Glasser
f75eb8910e tweaks and history 2015-06-16 13:45:09 -07:00
Robert Pitt
60a0c2401d Fixed issues with spacing around conditions. 2015-06-16 13:36:55 -07:00
Robert Pitt
76c1b1117d Removed comment regarding callback context and condences new lines. 2015-06-16 13:36:55 -07:00
Robert Pitt
e705581725 Added documentation for beforeSend 2015-06-16 13:36:55 -07:00
Robert Pitt
400d76d061 add some equilibrium. 2015-06-16 13:36:55 -07:00
Robert Pitt
9ad2294fb3 Added tests 2015-06-16 13:36:55 -07:00
Robert Pitt
db7ea7c543 Added beforeSend hook to http client 2015-06-16 13:36:55 -07:00
David Glasser
4daaa76b12 METEOR@1.0.4 2015-03-17 13:06:07 -07:00
David Glasser
873018df44 Minor version bumps to packages with new features
* accounts-base: client-side login hooks
* accounts-password: emailTemplates features
* autoupdate: reload via Node IPC messages (and SIGHUP)
* blaze: template-level subscriptions and onRendered/etc hooks
* ddp: client-side onStop callback, permessage-deflate, subscriptionId
  on subscription handles
* http: npmRequestOptions, HTTPInternals.NpmModules
* mongo: validated against 2.6, oplog-backlog,
  rawCollection/rawDatabase, MongoInternals.NpmModules
* reactive-dict/session: Session.set({k1: v1, k2: v2})
* templating: attributes on <body>
* webapp: WebAppInternals.NpmModules
2015-03-05 22:30:22 -08:00
David Glasser
ef9671e705 Document direct access features in READMEs 2015-03-05 17:12:37 -08:00
David Glasser
c4d9ba573c Document npmRequestOptions 2015-03-05 17:12:37 -08:00
David Glasser
1002349edb Add direct access to connect module from webapp 2015-03-05 17:12:36 -08:00
David Glasser
8dae78d48b http: Allow specifying npm request options
You can use HTTPInternals.NpmModules.request.version to tell what
version of request (if any) is the backend for HTTP.call.  This version
may change incompatibly from version to version of Meteor; use at your
own risk.

Fixes #1703.
2015-03-05 17:12:36 -08:00
David Glasser
fa74e51102 Add direct access to request module from http 2015-03-05 17:12:36 -08:00
David Glasser
81d76fe9d0 http: update request to 2.53.0 (from 2.47.0) 2015-03-05 17:12:35 -08:00
Sashko Stubailo
ff0f304096 Bump version numbers to avoid downgrades 2015-03-03 22:22:09 -08:00
David Glasser
17fc498259 Fix tests from #3730 fix
Whoops, accidentally only ran webapp tests before pushing.
2015-02-17 18:39:20 -08:00
Slava Kim
3c68cebf0d bump 2015-02-02 13:38:01 -08:00
Slava Kim
27f249bfed A lot of crazy package bumps 2015-01-21 14:03:55 -08:00
Sashko Stubailo
25f3b9f337 Bump a bunch of versions 2015-01-20 22:34:25 -08:00
ekatek
99124d881a increment package versions 2015-01-20 10:25:22 -08:00
ekatek
40fa95830f increment version numbers 2015-01-13 19:30:27 -08:00
Emily Stark
059fc88ff9 Follow redirects on non-GET requests also.
Fixes #2808.
2014-12-28 22:19:37 -08:00
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
David Glasser
d5afd1b6a9 Update shrinkwrap 2014-10-30 15:12:30 -07:00
David Glasser
92b1bf1369 Upgrade request to 2.47.0 from 2.33.0
Looks like it now auto-detects $HTTP_PROXY so we could drop that code
from http-helpers (but not from the faye stuff).
2014-10-30 15:12:29 -07:00
Emily Stark
cb54ae18fb Merge branch 'master' into devel
Conflicts:
	History.md
	examples/localmarket/.meteor/release
	examples/localmarket/.meteor/versions
	packages/stylus/README.md
	tools/compiler.js
	tools/package-client.js
	tools/tests/old/app-with-private/.meteor/versions
	tools/tests/old/app-with-public/.meteor/versions
	tools/tests/old/empty-app/.meteor/versions
2014-10-28 10:42:30 -07:00
Emily Stark
b4c10d8f61 bump package versions 2014-10-28 02:49:54 -07:00
Emily Stark
6c8c67afe8 bump package version numbers for rc.10 2014-10-27 20:03:42 -07:00
ekatek
e79f95e3ca incrementing versions for rc.9 2014-10-24 16:39:56 -07:00
Sashko Stubailo
721fa0451b Update more readmes 2014-10-24 10:13:59 -07:00
Emily Stark
54989c85bf bump package versions for rc.7 2014-10-23 16:59:11 -07:00
David Glasser
de97e984f6 bump for 1.0-rc.5 2014-10-23 11:06:43 -07:00
Emily Stark
6fc46976da bump package version for 1.0-rc.3 2014-10-22 12:58:12 -07:00
David Glasser
6db7783470 bump for 1.0-rc.2
unclear why http and less are needed
2014-10-17 22:17:06 -07:00
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
667f3b8a91 Bump package versions for rc.8 2014-10-13 13:35:03 -07:00
Nick Martin
5b17ef1a30 Version bump for rc.6 2014-10-10 20:37:54 -07:00
Sashko Stubailo
5dc03c53ec Bump package versions 2014-10-09 16:45:54 -07:00
Nick Martin
cafb427aa7 Bump versions for 0.9.4-rc.2 2014-10-09 16:42:30 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -07:00
Sashko Stubailo
1e53f6b598 Bump all version numbers again after cherry-picking unipackage fix 2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac Bump all of the version numbers again, to republish with the unipackage.json fix 2014-10-01 15:43:05 -07:00