Permalink
Commits on Jul 7, 2011
  1. release 1.6.0

    aheckmann committed Jul 7, 2011
  2. better failing test message

    aheckmann committed Jul 7, 2011
Commits on Jul 6, 2011
  1. Revert "update node-mongodb-native driver to V0.9.6-5"

    aheckmann committed Jul 6, 2011
    This reverts commit 6b811a3.
    
    Buggy
  2. fixed; model name is now accessible

    aheckmann committed Jul 6, 2011
    function names are not writable.
  3. update test for #262

    aheckmann committed Jul 6, 2011
  4. remove comment

    aheckmann committed Jul 6, 2011
  5. comment out double callback test for now

    aheckmann committed Jul 6, 2011
    seems to be fine
  6. fixed; query.find no longer has double callback

    aheckmann committed Jul 6, 2011
    When something throws within the callback it no longer
    re-executes the callback.
  7. fixed; RegExp with $all works

    aheckmann committed Jul 6, 2011
    closes #401
Commits on Jul 5, 2011
  1. clean up CastError

    aheckmann committed Jul 5, 2011
    fix its message field and remove unused arguments
  2. update #389 test so it fails

    aheckmann committed Jul 5, 2011
Commits on Jul 1, 2011
Commits on Jun 29, 2011
  1. fixed; index error during model.init emits on db

    aheckmann committed Jun 29, 2011
    wasn't actually doing anything before.
  2. add test demonstrating #389 working

    aheckmann committed Jun 29, 2011
  3. added; $maxDistance support to MongooseArray

    aheckmann committed Jun 29, 2011
    closes #388
Commits on Jun 28, 2011
  1. emit unlistened errors on the instances db

    aheckmann committed Jun 28, 2011
    When a callback isn't passed to .save() the error used
    to be emitted on the instance itself. Now it is emitted
    on the db.
    
    var db = mongoose.createConnection('myconnectionstring');
    var schema = new Schema({..});
    schema.pre('save', function (next, callback) {
      next(new Error);
    });
    var Thing = db.model('Thing', schema);
    var thing = new Thing;
    
    thing.save(); // throws if not listening to db.on('error', fn)
  2. release 1.5.0

    aheckmann committed Jun 28, 2011
  3. specific version of should.js

    aheckmann committed Jun 28, 2011
Commits on Jun 27, 2011
  1. ensureIndex now works with sparse indexes

    aheckmann committed Jun 27, 2011
    thanks to node-mongodb-native support
  2. fix tests due to node-mongodb-native change

    aheckmann committed Jun 27, 2011
    native no longer passes "null" when no error is returned
    from calling .remove()
  3. update hooks to 0.1.9

    aheckmann committed Jun 27, 2011