Commits on Jun 25, 2012
  1. added VersionError to Model

    victor committed Jun 25, 2012
Commits on Jun 18, 2012
  1. @aheckmann

    allow unsetting enums

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

    publishConfig

    aheckmann committed Jun 15, 2012
  2. @aheckmann

    release 3.0.0alpha1

    aheckmann committed Jun 15, 2012
Commits on Jun 15, 2012
  1. @aheckmann

    clean up Array method aliases

    aheckmann committed Jun 15, 2012
  2. @aheckmann
  3. @treygriffith @aheckmann
  4. @treygriffith @aheckmann
  5. @treygriffith @aheckmann
  6. @treygriffith @aheckmann
  7. @aheckmann

    add test for #963

    aheckmann committed Jun 15, 2012
  8. @aheckmann

    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
  9. @aheckmann
  10. @aheckmann

    Merge pull request #958 from aheckmann/strictDefault

    Enabled strict mode by default
    aheckmann committed Jun 15, 2012
  11. @aheckmann

    no need to splice with no args

    aheckmann committed Jun 14, 2012
  12. @aheckmann

    docs

    aheckmann committed Jun 14, 2012
Commits on Jun 14, 2012
  1. @aheckmann

    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. @aheckmann

    strict mode now enabled by default

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

    remove num.valueOf()

    no longer have MongooseNumber
    aheckmann committed Jun 12, 2012
  3. @aheckmann

    remove doc#commit

    use doc#markModified instead
    aheckmann committed Jun 12, 2012
  4. @aheckmann

    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 12, 2012
  5. @aheckmann

    doc.error() -> doc._error()

    aheckmann committed Jun 12, 2012
  6. @aheckmann

    remove unused method

    aheckmann committed Jun 12, 2012
  7. @aheckmann

    ocd

    aheckmann committed Jun 12, 2012
  8. @aheckmann

    clean up {g,s}etValue

    aheckmann committed Jun 12, 2012
  9. @aheckmann

    docs

    aheckmann committed Jun 12, 2012
  10. @aheckmann

    refactor doc constructor

    aheckmann committed Jun 12, 2012
Commits on Jun 12, 2012
  1. @aheckmann

    bm

    aheckmann committed Jun 12, 2012
  2. @aheckmann

    bm

    aheckmann committed Jun 12, 2012
  3. @aheckmann

    avoid arg reassignment de-opt

    aheckmann committed Jun 11, 2012
  4. @aheckmann

    benchmarks

    aheckmann committed Jun 11, 2012
  5. @aheckmann
  6. @aheckmann

    another benchmark from #950

    aheckmann committed Jun 11, 2012
  7. @aheckmann

    add missing property

    aheckmann committed Jun 11, 2012
  8. @aheckmann

    doc.clone 3x faster

    run node benchmarks/clone.js
    aheckmann committed Jun 11, 2012