Change log update, copyright header update

This commit is contained in:
Michael S. Klishin 2012-05-12 07:44:40 +04:00
parent ccd3d7ab66
commit 1d54e00a4d
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,19 @@
## Changes between 1.0.0-beta5 and 1.0.0-beta6
### find-and-modify support
`monger.collection/find-and-modify` function implements [atomic Find and Modify](http://www.mongodb.org/display/DOCS/findAndModify+Command) command.
It is similar to the "regular" update operations but atomically modifies a document (at most one) and returns it.
An example:
``` clojure
(mgcol/find-and-modify "scoreboard" {:name "Sophie Bangs"} {$inc {:level 1}} :return-new true)
```
Contributed by [Baishampayan Ghose](https://github.com/ghoseb).
### monger.js is deprecated
`monger.js` namespace is kept for backwards compatibility but is deprecated in favor of [ClojureWerkz Support](http://github.com/clojurewerkz/support)

View file

@ -1,5 +1,6 @@
;; Copyright (c) 2011-2012 Michael S. Klishin
;; Copyright (c) 2012 Toby Hede
;; Copyright (c) 2012 Baishampayan Ghose
;;
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)