Permalink
Commits on Jun 20, 2012
Commits on Jun 18, 2012
  1. allow unsetting enums

    closes #967
    aheckmann committed Jun 18, 2012
Commits on Jun 16, 2012
  1. publishConfig

    aheckmann committed Jun 16, 2012
  2. release 3.0.0alpha1

    aheckmann committed Jun 16, 2012
Commits on Jun 15, 2012
  1. clean up Array method aliases

    aheckmann committed Jun 15, 2012
  2. add test for #963

    aheckmann committed Jun 15, 2012
  3. strict:throw should produce errors in findAndModify

    when strict is set to "throw" an error should be returned to
    the callback and the update aborted.
    
    closes #963
    aheckmann committed Jun 15, 2012
  4. Merge pull request #958 from aheckmann/strictDefault

    Enabled strict mode by default
    aheckmann committed Jun 15, 2012
  5. no need to splice with no args

    aheckmann committed Jun 15, 2012
  6. docs

    aheckmann committed Jun 15, 2012
Commits on Jun 14, 2012
  1. fixed; findAndUpdate no longer overwrites document

    On strict schemas, if an update argument was passed with
    no valid schema properties, an empty object was being
    written to the db.
    
    closes #962
    aheckmann committed Jun 14, 2012
Commits on Jun 13, 2012
  1. strict mode now enabled by default

    turn it back off with new Schema({..}, { strict: false })
    
    closes #952
    aheckmann committed Jun 13, 2012
  2. remove num.valueOf()

    no longer have MongooseNumber
    aheckmann committed Jun 13, 2012
  3. remove doc#commit

    use doc#markModified instead
    aheckmann committed Jun 13, 2012
  4. array of object literal creates DocumentArrays

      new Schema({ array: [{ nested: Boolean }] })
      // interpreted as array of documents
    
    Used to be treated as array of Mixed. An empty object
    literal is still treated as Mixed.
    
      new Schema({ array: [{}] }) // Mixed
    aheckmann committed Jun 13, 2012
  5. doc.error() -> doc._error()

    aheckmann committed Jun 13, 2012
  6. remove unused method

    aheckmann committed Jun 13, 2012
  7. ocd

    aheckmann committed Jun 13, 2012
  8. clean up {g,s}etValue

    aheckmann committed Jun 13, 2012
  9. docs

    aheckmann committed Jun 13, 2012
  10. refactor doc constructor

    aheckmann committed Jun 13, 2012
Commits on Jun 12, 2012
  1. bm

    aheckmann committed Jun 12, 2012
  2. bm

    aheckmann committed Jun 12, 2012
  3. avoid arg reassignment de-opt

    aheckmann committed Jun 12, 2012
  4. benchmarks

    aheckmann committed Jun 12, 2012
  5. another benchmark from #950

    aheckmann committed Jun 12, 2012
  6. add missing property

    aheckmann committed Jun 12, 2012