Skip to content

Commit

Permalink
Release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetx committed Apr 26, 2013
1 parent 8843d50 commit 225220d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
codebird-js - changelog
=======================

2.3.0 (not yet released)
2.3.0 (2013-04-26)
+ Fix _detectMultipart for statuses/update calls
+ Add Array.indexOf polyfill
+ Circumvent same-origin policy with CORS
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ the same base domain. This is a security feature called the “same-origin
policy.” However, this policy is in your way when you try to access the
(remote) Twitter API domain and its methods.

### 6.1 Cross-domain requests

With Codebird, don’t worry about this. We automatically send cross-domain
requests using a secured proxy that sends back the required headers to the
user’s browser.
Expand All @@ -241,9 +243,6 @@ This CORS proxy is using an encrypted SSL connection.
*We do not record data sent to or from the Twitter API.
Using Codebird’s CORS proxy is subject to the Acceptable use policy.*

Cross-domain requests work well in any browser except for
Internet Explorer 7-9. Codebird cannot send POST requests in these browsers.

If your JavaScript environment is not restricted under the same-origin policy
(for example in node-js), it is recommended that you turn off the CORS
compatibility like this:
Expand All @@ -252,6 +251,15 @@ compatibility like this:
cb.setUseProxy(false);
```

### 6.2 Support for Internet Explorer 7 to 9

Cross-domain requests work well in any browser except for
Internet Explorer 7-9. Codebird cannot send POST requests in these browsers.
For IE7-9, Codebird works in limited operation mode:

- Calls to GET methods work fine,
- calling POST methods is impossible.

7. Using multiple Codebird instances
------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions codebird.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* A Twitter library in JavaScript
*
* @package codebird
* @version 2.3.0-dev
* @version 2.3.0
* @author J.M. <me@mynetx.net>
* @copyright 2010-2013 J.M. <me@mynetx.net>
*
Expand Down Expand Up @@ -117,7 +117,7 @@ var Codebird = function () {
/**
* The current Codebird version
*/
var _version = '2.3.0-dev';
var _version = '2.3.0';

/**
* Sets the OAuth consumer key and secret (App key)
Expand Down

0 comments on commit 225220d

Please sign in to comment.