Permalink
Commits on May 1, 2012
Commits on Apr 28, 2012
  1. Merge pull request #833 from ifit/master

    rauchg committed Apr 28, 2012
    [ready] Can now set strict to "throw" to prevent extra fields.
  2. Merge pull request #841 from aheckmann/ArrayNumber

    rauchg committed Apr 28, 2012
    [ready] fixed; allow null in number arrays
  3. Merge pull request #855 from aheckmann/fixQueryPopulation

    rauchg committed Apr 28, 2012
    [ready] fixed; connection assignment in Model#model
  4. Merge pull request #854 from aheckmann/fixStringifyingArrays

    rauchg committed Apr 28, 2012
    [ready] fixed; stringifying arrays of docs
  5. Merge pull request #872 from aheckmann/870

    rauchg committed Apr 28, 2012
    [ready] fix issue 870
  6. Merge pull request #871 from aheckmann/fixSubDocErrorPaths

    rauchg committed Apr 28, 2012
    [ready] fix subdoc validation error paths
Commits on Apr 27, 2012
  1. fix subdoc validation error paths

    aheckmann committed Apr 26, 2012
    subdoc validation errors are now bubbled up to their
    parent document and no longer passed to their local
    callback.
    
    closes #725
  2. minor refactor

    aheckmann committed Apr 27, 2012
Commits on Apr 25, 2012
  1. Merge pull request #864 from aheckmann/862

    rauchg committed Apr 25, 2012
    [ready] fixed; incorrect reported num of affected docs in update ops
Commits on Apr 24, 2012
Commits on Apr 23, 2012
  1. fixed; connection assignment in Model#model

    aheckmann committed Apr 23, 2012
    closes #853
  2. fixed; stringifying arrays of docs

    aheckmann committed Apr 23, 2012
    closes #852
Commits on Apr 20, 2012
  1. Merge branch 'master' into ArrayNumber

    aheckmann committed Apr 20, 2012
    Conflicts:
    	test/types.array.test.js
  2. Merge pull request #850 from aheckmann/fixV4test

    rauchg committed Apr 20, 2012
    [ready] fix node v0.4 test compatibility
  3. 0.4 test compatibility

    aheckmann committed Apr 20, 2012
  4. Merge pull request #849 from aheckmann/configurableMinimize

    rauchg committed Apr 20, 2012
    configurable minimize #to{Object,JSON}(option)
  5. configurable minimize #to{Object,JSON}(option)

    aheckmann committed Apr 20, 2012
    doc.toObject({ minimize: false }) // now honored
    doc.toJSON({ minimize: false })   // now honored
    
    closes #848
Commits on Apr 19, 2012
  1. remove unused option

    aheckmann committed Apr 19, 2012
  2. Failing test for next(undefined)

    cleishm committed with aheckmann Mar 21, 2012
    Results in the callback to save never being fired
  3. bump hooks.js

    aheckmann committed Apr 18, 2012
    relates to #785
Commits on Apr 18, 2012
  1. fixed; Query#{update,remove}() work without callbacks

    aheckmann committed Apr 18, 2012
    fix for change in driver behavior
    
    closes #788
    
    Fixed Conflicts:
    
    	lib/query.js
  2. fix set/update nested objects by parent pathname

    aheckmann committed Apr 18, 2012
    schema = new Schema({ nested: { thing: String }}, { strict: true })
    S.update({}, {$unset: {nested: 1}) // now works
    s.set(nested, { idontexist: true }) // now properly ignores idontexit
    
    closes #843
  3. use utils.args

    aheckmann committed Apr 18, 2012
Commits on Apr 16, 2012
  1. fixed; allow null in number arrays

    aheckmann committed Apr 16, 2012
    nulls are allowed in all other array types.
    MongooseNumber is gone now so we can remove the cast helper too
    
    fixes #840
  2. fix isNew on sub doc after insertion error

    aheckmann committed Apr 16, 2012
    relates to #837
Commits on Apr 15, 2012
  1. Merge pull request #837 from punkave/master

    rauchg committed Apr 15, 2012
    If an insert fails, set isNew back to false so the save operation can be retried if desired
Commits on Apr 14, 2012
  1. If an insert fails, set isNew back to false so the save operation can…

    boutell committed Apr 14, 2012
    … be retried if desired.
    
    Without this a second attempt to save tries to do an update operation on a nonexistent document. This allows one to make the slug more unique and try again on a unique index error. Responding to the actual unique index error allows us to avoid race conditions.
Commits on Apr 13, 2012