Prepping for 0.7.2 tag

This commit is contained in:
Jim Cowart 2012-09-25 21:23:06 -04:00
parent 1a2abf5365
commit 314136cf4a
17 changed files with 27 additions and 22 deletions

View file

@ -1,6 +1,6 @@
# Postal.js
## Version 0.7.1 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license))
## Version 0.7.2 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license))
## What is it?
Postal.js is an in-memory message bus - very loosely inspired by [AMQP](http://www.amqp.org/) - written in JavaScript. Postal.js runs in the browser, or on the server-side using Node.js. It takes a familiar "eventing-style" paradigm most JavaScript developers are already used to and extends it by providing "broker" and subscriber implementations which are more sophisticated than what you typically find in simple event delegation.
@ -22,7 +22,7 @@ Postal.js is in good company - there are many options for <airquotes>pub/s
## Recent Updates (IMPORTANT)
Version 0.7.1 of postal has implemented a bindings resolver that aligns with how AMQP handles wildcards in topical bindings. ***Please note that this effectively inverts how postal has handled wildcards up to now***. You can still use the old version of the bindings resolve by including the `classic-resolver.js` file in your project. If you want to use the new resolver, just use postal as-is and know that "#" matches 0 or more "words" (words are period-delimited segments of topics) and "*" matches exactly one word.
Version 0.7.2 of postal has implemented a bindings resolver that aligns with how AMQP handles wildcards in topical bindings. ***Please note that this effectively inverts how postal has handled wildcards up to now***. You can still use the old version of the bindings resolve by including the `classic-resolver.js` file in your project. If you want to use the new resolver, just use postal as-is and know that "#" matches 0 or more "words" (words are period-delimited segments of topics) and "*" matches exactly one word.
### Channels? WAT?
A channel is a logical partition of topics. Conceptually, it's like a dedicated highway for a specific set of communication. At first glance it might seem like that's overkill for an environment that runs in an event loop, but it actually proves to be quite useful. Every library has architectural opinions that it either imposes or nudges you toward. Channel-oriented messaging nudges you to separate your communication by bounded context, and enables the kind of fine-tuned visibility you need into the interactions between components as your application grows.

View file

@ -1,6 +1,6 @@
{
"name": "postal.js",
"version": "0.7.1",
"version": "0.7.2",
"main": ["lib/standard/postal.min.js", "lib/standard/postal.js"],
"dependencies": {
"underscore": "~1.3.0"

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function ( root, doc, factory ) {
if ( typeof define === "function" && define.amd ) {

File diff suppressed because one or more lines are too long

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function ( root, doc, factory ) {
if ( typeof define === "function" && define.amd ) {

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,10 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
// This is the node.js version of postal.js
// If you need the standard or amd client lib version, go to http://github.com/ifandelse/postal.js
// If you need the web client lib version, go to http://github.com/ifandelse/postal.js
var _ = require( 'underscore' );
var DEFAULT_CHANNEL = "/",

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function ( root, doc, factory ) {
if ( typeof define === "function" && define.amd ) {

File diff suppressed because one or more lines are too long

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function ( root, doc, factory ) {
if ( typeof define === "function" && define.amd ) {

View file

@ -2,6 +2,6 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function(e,t,n){typeof define=="function"&&define.amd?define(["postal"],function(r){return n(r,e,t)}):n(e.postal,e,t)})(this,document,function(e,t,n,r){var i={cache:{},compare:function(e,t){if(this.cache[t]&&this.cache[t][e])return!0;var n=new RegExp("^"+e.replace(/\./g,"\\.").replace(/\*/g,".*").replace(/#/g,"[A-Z,a-z,0-9]*")+"$"),r=n.test(t);return r&&(this.cache[t]||(this.cache[t]={}),this.cache[t][e]=!0),r},reset:function(){this.cache={}}};e.configuration.resolver=i})

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
(function ( root, doc, factory ) {
if ( typeof define === "function" && define.amd ) {

File diff suppressed because one or more lines are too long

View file

@ -2,7 +2,7 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
var classicBindingsResolver = {
cache : { },

View file

@ -2,10 +2,10 @@
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.1
Version 0.7.2
*/
// This is the node.js version of postal.js
// If you need the standard or amd client lib version, go to http://github.com/ifandelse/postal.js
// If you need the web client lib version, go to http://github.com/ifandelse/postal.js
var _ = require( 'underscore' );
var DEFAULT_CHANNEL = "/",

View file

@ -1,7 +1,7 @@
{
"name" : "postal",
"description" : "Pub/Sub library providing wildcard subscriptions, complex message handling, etc. Works server and client-side.",
"version" : "0.7.1",
"version" : "0.7.2",
"homepage" : "http://github.com/ifandelse/postal.js",
"repository" : {
"type" : "git",
@ -27,12 +27,17 @@
{
"name" : "Doug Neiner",
"email" : "WhyNotJustComment@OnMyBlog.com",
"url" : "http://dougneiner.com/"
"url" : "http://dougneiner.com"
},
{
"name" : "Jonathan Creamer",
"email" : "WhyNotJustComment@OnMyBlog.com",
"url" : "http://freshbrewedcode.com/jonathancreamer/"
"url" : "http://freshbrewedcode.com/jonathancreamer"
},
{
"name" : "Elijah Manor",
"email" : "WhyNotJustComment@OnMyBlog.com",
"url" : "http://www.elijahmanor.com"
}
],
"keywords": [

View file

@ -1,5 +1,5 @@
// This is the node.js version of postal.js
// If you need the standard or amd client lib version, go to http://github.com/ifandelse/postal.js
// If you need the web client lib version, go to http://github.com/ifandelse/postal.js
var _ = require( 'underscore' );
//import("../Constants.js");