Skip to content

Commit

Permalink
Merge branch 'devel' into patch-11
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Apr 24, 2015
2 parents 11b7397 + 22acdda commit b046b8b
Show file tree
Hide file tree
Showing 235 changed files with 5,789 additions and 1,646 deletions.
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ GITHUB: mitar <[email protected]>
GITHUB: mizzao <[email protected]>
GITHUB: mquandalle <[email protected]>
GITHUB: mquandalle <[email protected]>
GITHUB: murillo128 <[email protected]>
GITHUB: musically-ut <[email protected]>
GITHUB: nathan-muir <[email protected]>
GITHUB: Neftedollar <[email protected]>
Expand Down Expand Up @@ -107,6 +108,7 @@ GITHUB: RichardLitt <[email protected]>
GITHUB: richguan <[email protected]>
GITHUB: rick-golden-healthagen <[email protected]>
GITHUB: rissem <[email protected]>
GITHUB: rjakobsson <[email protected]>
GITHUB: RobertLowe <[email protected]>
GITHUB: romanzolotarev <[email protected]>
GITHUB: rosh93 <[email protected]>
Expand Down Expand Up @@ -148,6 +150,7 @@ METEOR: gschmidt <[email protected]>
METEOR: justinsb <[email protected]>
METEOR: karayu <[email protected]>
METEOR: mariapacana <[email protected]>
METEOR: multilinear <[email protected]>
METEOR: n1mmy <[email protected]>
METEOR: sixolet <[email protected]>
METEOR: Slava <[email protected]>
Expand Down
166 changes: 162 additions & 4 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,155 @@
## v.NEXT

### Blaze

* Improve parsing of `<script>` and `<style>` tags. #3797

* Fix a bug in `observe-sequence`. The bug was causing unnecessary rerenderings
in an instance of `#each` block helper followed by false "duplicate ids"
warnings. #4049

* `TemplateInstance#subscribe` now has a new `connection` option, which
specifies which connection should be used when making the subscription. The
default is `Meteor.connection`, which is the connection used when calling
`Meteor.subscribe`.

* XXX Handlebars sub-expressions. https://github.com/meteor/meteor/pull/4101

* XXX `#each .. in ..` and `#let x=y` forms. https://github.com/meteor/meteor/pull/3560


## DDP

