Skip to content

Releases: aboutdotme/humblejs

v2.2.2

09 Jan 20:14
Compare
Choose a tag to compare

Updated a deep version of bson because github says is has a vulnerability

v2.2.1

09 Jan 20:13
Compare
Choose a tag to compare

Updated some insecure dependencies based on npm audit

v2.2.0

20 Sep 19:52
Compare
Choose a tag to compare

Binds methods such as find so that you can write this:
let find = HumbleJsDoc.find
instead of this:
let find = HumbleJsDoc.find.bind(HumbleJsDoc)

v2.1.1

18 Jul 19:45
Compare
Choose a tag to compare
  • Fixes a broken publish to NPM where source files were not transpiled correctly.

v2.1.0

18 Jul 19:44
Compare
Choose a tag to compare

DEPRECATED: This version was not published to NPM correctly. Please be sure to use ^2.1.1 as your version specifier.

  • Updates mongojs to 2.4.0.
  • Adds CI tests for MongoDB 2.6.x, 3.0.x, and 3.2.x.
  • Adds unit tests for authenticated database access.

v2.0.1

06 Apr 05:40
Compare
Choose a tag to compare
  • Fixes the expires field to actually do what it says - before it was setting the value to before the start of the period, which would be bad.

v2.0.0

06 Apr 05:36
Compare
Choose a tag to compare
  • Backwards incompatible: Removes the fiber/fibrous support from the API since it was little used and added undue complexity to the internals.
  • Adds an expires field to SparseReport documents which is set to a random timestamp 1-7 days after the end of the period. This timestamp can be used in conjunction with a TTL index in order to expire documents which are old and unused. The timestamp is random in order to spread out the load on MongoDB for large numbers of documents.
  • Grunt is no longer used for development.
  • Fixed bug #11, where insert operations did not auto-map properties to key names.
  • Fixed a bug where Cursors did not correctly receive single arguments.
  • FIxed a bug where findAndModify and save operations were not auto-mapping properties to key names.
  • FIxed a bug where find was not correctly mapping additional arguments.
  • Adds the ability to run tests and do development in a Docker container.
  • Adds npm run-scripts for tests and development.
  • Updated moment dependency.
  • Updates underscore for lodash instead.

1.1.0

05 Apr 00:35
Compare
Choose a tag to compare
  • forJson now takes an optional single argument, allowDefault, which when
    set to a false-y value will not include default values in the JSON output.

1.0.6

05 Apr 00:35
Compare
Choose a tag to compare
  • Fix a bug with forJson when an Embed key is assigned a non-object value.
    Thanks to @NigelKibodeaux

1.0.5

05 Apr 00:34
Compare
Choose a tag to compare
  • Updated to latest mongojs dependency.