From 2e7c73a32a7c362c9f1750eafe57600045f31445 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Sat, 14 Feb 2015 18:55:29 +0200 Subject: [PATCH] 4.0.0 Switched to Bluebird for promises - brings our performance up to almost pre-promises days and makes us competitive with the native MongoDB Node client once again... --- README.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a194c50..d6786d4 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ Iridium hopes to solve these issues by providing a bare bones ORM targeted at po Iridium allows the creation and use of plugins which can extend models and reduce duplicated code across models for common behavioural use cases. Plugins can provide custom validation, manipulate models at creation time and have the opportunity to extend instances when they are created. - **Automatic Query Generation** We understand that sometimes you don't want to structure your own queries - it's a hassle which you could do without especially when working with arrays. Thankfully, Iridium includes a powerful differential query generator which automatically generates the query necessary to store your changes without you raising a finger. - - **[Q Promises](https://github.com/kriskowal/q) Built In** - We know how horrible it is having to manually wrap your favourite libraries before you can use them with promises, so we've decided to include support for the incredibly popular Q promises library out of the box! (Iridium actually uses it internally as the primary handler, delegating back to callbacks for compatibility, don't tell anybody.) + - **[A+ Promises](https://github.com/petkaantonov/bluebird) Built In** + We know how horrible it is having to manually wrap your favourite libraries before you can use them with promises, so we've decided to include support for the incredibly fast [Bluebird](https://github.com/petkaantonov/bluebird) promises library out of the box! (Iridium actually uses it internally as the primary handler, delegating back to callbacks for compatibility, don't tell anybody.) ## Installation Iridium is available using *npm*, which means you can install it locally using `npm install iridium` or add it to your project's *package.json* file to have it installed automatically whenever you run `npm install`. @@ -36,7 +36,7 @@ We make use of the [Semantic Versioning](http://semver.org/) guidelines for our { // ... "dependencies": { - "iridium": "3.x" + "iridium": "4.x" } } ``` diff --git a/package.json b/package.json index ab5dfb4..67167d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iridium", - "version": "3.3.0", + "version": "4.0.0", "author": "Benjamin Pannell ", "description": "A custom lightweight ORM for MongoDB designed for power-users", "homepage": "https://sierrasoftworks.com/iridium",