* Websockets now support the
[`permessage-deflate`](https://tools.ietf.org/id/draft-ietf-hybi-permessage-compression-19.txt)
extension, which compresses data on the wire. It is enabled by default on the
server. To disable it, set `$SERVER_WEBSOCKET_COMPRESSION` to `0`. To configure
compression options, set `$SERVER_WEBSOCKET_COMPRESSION` to a JSON object that
will be used as an argument to
[`deflate.configure`](https://github.com/faye/permessage-deflate-node/blob/master/README.md).
Compression is supported on the client side by Meteor's Node DDP client and by
browsers including Chrome, Safari, and Firefox 37.

* The `ddp` package has been split into `ddp-client` and `ddp-server` packages;
using `ddp` is equivalent to using both. This allows you to use the Node DDP
client without adding the DDP server to your app. #4191 #3452

* On the client, `Meteor.call` now takes a `throwStubExceptions` option; if set,
exceptions thrown by method stubs will be thrown instead of logged, and the
method will not be invoked on the server. #4202


### Isobuild

* Plugins should not process files whose names match the extension exactly (with
no extra dot). #3985

* Adding the same file twice in the same package is now an error. Previously,
this could either lead to the file being included multiple times, or to a
build time crash.

* You may now specify the `bare` option for JavaScript files on the server.
Previous versions only allowed this on the client. #3681

### Livequery

* The oplog observe driver now properly updates queries when you drop a
database. #3847


### `meteor` command-line tool

* Avoid a race condition in `meteor --test` and work with newer versions of the
Velocity package. #3957

* Improve error handling when publishing packages. #3977

* Improve messaging around publishing binary packages. #3961

* Preserve the value of `_` in `meteor shell`. #4010

* `meteor mongo` now works on OS X when certain non-ASCII characters are in the
pathname, as long as the `pgrep` utility is installed (it ships standard with
OS X 10.8 and newer). #3999

* `meteor run` no longer ignores (and often reverts) external changes to
`.meteor/versions` which occur while the process is running. #3582

* Fix crash when downloading two builds of the same package version
simultaneously. #4163


### Meteor Accounts

* Add `Accounts.oauth.unregisterService` method, and ensure that users can only
log in with currently registered services. #4014

### Email

* `Email.send` now has a new option, `attachments`, in the same style as
`mailcomposer`.
[Details here.](https://github.com/andris9/mailcomposer#add-attachments)

### Tracker

* `ReactiveDict` now has two new methods, `clear` and `all`. `clear` resets
the dictionary as if no items had been added, meaning all calls to `get` will
return `underfined`. `all` converts the dictionary into a regular JavaScript
object with a snapshot of the keys and values. Inside an autorun, `all`
registers a dependency on any changes to the dictionary.

### Utilities

* `Match.test` from the `check` package now properly compares boolean literals,
just like it does with Numbers and Strings. This applies to the `check`
function as well.

* Provide direct access to the `mailcomposer` npm module used by the `email`
package on `EmailInternals.NpmModules`. Allow specifying a `MailComposer`
object to `Email.send` instead of individual options. #4209


### Other bug fixes and improvements

* Upgraded dependencies:

- uglify-js: 2.4.20 (from 2.4.17)


## v1.1.0.2, 2015-Apr-06

### `meteor` command-line tool

* Revert a change in 1.1.0.1 that caused `meteor mongo` to fail on some Linux
systems. #4115, #4124, #4134


## v1.1.0.1, 2015-Apr-02

### Blaze

* Fix a regression in 1.1 in Blaze Templates: an error happening when View is
invalidated immediately, causing a client-side crash (accessing
`destroyMembers` of `undefined`). #4097

## v1.1, 2015-Mar-31

### Windows Support

* The Meteor command line tool now officially supports Windows 7, Windows 8.1,
Windows Server 2008, and Windows Server 2012. It can run from PowerShell or
Command Prompt.

* There is a native Windows installer that will be available for download from
<https://www.meteor.com/install> starting with this release.

* In this release, Meteor on Windows supports all features available on Linux
and Mac except building mobile apps with PhoneGap/Cordova.

* The `meteor admin get-machine` command now supports an additional
architecture, `os.windows.x86_32`, which can be used to build binary packages
for Windows.

### Version Solver

* The code that selects compatible package versions for `meteor update`
Expand Down Expand Up @@ -33,21 +183,30 @@
* Yield to the event loop during the flush cycle, unless we're executing a
synchronous `Tracker.flush()`. #3901

* Fix error reporting not being source-mapped properly. #3655

* Introduce a new option for `Tracker.autorun` - `onError`. This callback can be
used to handle errors caught in the reactive computations. #3822

### Blaze

* Fix stack overflow from nested templates and helpers by avoiding recursion
during rendering. #3028

### `meteor` command-line tool

* Don't fail if `npm` prints more than 200K. #3887

* Avoid a race condition in `meteor --test` and work with newer versions of the
Velocity package. #3957


### Other bug fixes and improvements

* Upgraded dependencies:

- uglify-js: 2.4.17 (from 2.4.13)

Patches contributed by GitHub users hwillson, mitar, murillo128, Primigenus,
rjakobsson, and tmeasday.


## v1.0.5, 2015-Mar-25

Expand All @@ -74,7 +233,6 @@
* Fix regression in 1.0.4 where `meteor publish-for-arch` only worked for
packages without colons in their name. #3951


## v1.0.4, 2015-Mar-17

### Mongo Driver
Expand Down
2 changes: 1 addition & 1 deletion docs/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@1.0.5
METEOR@1.1.0.2
15 changes: 12 additions & 3 deletions docs/client/api-box.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
<template name="apiBoxTitle">
<h3 id="{{id}}" class="api-title">
<div class="locus">
{{locus}}
</div>

<a class="name selflink" href="{{link}}">{{{name}}}</a>
{{#if locus}}
<span class="locus">{{locus}}</span>

{{#if fullApi}}
{{#if filepath}}
<a class="src-code" href="https://github.com/meteor/meteor/blob/master/packages/{{filepath}}#L{{lineno}}" target="_blank">
{{filepath}}, line {{lineno}}
</a>
{{/if}}
{{/if}}
</h3>
</template>

<template name="autoApiBox">
{{#with apiData this}}
<div class="api {{bare}} new-api-box">
{{> apiBoxTitle name=signature locus=locus id=id}}
{{> apiBoxTitle name=signature locus=locus id=id filepath=filepath lineno=lineno}}

<div class="desc">
{{#markdown}}{{summary}}{{/markdown}}
Expand Down
6 changes: 5 additions & 1 deletion docs/client/api-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ var typeNameTranslation = {
"Blaze.View": typeLink("Blaze.View", "#blaze_view"),
Template: typeLink("Blaze.Template", "#blaze_template"),
DOMElement: typeLink("DOM Element", "https://developer.mozilla.org/en-US/docs/Web/API/element"),
MatchPattern: typeLink("Match Pattern", "#matchpatterns")
MatchPattern: typeLink("Match Pattern", "#matchpatterns"),
"DDP.Connection": typeLink("DDP Connection", "#ddp_connect")
};

Template.autoApiBox.helpers({
Expand Down Expand Up @@ -166,6 +167,9 @@ Template.autoApiBox.helpers({
return _.reject(this.params, function (param) {
return param.name === "options";
});
},
fullApi: function () {
return Session.get("fullApi");
}
});

Expand Down
2 changes: 1 addition & 1 deletion docs/client/basic/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2 id="learning-resources">Learning Resources</h2>

<dt><span>Forums</span></dt>
<dd>Visit the <a href="https://forums.meteor.com">Meteor discussion
forums</a>to announce projects, get help, talk about the community,
forums</a> to announce projects, get help, talk about the community,
or discuss changes to core.
</dd>

Expand Down
4 changes: 2 additions & 2 deletions docs/client/basic/sections/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ You can perform initialization or clean-up on any objects in
callbacks.

For example, to use the HighlightJS library to apply code highlighting to
all `<pre>` elements inside the `codeSample` template, you might assign
the following function to `Template.codeSample.rendered`:
all `<pre>` elements inside the `codeSample` template, you might pass
the following function to `Template.codeSample.onRendered`:

```
Template.codeSample.onRendered(function () {
Expand Down
19 changes: 12 additions & 7 deletions docs/client/common/quick-start.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{{#template name="quickStart"}}
## Quick start!

The following works on all [supported
platforms](https://github.com/meteor/meteor/wiki/Supported-Platforms).
Meteor supports [OS X, Windows, and Linux](https://github.com/meteor/meteor/wiki/Supported-Platforms).

Install Meteor:
On Windows? [Download the official Meteor installer here](https://install.meteor.com/windows).

On OS X or Linux? Install the latest official Meteor release from your terminal:

```bash
$ curl https://install.meteor.com | /bin/sh
$ curl https://install.meteor.com/ | sh
```

Create a project:
The Windows installer supports Windows 7, Windows 8.1, Windows Server
2008, and Windows Server 2012. The command line installer supports Mac OS X
10.7 (Lion) and above, and Linux on x86 and x86_64 architectures.

Once you've installed Meteor, create a project:

```bash
$ meteor create myapp
Expand All @@ -24,9 +29,9 @@ $ meteor
# Meteor server running on: http://localhost:3000/
```

Unleash it on the world (on a free server we provide):
Then, open a new terminal tab and unleash it on the world (on a free server we provide):

```bash
$ meteor deploy myapp.meteor.com
```
{{/template}}
{{/template}}
Loading

0 comments on commit b046b8b

Please sign in to comment.