Avital Oliver
3351183d8a
package version bumps for 0.9.1.1
2014-09-06 14:27:26 -07:00
Avital Oliver
16ff10c96b
Fix weak dependencies on renamed packages
...
The renames of packages ui -> blaze, deps -> tracker,
livedata -> ddp worked fine when a package or an app
dependened on the renamed packages. But if there was
a weak dependency (say `api.use('ui', {weak: true})`)
then:
(1) `Package.ui` would be null (since it's not in
meteor-platform)
(2) Even if your app added 'ui' explicitly, the 'ui'
package didn't export any symbols.
2014-09-06 13:05:19 -07:00
Sashko Stubailo
4bf58c16a0
Fix error on absence of "Mongo" symbol
2014-09-05 11:30:54 -07:00
Avital Oliver
c23408bdd7
versions for 0.9.1
2014-09-04 15:41:39 -07:00
Emily Stark
1a946cd326
Bump package versions for 0.9.1-rc4
2014-09-04 11:50:27 -07:00
Avital Oliver
60293005bd
Test backcompat for pre-0.9.1 compiled templates
...
We run the entire suite of tests as we had on
0.9.0 against an old version of compiled templates.
The test suits is found in old_templates_tests.js
Why? Packages are published in built form. With Meteor 0.9.1, we
didn't bump the major version of the 'templating' package (which
would force packages that define templates to publish new versions
of their package). Instead, we decided to keep backcompat with the
old Blaze runtime APIs.
If these tests ever break in the future, and backcompat is too hard
to achieve (or undesirable), we can simply bump the major version
of the 'templating' package, and get rid of these tests.
2014-09-03 12:33:05 -07:00
Sashko Stubailo
87819dc740
Added a DDP.md to livedata to redirect old links
2014-09-02 10:18:37 -07:00
Avital Oliver
fe558fd16b
Another package rc bump
2014-09-01 00:19:21 -07:00
Avital Oliver
808c90e3db
Bump rc versions on packages
2014-09-01 00:16:00 -07:00
David Greenspan
f6b9a4bd21
Fix <body> back-compat
2014-08-29 17:13:26 -07:00
David Greenspan
2374ce38df
<body> tag back-compat
2014-08-29 16:29:45 -07:00
David Greenspan
e4c1e18392
Fix back-compat typo
2014-08-29 16:29:45 -07:00
Avital Oliver
7ee8d36456
Add backcompat for Template.__define__
...
See #2480
2014-08-29 16:21:03 -07:00
David Greenspan
c21f49c6e3
Back-compat for template-internal API calls
2014-08-29 16:20:42 -07:00
David Greenspan
dc1eca1768
Better error message if you name a template “body”
2014-08-29 15:30:02 -07:00
Sashko Stubailo
ddb7285fbd
Fix error in test
2014-08-29 15:21:26 -07:00
Sashko Stubailo
eb1345efb3
Explicitly depend on mongo
2014-08-29 14:47:48 -07:00
Sashko Stubailo
3bec66979a
Rename Meteor.Collection -> Mongo
...
Summary:
Meteor.Collection -> Mongo.Collection
Meteor.Collection.ObjectID -> Mongo.ObjectID
Meteor.Collection.Cursor -> Mongo.Cursor
Test Plan:
meteor test-packages
meteor self-test
Reviewers: avital, dgreenspan
Reviewed By: dgreenspan
CC: emily, dgreenspan
Differential Revision: https://phabricator.meteor.com/D796
2014-08-29 14:29:44 -07:00
Sashko Stubailo
3a1af2a204
Add Mongo export
2014-08-29 13:00:51 -07:00
Sashko Stubailo
6cb69946ee
Add backcompat
2014-08-29 12:31:33 -07:00
Sashko Stubailo
82d1db5107
Rename Meteor.Collection to Mongo.Collection again
2014-08-29 12:28:32 -07:00
Sashko Stubailo
6b3d31ff5b
Revert "Rename Meteor.Collection -> Mongo.Collection"
...
This reverts commit 96952dda2b .
Conflicts:
packages/ddp/livedata_tests.js
packages/minimongo/minimongo.js
packages/mongo/collection.js
packages/mongo/mongo_driver.js
packages/mongo/mongo_livedata_tests.js
packages/mongo/oplog_tests.js
packages/reactive-dict/reactive-dict.js
packages/session/session_tests.js
tools/auth.js
2014-08-29 12:26:28 -07:00
Sashko Stubailo
84f1fcace1
Fix docs and self-test
2014-08-29 11:52:33 -07:00
Justin SB
03dc104609
Rename sessionStorage -> safeSessionStorage, for clarity
2014-08-29 11:19:15 -07:00
Justin SB
562d496acc
Don't throw on chrome when sessionStorage is disabled
...
Chrome is really strict; even (typeof sessionStorage) throws a
'SecurityError: Access is defined' when cookies & local storage
are blocked. Borrow the logic from history.js; it relies on
catching the exception.
This should fix a problem with reload-safetybelt for users with
Chrome in no-cookies mode.
2014-08-29 11:19:11 -07:00
Sashko Stubailo
87b13e1b5a
Rename Mongo.Collection.Cursor -> Mongo.Cursor, Mongo.Collection.ObjectID -> Mongo.ObjectID
2014-08-29 10:29:01 -07:00
Sashko Stubailo
96952dda2b
Rename Meteor.Collection -> Mongo.Collection
2014-08-29 10:11:21 -07:00
Avital Oliver
9bbdc82494
Bump DDP version from "pre2" to "1"
...
Still let old clients connect to a server running this new version
2014-08-28 19:43:28 -07:00
Sashko Stubailo
65491b7581
Changed description of mongo-livedata to point to mongo
2014-08-28 17:17:44 -07:00
Sashko Stubailo
aafd8a0d3e
Merge branch 'release-0.9.1' into ddp
...
Conflicts:
packages/livedata/package.js
2014-08-28 17:16:38 -07:00
Sashko Stubailo
c4e0ec5a14
Merge branch 'release-0.9.1' into mongo
...
Conflicts:
packages/mongo-livedata/package.js
2014-08-28 17:15:06 -07:00
Sashko Stubailo
6c3b37d8f8
Remove check for Meteor because we decided to assume it exists
2014-08-28 13:40:29 -07:00
Sashko Stubailo
3189a364e9
Rename livedata to ddp, meteor test-packages passes
2014-08-28 12:53:34 -07:00
Avital Oliver
6f6630d616
Update package versions for 0.9.1-rc2
2014-08-28 12:37:04 -07:00
Avital Oliver
ca8ae9462d
Export 'Deps' from the tracker package.
...
Specifically, this gives apps access to Deps (via meteor-platform,
formerly known as standard-app-packages)
2014-08-28 12:13:55 -07:00
Sashko Stubailo
d1c0004060
Removed explicit check for 'mongo-livedata' package
2014-08-28 11:45:40 -07:00
Avital Oliver
ab5432a99e
Bump meteor-tool version (not totally sure why... is Blaze used in the tool?)
2014-08-28 11:40:47 -07:00
Avital Oliver
18c917b44f
Oops. Bump blaze to a new major version
2014-08-28 11:35:30 -07:00
Sashko Stubailo
d3d7f0478f
Replace references to mongo-livedata with mongo
2014-08-28 11:32:24 -07:00
Justin SB
c1f081d2b1
Test ping-pong from different client versions
2014-08-28 11:16:57 -07:00
Sashko Stubailo
be8c503760
Rename mongo-livedata to mongo
2014-08-28 11:14:40 -07:00
Avital Oliver
827360189c
Bump version for jquery-layout as well (due to whitespace)
2014-08-28 11:09:13 -07:00
Avital Oliver
864fffc9e9
Bump package versions in preparation for 0.9.1-rc0
2014-08-28 11:00:35 -07:00
Avital Oliver
171c2dea49
Fix the deprecated deps package
2014-08-28 10:35:40 -07:00
Justin SB
b9e357bc8f
Tighten up the language around minor revisions
2014-08-28 09:21:26 -07:00
Justin SB
24ea12b1e1
Add a DDP version label of 1, currently identical to pre2
2014-08-28 09:16:31 -07:00
Justin SB
c5a643c9f0
Add notes about adding/ignoring fields in DDP
2014-08-28 09:09:46 -07:00
David Greenspan
1dedd89387
Eliminate UI from docs; add some API to Template!
...
By choosing names like Template.registerHelper(…) and Template.instance() (instead of Blaze), we can separate the “Templates” section and the “Blaze” section of the docs.
2014-08-28 04:11:25 -07:00
David Greenspan
db17540f2f
findView becomes getView, has no viewName arg
...
Also, make UI.templateInstance() not throw, to match the docs.
2014-08-28 02:46:13 -07:00
David Greenspan
c9857ea642
Change additional occurrences of Deps to Tracker
2014-08-27 22:43:28 -07:00