Two releases are out. The first is a bugfix release (2.6.8). The second (2.7.0) is a big step toward our next major release.
2.6.8 / 2012-06-14
===================
* fixed; edge case when using 'options' as a path name (#961)
2.7.0 / 2012-06-14
===================
* added; deprecation warnings to methods being removed in 3.x
In 2.7.0 we've introduced deprecation warnings (on by default) for all the methods being removed in version 3. To disable the warnings, set either the MONGOOSE_DEP_WARNINGS environment variable to false, or `mongoose.set('dep warnings', false)` in your code.
This deprecation release means that v3 is almost here. I'll be publishing the alpha soon along as well as an upcoming series of blog posts about its changes and additions. You can get a general overview from
the slides I used in my talk at JSConf.AR or by reading the summary of
this pull request. The methods chosen to deprecate are 99% aliases in one form or another of other existing methods. This helps us get much closer to there being "one clear way" to do things. See the list of deprecated methods at the end of this message.
After the alpha is released, my focus (besides fixing bugs) will be rewriting the entire documentation site. The goal is to make it easier to keep up to date, mobile compatibility, richer descriptions, and more examples. If anyone has design skills, thoughts, or otherwise wants to help out, please jump in / ping me.
Deprecated methods:
Query#$or Query#or
Query#$nor Query#nor
Query#$gt Query#gt
Query#$gte Query#gte
Query#$lt Query#lt
Query#$lte Query#lte
Query#$in Query#in
Query#$nin Query#nin
Query#$ne Query#ne
Query#$all Query#all
Query#$regex Query#regex
Query#$size Query#size
Query#$maxDistance Query#maxDistance
Query#$within Query#within
Query#$box Query#box
Query#$center Query#center
Query#$centerSphere Query#centerSphere
Query#$slice Query#slice
Query#run Query#exec
Query#notEqualTo Query#notEqualTo
Query#wherein Query#within
Query#fields Query#select
Query#asc Query#sort
Query#desc Query#sort
Query#only Query#select
Query#exclude Query#select
Query#each Query#stream
MongooseArray#$push MongooseArray#push
MongooseArray#$pull MongooseArray#pull
MongooseArray#$pushAll MongooseArray#push
MongooseArray#pushAll MongooseArray#push
MongooseArray#$pullAll MongooseArray#pull
MongooseArray#pullAll MongooseArray#pull
MongooseArray#$unshift MongooseArray#unshift
MongooseArray#$addToSet MongooseArray#addToSet
Document#commit MongooseArray#markModified
Mongoose#connectSet MongooseArray#connect
Mongoose#createSetConnection MongooseArray#createConnection
MongooseNumber#$inc removed
MongooseNumber#increment removed
MongooseNumber#decrement removed
--
Aaron