From 8283f84c0cb8357308d63724754f6457a5752d23 Mon Sep 17 00:00:00 2001 From: Amir Malik Date: Wed, 1 Feb 2012 19:45:12 -0800 Subject: [PATCH] Release 1.0.0 --- README.md | 15 +++++++++------ package.json | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bf0c732..0feacf4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ # OAuth 2 Provider for Connect & Express -WARNING: If you're using this module via npm, be sure to use a specific -version in your `package.json` since until this module reaches 1.x there -will be breaking changes in both npm and master. Stable releases are -tagged on GitHub, so use those versions to pull down a specific one from -npm. - This is a node.js module for implementing OAuth2 servers (providers) that support server-side (code) and client-side (token) OAuth flows. @@ -14,6 +8,15 @@ OAuth token storage and client lists. In the future, a Mongo or Redis backed abstraction will be provided so you don't need to care about any kind of storage at all. +## Using it with npm + +If you're using this module via npm, please be sure the bracket the +version in your app's `package.json` file. Major versions may have an +incompatible API that's not backwards-compatible, so use a safe version +range under `dependencies` (eg. for version 1.x): + + "oauth2-provider": ">=1.0.0 <2.0.0" + ## Quick Start Install via npm: diff --git a/package.json b/package.json index d9b4fd8..a022669 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oauth2-provider", - "version": "0.0.2", + "version": "1.0.0", "description": "A simple customizable OAuth 2.0 provider (server) for node.js.", "homepage": "https://github.com/ammmir/node-oauth2-provider", "author": {