This changelog is generated automatically based on commits made to Iridium. For a human friendly description of what changed in each release, take a look at the Releases page.
Version 7.2.5
npm install iridium@7.2.5
- dbdf193 7.2.5
- e131d36 Merge branch 'pull/83'
- 5202a5a fix #83: Correctly handle changing and shrinking object arrays in diffs
- 44cfc9f test: Simplify #83 issue reproduction
- 23a0066 tweak: added unit test that reveals bug in test.save()
- 98e05c6 doc: Update CHANGELOG
Version 7.2.4
npm install iridium@7.2.4
- 5175f06 7.2.4
- f1c5d28 Merge remote-tracking branch 'EMSSConsulting/release'
- 7637ccf tweak: refactoring unit test.
- bca530c fix: $pull bug
- 9ee0709 tweak: refactoring unit test.
- ec3217d fix: $pull bug
- 55cd409 Merge branch 'master' into release
- 1d4ebb4 doc: Update changlog
Version 7.2.3
npm install iridium@7.2.3
- b13e55a 7.2.3
- 2fba993 chore: Update skmatc to the latest version
- f9feb69 Merge branch 'master' into release
- a1ad0ec doc: Update documentation
- 6155809 doc: Update changelog
Version 7.2.2
npm install iridium@7.2.2
- 5453437 7.2.2
- 33d7019 chore: Update to support latest TypeScript compiler and MongoDB type definitions
- bad4b0d Merge branch 'master' into release
- fdc71d1 doc: Update changelog
- 6e726ea doc: Update documentation
Version 7.2.1
npm install iridium@7.2.1
- 8bc77dd 7.2.1
- f5e543f style: Improve error message for missing mapReduceOptions on instance
- 23a3d1a Merge pull request #78 from RagibHasin/master
- 5eb054f Fix code quality with mapReduce
- c79b2a4 Fix mapReduce reduce function return type, mapReduce parameter validation and add new tests
- 5a6639c Merge branch 'master' into release
- db0d44e doc: Update changelog
Version 7.2.0
npm install iridium@7.2.0
- 550dee5 7.2.0
- 28a05d0 doc: Update documentation
- e88242c doc: Update doc generation to avoid including extraneous info
- 227e965 fix: Don't include test files in generated documentation
- fd534fb doc: Update documentation
- 1f6c788 fix: Correct export order for examples
- e172b23 chore: Update NPM modules
- 8c01e17 style: Tweak things to look like the rest of the Iridium codebase
- a02dc9a tweak: Make mapReduce output errors a bit easier to understand
- 5a7b63d style: Fix a typo in the emit function's documentation
- 60e0db8 Merge pull request #76 from RagibHasin/master
- 4cc024c fix: mapReduce test pending
- 84cd189 improve: mapReduce test remove documents from model before test
- c4e87dd fix: mapReduce private function improve: mapReduce output option parameter add: mapReduce error test case
- e98d541 fix: mapReduce test
- a53a28e Added mapReduce on Model
- 1adb2ef test: Re-enable tests other than #73's repro
- a2062b7 test: Added reproduction case for #73
- 08ccd6d fix #70: Improve documentation for Transform decorator on properties
- cc702d7 fix #69: Improve documentation for Validate decorator
- 78109f4 Merge branch 'master' into release
Version 7.1.6
npm install iridium@7.1.6
- a2fe04b 7.1.6
- a135f93 fix: Use the correct target when setting Transform decorators on a class
- f5a7268 test #70: Add tests to demonstrate class-level decorator failures for Transform
- 6bb1873 Merge branch 'release' of https://github.com/SierraSoftworks/Iridium into release
- 1e62d09 Merge branch 'master' into release
Version 7.1.5
npm install iridium@7.1.5
Version 7.1.4
npm install iridium@7.1.4
- 16b8907 7.1.4
- d8bde85 fix #70: Ensure that Transform decorator can be applied to instance classes
- 9ef7601 Merged branch master into release
Version 7.1.3
npm install iridium@7.1.3
- 542af39 7.1.3
- 104d967 fix #68: Update Cursor to use new MongoDB client cursor type
- c8d63f0 Merged master into release
Version 7.1.2
npm install iridium@7.1.2
Version 7.1.1
npm install iridium@7.1.1
- d37e501 7.1.1
- 3b913af Merged feature/test-upsert-ids into master
- 81e69c0 fix: Elegantly handle insert() and create() with upsert: true and no _id specified.
- 3990aa5 chore: Update type definition files
Version 7.1.0
npm install iridium@7.1.0
- 7ed07e4 7.1.0
- 2547568 doc: Update documentation
- 2d81b95 refactor: Make Omnom easier to follow
- ece5d59 chore: Update to using TypeScript 2.1.4
- a227f0b refactor: Enable compiling with allowImplicitAny: false
- da7447f feat: Expose Iridium's Changes interface publicly
- 6b3f22f refactor: Move URL building out of Core
- e61c57e doc: Improve inline docs for general helpers
- a345f51 doc: Improve inline docs for decorators
- 969f394 doc: Improve inline docs for cursors
- 571ea96 doc: Improve inline docs for some core methods
- d735f86 chore: Update skmatc to 1.2.2
- 99ad887 Merged #63 into master
- 1654b47 Allow returning native promise from
Core.onConnected()
- 7e045c9 doc: Updated documentation
Version 7.0.3
npm install iridium@7.0.3
- 23c9ff3 7.0.3
- 2922b2f refactor: Switch to using the native MongoDB type data for connection options
- af62373 chore: Update out of date packages
Version 7.0.2
npm install iridium@7.0.2
- 29ee5e9 7.0.2
- edb1428 Merged fix/update-one-return-value into master
- df39cea fix: Ensure that update returns the correct answer for single updates
Version 7.0.1
npm install iridium@7.0.1
- 47f9831 7.0.1
- e2f9c25 fix #55: Correct behavior of update() operation with
multi: false
option - 6a44a87 feat: Add a yarn.lock file
- 1ec605e fix: Update package to require Node 6
Version 7.0.0
npm install iridium@7.0.0
- 09f6e2c 7.0.0
- fdd9ff7 fix: Correct BitHound config file
- 8f483b8 doc: Update Iridium requirements
- ff519b7 doc: Update README to remove reference to typings
Version 7.0.0-alpha.17
tag: v7.0.0-alpha.17 branch: 7.0.0-dev branch: 7.0.0-dev
npm install iridium@7.0.0-alpha.17
Version 7.0.0-alpha.16
npm install iridium@7.0.0-alpha.16
Version 7.0.0-alpha.15
npm install iridium@7.0.0-alpha.15
- 327719d 7.0.0-alpha.15
- 2b348a4 fix: Allow standard BSON types to be used with
- e850d5d ci: Fix coverage remapping for lcov and json
- 1f89416 doc: Updated changelog
Version 7.0.0-alpha.14
npm install iridium@7.0.0-alpha.14
- 52512a2 7.0.0-alpha.14
- 2bb83c8 chore: Update typedoc to 0.4.4
- 10ee87d ci: Remove codeclimate coverage tracking
- 778eaf7 test: Add sourcemap support to test stack traces
- e6d41be ci: Track code coverage in the TypeScript files
- 2dba5e3 doc: Add changelog
Version 7.0.0-alpha.13
npm install iridium@7.0.0-alpha.13
Version 7.0.0-alpha.12
npm install iridium@7.0.0-alpha.12
- f0efb2b v7.0.0-alpha.12
- 9d5633a fix: Correct the way BSON arrays are define to permit use of array operators
- 388f784 tweak: Update the way changes and conditions are defined to allow arrays
- 74f9477 doc: Fix changelog
- bf15ed6 doc: Updated changelog
Version 7.0.0-alpha.11
npm install iridium@7.0.0-alpha.11
- 8c8c07e 7.0.0-alpha.11
- ba773d0 refactor: Update to use TypeScript 2.0 😄 (breaking)
- cd4f4fe fix: Correctly execute tests
- 07c3599 ci: Add junit output for CircleCI test runs
- 1713a24 ci: Remove explicit MongoDB dependency in CircleCI
- 299ee2b feat: Add CircleCI build config
Version 7.0.0-alpha.10
npm install iridium@7.0.0-alpha.10
- d84d339 7.0.0-alpha.10
- a00de7a test: Remove extraneous lines
- 74d8759 tweak: Remove postversion hook since it is not necessary
- f6442a2 test: Add tests to ensure that #40 works fine
- 6526b30 feat: Add an
npm run watch
command - 3ee6d80 style: Fix a typo
- 8f0d96c refactor: Improve changelog helper style
Version 7.0.0-alpha.9
npm install iridium@7.0.0-alpha.9
- 9bcb406 7.0.0-alpha.9
- b9f5b32 tweak: Allow npm to version things itself
- 1f33d1b tweak: Improve printing of exec arguments
- 69f1d1c ci: Only test against latest version of Node.js 6.x
- cdc2b10 fix: Ensure that docs are pushed to GitHub when compiled
- c2c4e59 refactor: Switch to npm scripts instead of gulp
- aec03a7 refactor: Switch to ES6 as compilation target
Version 7.0.0-alpha.8
npm install iridium@7.0.0-alpha.8
- 2ab582f Version 7.0.0-alpha.8
- b599ee6 chore: Build latest changes
- e04e75f fix: Ensure that hooks can compile correctly for ES6 targets using different promise implementations
- 8ddb696 fix #39: Generate valid virtual class for ES6 targets
- ac4ae1c fix: Build docs correctly
- 35e4916 Version 7.0.0-alpha.7
- a423890 chore: Update typings to use typings@1.x and latest lodash definitions
- f7a4ad9 Updated CHANGELOG
Version 7.0.0-alpha.6
npm install iridium@7.0.0-alpha.6
- a1559d8 Version 7.0.0-alpha.6
- 642325f fix: Use forOwn for iteration of object properties in Omnom (See #35)
- dfbada2 doc: Compile latest docs
Version 7.0.0-alpha.5
npm install iridium@7.0.0-alpha.5
- a936dcf Version 7.0.0-alpha.5
- ff763dd chore: Build latest version of Iridium
- 6de8289 tweak: Point doc generation at iridium index
- 22c78cc doc: Remove entrypoint and decorator plugins from doc compilation
- 8aab7b5 tweak: Don't ignore compiler errors when generating docs
- cb2205b chore: Update TypeDoc to its latest version
- 79d465e Updated documentation
- 104824a chore: Build latest main definition
- 69aeb68 doc: Update documentation
- 9691d88 doc: Add documentation generation now that TypeDoc has been updated
- b2f9986 Updated CHANGELOG
Version 7.0.0-alpha.4
npm install iridium@7.0.0-alpha.4
- 18579af Version 7.0.0-alpha.4
- 0ebe996 chore: Build latest version
- 58f92e8 refactor: Don't use assignment imports (ES6 compat)
- cde86c8 Updated CHANGELOG
Version 7.0.0-alpha.3
npm install iridium@7.0.0-alpha.3
- 7aa690c Version 7.0.0-alpha.3
- 49accdd fix: Move Bson to BSON to address issues on linux
- 58ff432 Updated CHANGELOG
Version 7.0.0-alpha.2
npm install iridium@7.0.0-alpha.2
- 2563e88 Version 7.0.0-alpha.2
- 45723b5 doc: Update README with install instructions
- baa6a74 fix: Point typescript resolution at core module
- 64e006e fix: Include iridium.d.ts compiled file
- c65a288 refactor: Revert to exposing an external module (and requiring dependencies) for package typings.
- 16ee3c5 fix: Export type definitions as an external module for typescript
- def0e0e fix: Add main definition file to project
- cf34189 chore: Build the project
- d2105ce ci: Add a bundling process for the build
- 1ba840a repo: Remove another unnecessary definition file
- eef8158 refactor: Switch from PromisesAPlus to core PromiseLike for Cache API
- acb776e repo: Remove a number of unnecessary definition and map files from the repo
- 34b3dbd tweak: Don't include skmatc typings during compilation
- 6bc3587 refactor: Switch to promises-a-plus for cache promise definition
- 5651467 fix: Use Thenable instead of Promise to prevent mutating the interface
- 4187dff feat: Add skmatc typings reference
- ed33631 fix: Reference the correct definition file for typings
- 4b20bca Version 7.0.0-alpha.1
- d929524 fix: Correctly reference iridium distribution files
- 5685304 chore: Compile everything again
- ac3505e feat: Generate definition files for distribution
- ca6bbff refactor: Export MongoDB ObjectID and Binary types for lib/BSON
- 3ea4aa7 refactor: Remove random index and iridium.d.ts files
- 95ffbbc refactor: Update typings module modes to work more correctly
- bfc18b6 fix: Embed typings module reference in index.ts
- c3c8a85 doc: Update typescript version in README
- e63836a repo: Remove obsolete entries in .gitignore
- 0a9cf5b repo: Ignore benchmark and example file compilation results for git
- 57cd185 doc: Remove documentation step since TypeDoc doesn't currently support TypeScript 1.8.x
- a170f98 refactor: Fix benchmarks to use latest APIs
- 888922a refactor: Update the way things are built to take advantage of typings
- 6349114 refactor: Switch to typings instead of tsd (DefinitelyTyped)
- 2dd9b63 doc: Update documentation
- 25913e9 Version 6.7.0
Version 6.7.0
npm install iridium@6.7.0
- 3a8a1e3 Version 6.7.0
- ea646e0 refactor: Update to the latest available typescript definitions
- 3428558 Updated documentation
- 8a05b3e Updated CHANGELOG
Version 6.6.1
npm install iridium@6.6.1
Version 6.6.0
npm install iridium@6.6.0
- 3baaab5 Version 6.6.0
- d497c73 doc: Replace CodeClimate with BitHound
- 4cc79d2 style: And more linter warning fixes
- 0272ebe style: More lint style fixes
- ea5d47b style: Fix example linting issues
- 4737e70 style: Fix various other linting style issues
- 22eb682 style: Linting style fixes for various tests
- b75793b style: Remove old README file
- 649a677 ci: Don't have bithound analyze the dist folder
- 03897a9 ci: Add bithound configuration file
- 89c7b79 fix: Correct a piece of code broken by linting style fixes
- e13acfd style: Various lint style fixes
- cb2426c refactor: Various linter warning fixes
- 702976a refactor: Eschew var for let wherever possible
- 98d99e9 tweak: Have jshint ignore the typings folder
- deb4580 tweak: Recompile using TS1.8
- 5a214fd fix: Address a breakage in the last refactor
- 7e53f75 maintainance: Update various dependencies
- c3b842a refactor: Improve maintainability of Omnom
- 24d5b09 Updated CHANGELOG
Version 6.5.3
npm install iridium@6.5.3
- 6ad5fc7 Version 6.5.3
- 0916ab6 fix: Compile document clone fix
- 32a43aa ci: Fix uploading test coverage to code climate
- 549514f ci: Fix installation of MongoDB
- 8b00699 ci: Fix starting of MongoDB server
- 46c3a84 ci: Fix CI build
- 58affd5 Merge remote-tracking branch 'refs/remotes/origin/release'
- cd18c4a ci: Transition to Travis CI container infrastructure
- 30cc850 fix: Use correct clone method
- 309f2d0 Merge branch 'master' into release
- d1ff2f2 Updated documentation
- 6f23b1c Updated CHANGELOG
Version 6.5.2
npm install iridium@6.5.2
- 7337fef Version 6.5.2
- 20141da fix: Update Lodash library type definition
- 8d3e311 fix: Update various libraries to their latest versions
- b8be5ec Merge branch 'master' into release
- d426f7f fix: Don't include ntvs analysis file in npm package
- cfe56e7 Revert "ci: Disable automated npm deployments while Travis is broken"
- e3b007c ci: Disable automated npm deployments while Travis is broken
- 06d4d88 Updated documentation
- 88e3747 Updated CHANGELOG
Version 6.5.1
npm install iridium@6.5.1
- 3ecbcfa Version 6.5.1
- 2a6b079 fix #25: Address issues when cloning values of type MongoDB.ObjectID and MongoDB.Binary
- 95a5dff doc: Updated docs
- defa9cb Updated CHANGELOG
Version 6.5.0
npm install iridium@6.5.0
- dcfd08b Version 6.5.0
- a4a5caa doc: Added README content for the validation and transform layers
- f83905b doc: Added documentation explaining how to use @Transform on a class
- 89f52ab feat: Allow @Transform to be applied to a document
- a18a706 build: Compile new JS files
- 15bb03d test: Add tests to ensure that $document transforms work as expected
- 47ac927 fix: Correctly apply $document.toDB to saved instances
- eeb6650 fix: Correctly convert new documents for the database
- 011d48c refactor: Switch to using an options object for transform calls
- 29a630a revert: Switch back to type-less Transforms as it would otherwise be a breaking change
- 67872f2 feat: Add BSON interfaces to help enhance type safety of low level code
- 399babc test: Fix a badly written test fixture
- b3b7eaf fix: Improve validation errors for ObjectID validator
- 8db6a98 feat: Add $document special transform
- 0c3cb73 style: Remove promise binding which is not needed with lambda functions
- 8270e79 feat: Expose property name and model for transform functions
- 8dc9a32 test: Fix various unhandled rejections when the database server is unavailable for testing
- c0bf6e5 Merge branch 'master' into release
- ea7d614 Updated documentation
- cf6e586 Updated CHANGELOG
Version 6.4.1
npm install iridium@6.4.1
- 238db28 Version 6.4.1
- 5bdb845 build: Compile code with latest changes
- 6419b2a fix: Correct behaviour of _.cloneDeep when working with buffers
- e182b97 tweak: Adjust the transform function for binary properties
- 3ced29a tweak: Adjust error message to be more explicit about what can pass
- 7b12722 tweak: Improved error messages when a binary object fails validation
- a10dbd4 test: Added a number of additional tests for the new binary type
- c122bae Merge branch 'master' into release
- ec0890a Updated documentation
- a76f656 Updated CHANGELOG
Version 6.4.0
npm install iridium@6.4.0
- 4409543 Version 6.4.0
- 075b3bf build: Build latest code versions
- c857951 feat: Add a Binary property decorator for use with binary data properties in Buffer format
- b182464 refactor: Move default transforms into their own file
- bf895e5 refactor: Move default validators into their own file
- 255b39c Merge branch 'master' into release
- 1b481fa Updated documentation
- 84aba6a Updated CHANGELOG
Version 6.3.0
npm install iridium@6.3.0
- 50713c7 Version 6.3.0
- f09fa1b Merge branch 'feat/async-hooks'
- fcddc72 Merge branch 'pr/20'
- 1fe25e2 refactor: Remove duplicate
wrapped
definition - c697682 docs: Added some comments regarding promise performance under async conditions
- d24448e build: Update js maps following support for Promise.Thenable on external APIs
- 9e56ec9 refactor: Support libraries other than Bluebird for external promise sources
- 8ad539f build: Update distributable files with new async hooks changes
- 004733b test: Add tests for async hooks to ensure execution order is guaranteed
- 5538f28 feat: Add support for awaiting hooks using promises, as well as performance warnings in documentation
- 108e471 benchmark: Further fixes to benchmark to correct an error using ObjectIDs
- e37b56e benchmark: Update benchmark file to make use of latest API
- 2dabf54 Promises support in hooks
- 0a8ee18 feat: Add ability to specify a cursor's read preference using readFrom()
- ea3eb8f feat: Add ability to use cursor to retrieve a single document
- bd0858e Test case for promises in hooks
- 0db5f34 Promises support in hooks
- 1354dc0 Merge branch 'master' into release
- be5e698 Updated documentation
Version 6.2.0
npm install iridium@6.2.0
- 88b2d60 Version 6.2.0
- 7e0c6b3 ci: Have Travis publish npm versions
- 17edecd feat: Added one() method to cursor to read a single item from the database
- fe1ab5f feat: Added readFrom method to cursor
- 2fc6604 Merge branch 'master' into release
- a914a64 Updated Changelog
Version 6.1.1
npm install iridium@6.1.1
- 5eb946f Version 6.1.1
- 410ec6e build: Rebuild all JS for coverage checking
- f8ebf0e fix: Handle null config entry correctly
- 69624f4 Merge branch 'master' into release
- 297fcdc Updated CHANGELOG
- 30d132c Updated documentation
Version 6.1.0
npm install iridium@6.1.0
- 78dd581 Version 6.1.0
- c809366 test: Test to make sure that low level connection info is passed along correctly
- 14faf60 feat: Add support for low level connection configuration
- bc90974 Merge branch 'master' into release
- 00f135e Updated Changelog
Version 6.0.0
npm install iridium@6.0.0
Version 6.0.0-alpha.2
npm install iridium@6.0.0-alpha.2
- 30c17cb Version 6.0.0-alpha.2
- 56bb772 fix: Undefined reference to Skmatc in ModelHandlers
- 44fc771 test: Fix compilation of tests
- cfb92a9 tweak: Updated typescript definition pointer in package.json
- 92ae221 refactor: Remove _references.d.ts file
- 9d4f52b refactor: Update all skmatc references to use new dependency structure
- a020ffe dep: Update skmatc to 1.1.4
- 9370b18 dep: Update skmatc to 1.1.3
- f35342b Updated documentation
- a19768c Updated CHANGELOG
Version 6.0.0-alpha.1
npm install iridium@6.0.0-alpha.1
- a8f4c01 Version 6.0.0-alpha.1
- f7886b3 Version 6.0.0-alpha.1
- 8ba693c tweak: Gulp CI command includes build step
- bd728e1 tweak: Added multi option to update options
- 3fe9ebc build: Fix CI test command
- 6b73bbe dist: Build latest version of Iridium
- 14cc15e fix: Remove hacky approach to dependency resolution
- 6032286 feat: Add index.d.ts file for TypeScript 1.6
- aabb131 refactor: Remove references file from all files
- ba6c01c dep: Updated dependencies to latest versions
- 12b201b refactor: Fix definitelytyped reference for mongodb remove function
- b869541 test: Fix reference to _id for a number of instance tests
- aa34363 build: Switch to tsconfig for all build tasks
- 351deb3 build: Set experimental decorators flag when building TS files
- 78f5339 env: Update to VSCode 0.8.0
- 62a4ee1 Merge branch 'master' into release
- 6d1278d Updated documentation
- 0ea880a Updated CHANGELOG
Version 5.11.0
npm install iridium@5.11.0
- bd475da Version 5.11.0
- ea2a7c8 Listed docs in README (Closes #9)
- d806e89 Updated documentation
- 971a2b8 Added implementation and tests for core level connection hooks
- 42940bb Merge branch 'master' into release
- 4b52136 Updated documentation
- 016263c Updated CHANGELOG
Version 5.10.1
npm install iridium@5.10.1
- ad98906 Version 5.10.1
- b18beb5 Merge pull request #17 from SierraSoftworks/feature/nicedocs
- 9ece18a Updated docs
- 39524f7 Fixed a number of broken test fixtures
- 89725a4 Fix a little issue with CI tests
- 7b29f33 Changed the submodule URL for docs
- 7c9cf0d Updated documentation
- f02e177 Updated documentation
- db7c92c Refactored doc gulp script
- d37c855 Updated documentation
- 47213a9 Updated doc script to push changes to gh-pages branch
- 3dcd9c8 Updated script to only commit doc changes if there are changes to be committed
- 711c490 Added gulp script to automatically update documentation
- 006da28 Made the doc directory a git submodule for the gh-pages branch
- c60b030 Exclude documentation website from NPM module
- 5d05863 Restructuring and a massive amount of extra documentation for TypeDoc
- d92fce4 Ensure that documentation is generated correctly
- d339af9 Merge remote-tracking branch 'origin/master' into feature/nicedocs
- 138e448 Removed legacy documentation
- ea6d099 Added TypeDoc documentation compilation step
- 54ad856 Updated a variety of files to better support TypeDoc
- c559581 Added TypeDoc dependency
- b5ccea3 Merge branch 'master' into release
- 99cc6cd Updated CHANGELOG
Version 5.10.0
npm install iridium@5.10.0
- 375494a Version 5.10.0
- 09bfb53 Make use of arrow functions in Core (Closes #16)
- d565312 Include compiled fix from 5.9.2
- f7f9db1 Make core.connect async-safe (Fixes #15)
- e7bb6cd Merge branch 'master' into release
- 0697117 Updated CHANGELOG
Version 5.9.2
npm install iridium@5.9.2
- 2438155 Version 5.9.2
- b2cb440 Fix for a strange set of behaviour with the last release
- b9c13fb Updated changelog generation
- f656174 Revert "Switch to Travis-CI container infrastucture"
- 5261ea0 Revert "Updated travis config to use MongoDB precise (3.x)"
- cefc0f4 Updated travis config to use MongoDB precise (3.x)
- d11c8f3 Switch to Travis-CI container infrastucture
- 3565d59 Merge branch 'master' into release
- 5a2dc37 Updated CHANGELOG
Version 5.9.1
npm install iridium@5.9.1
- 4efcdf1 Version 5.9.1
- 1e8bb04 Added an extra Onmom test
- 179516c Added additional error information for instance updates
- ba70443 Merge branch 'master' into release
- 465cc85 Updated CHANGELOG
Version 5.9.0
npm install iridium@5.9.0
- 431bb0b Version 5.9.0
- 5f326fd Clean up the references.d.ts file before bumping the version
- 445ebb6 Added support and tests for the MongoDB aggregate operation
- b4b42a2 Merge branch 'master' into release
- f5926ce Updated CHANGELOG
Version 5.8.0
npm install iridium@5.8.0
- ab6904e Version 5.8.0
- 625397d Added support and tests for a toObjectID helper method
- 20ae56e Merge branch 'master' into release
- 4ebd33d Updated CHANGELOG
Version 5.7.5
npm install iridium@5.7.5
- b5cb543 Version 5.7.5
- ff0e292 Show release branch badges
- fe2e60a Fixed behaviour of Omnom when unsetting properties
- 228f7ce Added Omnom tests for $unset
- 2e27c23 Added a contribution information file
- 5e5af67 Merge branch 'master' into release
- e360587 Updated CHANGELOG
Version 5.7.4
npm install iridium@5.7.4
- 29aaba3 Version 5.7.4
- c087fb0 Merge pull request #14 from pgaubatz/patch-1
- b1a69a0 Use svg-badges instead of png
- 374027d Updated CHANGELOG
Version 5.7.3
npm install iridium@5.7.3
- 40bf827 Version 5.7.3
- 486696d Fixed some namespace pollution when using the ObjectID decorator
- 0b0e8da Updated CHANGELOG
Version 5.7.2
npm install iridium@5.7.2
Version 5.7.1
npm install iridium@5.7.1
- b0e3dd7 Version 5.7.1
- bad22e2 Handle null ObjectID fields correctly
- 9d2bedf Updated CHANGELOG
- 70337bf Updated CHANGELOG
Version 5.7.0
npm install iridium@5.7.0
- 3c25d1c Version 5.7.0
- ca5b130 Merge remote-tracking branch 'origin/release' into release
- 709d145 Removed old changelog
- 453b6d1 Updated CHANGELOG
Version 5.6.3
npm install iridium@5.6.3
Version 5.6.2
npm install iridium@5.6.2
Version 5.6.1
npm install iridium@5.6.1
- 51c95e8 Tag versions correctly
- 30b05ce v5.6.1 tag: 5.5.5
- 0a71f20 Version 5.5.5
- 6de8a3f Merge branch 'master' into release
- a98752e Automatically prep _references.d.ts during publish (Fixes #11) tag: 5.6.0
- 95dec95 Version 5.6.0
- c86d3a7 Emit lcovonly coverate
- 51ef60f Added tests for decorator ObjectID transform
- aafaf55 Added tests for default ObjectID transform
- aca976d Added tests for transforms within instances
- 10543ce Renamed a couple of transform tests
- 5dd56ae Added tests for the transforms system during inserts
- 3a77819 Test default _id schema type
- 3df6c88 Evade the new default schema type when testing the model
- f28acf7 Added some new tests for the ObjectID decorator
- 939193e Model will provide a default _id type if one is not specified
- a77716b Instance no longer includes a default _id type
- fcddf13 ObjectID decorator now populates a transform
- e091734 Fixed an issue where transforms always applied to the _id field tag: 5.5.4
- 87bcce4 Version 5.5.4
- 49aa2d9 Added tests for and a fix for ObjectID validation tag: 5.5.3
- aa41bd6 Version 5.5.3
- 2907eb8 Indexes can also be in the form
{ loc: "2dsphere" }
tag: 5.5.2 - c695cc1 Version 5.5.2
- d213dda Fixes for a number of weird fringe cases after calling instance.save
- f03e6cd Merge remote-tracking branch 'origin/master' into release tag: 5.5.1
- d478ff7 Version 5.5.1 tag: 5.5.0
- 13cdbf3 Version 5.5.0
- aea78fe Build new Model changes
- 30bca30 Update README file to v5
- d84f6de Added tests for instance modification isolation to modified object
- 462fe58 Refactored model constructor to be more maintainable
- 7f60379 Built changes
- ee6b053 Added more tests for validation and fixed custom validators not being detected
- 6bbf45b Removed un-needed dependency
- 3ee4f80 Improved property decorator handling and added tests to cover those cases
- 77c728b Remove unused helper methods
- 4682017 Build changes
- 5a93864 Adopt let instead of var for all tests
- 074d91a Rebuilt ObjectID decorator to make use of default validators
- 1e686e7 Ensure that decorators don't pollute parent scopes
- 5e13027 Added transform decorator
- c4f221f Trigger onRetrieved after we have cached the document
- 3ed32b3 Remove some unused model interfaces
- e78496b Define some sensible defaults for validators and schema
- 8be9128 Implement a transforms engine again since it works very nicely with decorators
- d91b19a Further implementation of decorators and removal of Schema and Options params on model creator
- 7eae4e1 Fixed an issue with some of the prototype decorators
- ce61f94 Added some additional decorator methods as a proof of concept
- cc14f1a Initial decorators implementation
- 426ad5f Updated chai-fuzzy definition tag: 5.4.4
- 099c6f4 Version 5.4.4
- c9bc082 A number of code style fixes tag: 5.4.3
- aed3171 Version 5.4.3
- 42588d2 Improve method definitions for conditions tag: 5.4.2
- 0bc1afc Version 5.4.2
- 4d310fb Remove unneeded gulp module
- 597cc1f Cleaning up build task to improve code legibility
- 4507857 Cleaning up some code in Model to meet coding standards tag: 5.4.1
- 55b0179 Version 5.4.1
- aa2c6b8 Use gulp ci for Travis tests tag: 5.4.0
- b1d0c78 Version 5.4.0
- f0d621e Correctly handle version gulp script
- f95a706 Added a publish gulp script
- bde9566 Ignore unnecessary files in git
- 7713c51 Build changes
- 20f6c1c Include some missing npm modules
- b6e7c45 Allow all model options to be specified as static properties on instance type
- d30809e Some updates to gulp tasks
- 9a0b4eb Ignore dist tests in npm package
- 7aab780 Added gulp version task
- 5d3e8f6 Point project main at dist files
- 0ebc979 Include compiled module files in dist/
- 3db02bf Remove unused test config file
- 1cb97d5 Remove project file references from tsconfig
- 6b0d5e5 Use ES6 module import format
- b0bbad7 Switch to gulp for builds
Version 5.3.0
npm install iridium@5.3.0
- fb35565 v5.3.0
- 690f96c Chunk inserts so that you can insert more than 1000 items
- b65a913 Ignore a number of pointless files
Version 5.2.7
npm install iridium@5.2.7
Version 5.2.6
npm install iridium@5.2.6
- fb895b4 v5.2.6
- a761ca4 Removed old index.js file
- 8a950ed Added tests for get() and findOne() with empty result sets
- 98edccd Added tests and fixes for cursor results with empty result sets
Version 5.2.5
npm install iridium@5.2.5
Version 5.2.4
npm install iridium@5.2.4
Version 5.2.3
npm install iridium@5.2.3
Version 5.2.2
npm install iridium@5.2.2
Version 5.2.1
npm install iridium@5.2.1
Version 5.2.0
npm install iridium@5.2.0
- 29ebe1c v5.2.0
- 1caa567 Removed some old unused ts.d files
- ff4e8c1 Updated Skmatc TypeScript definition
- 7021652 Reorganizing typescript typings
Version 5.1.0
npm install iridium@5.1.0
- 553b0b5 v5.1.0
- ae75c66 More stringent testing of remove()
- b50dbcd Produce html coverage report when running grunt coverage
- fa3c0e0 Allow hooks to be defined in models rather than options
- b918c92 Added more tests for MongoDB URL generation in cluster mode
Version 5.0.1
npm install iridium@5.0.1
- 67c0ee1 v5.0.1
Version 5.0.1-0
npm install iridium@5.0.1-0
Version 5.0.0
npm install iridium@5.0.0
- e686cd3 v5.0.0
- ea56d03 Fixed order in gruntfile
- 9969c4e Fixed release tasks not running in correct order...
Version 5.0.0-alpha.12
npm install iridium@5.0.0-alpha.12
- d19000b v5.0.0-alpha.12
- 2d43208 Removed explicit repository information
- e6c4dc3 Updated the format of the grunt release repo stuff...
- 15a6f96 Added Grunt release script tag: 5.0.0-alpha.11
- 43de7c1 release 5.0.0-alpha.11
- 7e8656c Cleaned repository out a bit, let Travis do compilation as needed and we'll use Grunt to build NPM packages
- 7446d56 Fixed missing references in TS files (broken in a previous commit)
- cc8e072 Clean up build process a bit with Grunt
- 78a5795 Tell Travis to use grunt for tests
- 163e1bf Switch to Grunt for builds
Version 5.0.0-alpha.10
npm install iridium@5.0.0-alpha.10
- 32b84b2 v5.0.0-alpha.10
- 1841323 Significant reference changes to try and improve namespace collisions
- 8d725ab Fixed tsconfig spelling mistake
Version 5.0.0-alpha.9
npm install iridium@5.0.0-alpha.9
- 6ead0a5 v5.0.0-alpha.9
- bbe412c Updated typescript compiler
- 9a63641 Added support for multiple hosts to be defined in config
- 10743b5 Added tests to tsconfig.json
Version 5.0.0-alpha.8
npm install iridium@5.0.0-alpha.8
- f3a7557 v5.0.0-alpha.8
- 72f0aef Export Iridium Core configuration interface
- b1a785e ...mongo
- 753dee4 Print MongoDB version when running tests
- f94f558 Seems we can't auto detect the distribution on Travis
- 2eec34d Make Travis use MongoDB 3.0
Version 5.0.0-alpha.7
npm install iridium@5.0.0-alpha.7
- f03a352 v5.0.0-alpha.7
- 20e1cf8 Switched to { w: 'majority' } for all write operations
- 859646a Updated tasks and recompiled with TS1.5
- 974686a Updated tasks
Version 5.0.0-alpha.6
npm install iridium@5.0.0-alpha.6
- b3ea21f v5.0.0-alpha.6
- 0bba664 Removed un-needed js files and maps
- c598cf1 Added VSCode files
- acd8be6 Updated examples to use the module exports rather than internal modules
- 0758a57 Fixed a possible issue in benchmarks
- d3ca3a1 Updated project file
- 07fb393 Exported plugin interface and renamed exported cache interfaces
- 34e8503 Continued to expand the README
Version 5.0.0-alpha.5
npm install iridium@5.0.0-alpha.5
- 4de26a0 v5.0.0-alpha.5
- 257b05d Fixed export of ModelOptions
- 26d94e0 Optimized Instance to a small degree
- d2a9d75 Mark value of Callbacks as being optional
- 910db60 Export ModelOptions
- 2b0ff8b Fixed Schema definition to allow restrictive custom _id fields
- 193b763 Fixed Bluebird typescript definition
- b608e40 Fixed module definition file
Version 5.0.0-alpha.4
npm install iridium@5.0.0-alpha.4
Version 5.0.0-alpha.3
npm install iridium@5.0.0-alpha.3
- 7159a3d v5.0.0-alpha.3
- ca87350 Updated UserModel example to remove transforms reference (no longer available in v5.x)
- ccc2daa Added a usable module definition for Node.js
- dc03943 Removed a number of unnecessary d.ts files
Version 5.0.0-alpha.2
npm install iridium@5.0.0-alpha.2
Version 5.0.0-alpha.1
npm install iridium@5.0.0-alpha.1
- 33e0469 We're 5.0.0-alpha.1
- c0dbd2c I think we may have fixed Travis
- 40fab25 Log all the things for Travis
- 50523ce Come on Travis, we believe in you
- 858b766 Return nModified from update() on MongoDB 2.4
- caf864a Make some test failures output more useful informatio
- 86b494f Travis is still broken, more logging and possible fixes
- 2448a4f Support MongoDB 2.4 responses in update()
- 81144a2 Added some logging to find out why Travis is failing tes
- cb4700e Added a couple more tests
- da8a2d9 Set default benchmark intensity to match default max batch size for MongoDB
- cce0311 Updated to support MongoDB Node driver v2.0
- 190e5c2 Updated and added some more tests
- 67d2ab7 Removed some unused helper cod
- f6b21a7 Removed extraneous defaults in ModelSpecificInstance constructor generation
- a47e8bb Hooks and caches are now not waited on for performance reasons
- 6602edc Rewrote some of the benchmark file to make it more legible
- 435a758 Updated benchmarks scripts
- 9e4c63f Did some cursor optimizations
- 3745754 Added first part of the new README file
- 04af4f0 Removed transforms framework
- 1ac4f75 Include underscore as a dev dependency (fixes chai test issue)
- 0147aea Updated project file
- f9e57cb Show badges for the master branch
- fdb0746 Merge pull request #7 from SierraSoftworks/typescript
- cab9a81 Renamed Promise to Bluebird to avoid confusion and possible conflicts
- a029c1e Removed unused variable in Omnom
- b4fb151 Removed unnecessary semicolons in module index
- 45ec39d Updated .jshintrc file
- 321e149 Added JSHint configuration for CodeClimate
- f8d835b Fixed ModelCache promise reference
- fd144a3 Added a number of middleware tests
- aad75e8 Separated Model into a number of smaller files to make it more manageable
- fb6f69a Added some fringe case tests for Omnom
- 2e48949 Fixed Travis code climate configuration
- c91116d Added more badges to the README
- 65ffea9 Updated code coverage submissions for CodeClimate
- 8949641 Added coveralls coverage badge to README
- 5e229b9 Updated the project file
- 958b579 Exported more classes and interfaces from the core module
- a020f4f Some fixes and tweaks to Instance and Model
- f4f9d9b Added some more model and instance tests
- 5d18479 Added some tests for hooks
- b33bc7a Added some more core tests to stress unused code paths
- 2f203b7 Added tests for cache
- 252ee77 Removed the beforeSave hook (since it is handled by saving)
- 6379d10 Changed the way cache controllers are implemented
- c6282ca Added code coverage tracking
- 4051e27 Updated test modules
- c2f13f1 Documented cursor constructor
- c306222 Finished documenting the cursor implementation
- ee26fcf Added tests for cursor.next() and cursor.rewind()
- 710abbe Tweaked behaviour of cursor.each to differentiate it from map
- 1e0e22f Fleshed out the remaining cursor unit tests
- 6ddcbbd Updated find() to use an Iridium cursor object
- 6adc765 Updated project fil
- e0e2d31 Added benchmark comparisons between toArray() and map()
- 462b6eb Continued updating README
- 06b16b6 Updated Model binary encoding (should fix diffs)
- 06cde63 Made a number of fixes to the model implementation
- c7bd035 Fixed a number of bugs in the instance implementation
- ee802c6 Updated model and instance tests
- 860a824 Added a number of definition files
- 4823afb Specified testing framework for all test files
- 3ebfedc Updated references in module index
- f3d5a17 Added validation tests
- c4008eb Updated the migration document
- fe3d46b Updated the benchmark
- 2d5929b A bunch of changes, new tests and fixes
- 976e954 Updated plugin tests
- 44ced8b Fleshed out some more of the model index tests
- 6b3f0fd Updated a number of project files on build
- 4db6411 Added plugins test spec
- b4590cd Added test specs for dropIndex(es)
- 832aaa6 Added dropIndex and dropIndexes methods to Model
- dd11be9 Added tests for Model.ensureIndex
- 6c84643 Added tests for Instance
- 7cf37ca Changes to model creation tests for Travis
- 57589fb More Travis changes
- af0534c Skip connection failure test on Travis (always connects)
- a8a412c Added most of the remaining model tests and fixes for some issues
- 58bd2a6 Added tests for Omnom
- d0c7b40 Explicitly reference the _references.d.ts file for all lib files
- 18160b2 Explicitly reference the _references.d.ts file in all tests
- 6c256d5 Include Model tests in project file
- 669f414 Add compiled JS files back in
- 48e1c1f Made some fixes for the test framework
- 2d6c813 Added a number of tests for Model
- 5eb5cdc Fixed a large number of issues with this references in Model and Instance
- 4015c65 Updated typescript definitions
- 9c505de Fixed some plugin stuff and the UserModel example
- 0487588 Updated the UserModel example to adopt the new API
- ea2ef66 Export the Schema interfac
- d9aeb1e Updated examples to use TypeScript
- ac3cafb Documented Instance methods fully
- a728fe0 Merged in documentation and plugin changes
- 5607eea We don't need the .gitignore file in tests for the time being
- d3c0199 Removed some old JS test files
- 6411221 Added a bunch of test stuff
- b757f4a Rewrote the API to use classes as the basis for instances
- 1d18897 Improve the core module export
- ae5510c Don't include a number of temporary files
- e6f39ac Run mocha for debugging
- c96eef7 Updated solution to include project
- f0bb5ff Exclude dist directory from Git
- 441490e Removed a couple more compiled JS files
- 3329d7f Removed compiled JS files
- 6d45c0a Add a warning to the README for TypeScript
- 7e98337 Initial push of TypeScript rewrite
Version 4.0.1
tag: v4.0.1 branch: v4 branch: v4
npm install iridium@4.0.1
- 9a250c3 Fixed chai version for build tests
Version 4.0.0
npm install iridium@4.0.0
- 2e7c73a 4.0.0
- deff19c Updated benchmarks to show difference between { wrap: true } and { wrap: false }
- 84898de Switched to Bluebird for promises (performance reasons)
- a706e45 Updated README to reflect v3.0 package.json
Version 3.3.0
npm install iridium@3.3.0
Version 3.2.0
npm install iridium@3.2.0
- 1e699fc 3.2.0
- 713a99d Added tests for, and fixed, ready hook
- 76c69f7 Added some inline documentation to Model.js
- 6f18960 Added some callback tests
Version 3.1.0
npm install iridium@3.1.0
- 9b509ff 3.1.0
- 44a861d Updated plugins tests to use promises
- 546638a Updated model tests to rely on new harness and be slightly more useful
- 23a7ce9 Updated instance_setup tests to rely on new harness
- 35fe25b Updated instance_helpers tests to rely on new harness
- 8e5b5d0 Migrated instance_db tests to promises
- 5961b97 Migrated insertion tests to promises
- eaafa7e Migrated cache tests to promises
- 9d85991 Migrated hooks tests to promises
- 9264445 Migrated FindOne tests to promises
- 6851903 Migrated Find tests to promises
- 296bfe5 Migrated Bug tests to promises
- 73072e3 Switched to Chai for testing
- a622a54 Fixed some Model API issues
- 0dd3b22 Cleaning up the DB.connect method a bit
Version 3.0.0
npm install iridium@3.0.0
- 3c15013 3.0.0
- d268f5b Added Q promises to documentation
- 9c50e59 Removed IntelliSense as a feature
- 12a537d Documented chaining of DB.register()
- fce4b5c Added promise calls to Instance
- e674e5a Added promise calls to Model
- f89f215 Added promise calls to Database
- 5665c5c Reduced runtime of async hook test
- 07ec784 Added tests for promise versions of some methods
- 552501c Start work on adding Q promises
Version 2.16.0
npm install iridium@2.16.0
- dd5431e 2.16.0
- bbe6ab8 Updated dependencies
- 64c316c Some cleaning up of the Database file
- e5b3d97 Allow chaining of Database methods
- cd0a269 Fixed a spelling error in Database XML docs
Version 2.15.1
npm install iridium@2.15.1
Version 2.15.0
npm install iridium@2.15.0
Version 2.14.0
npm install iridium@2.14.0
Version 2.13.1
npm install iridium@2.13.1
Version 2.13.0
npm install iridium@2.13.0
Version 2.12.2
npm install iridium@2.12.2
Version 2.12.1
npm install iridium@2.12.1
- 5e9544c 2.12.1
- b6e0402 We don't need to explicitly handle _id changes in Instance
- 80e0fe5 Added some tests for a possible bug in ObjectID handling
- 4ded748 Added comments about Instance.document (#3)
- be36b56 Merge pull request #4 from PierrickP/patch-1
- d8246e5 Change 'user' -> 'username' for db connection
Version 2.12.0
npm install iridium@2.12.0
- 21b5520 v2.12.0
- caf76f4 Allow passing of explicit options to Model.update()
- 58eafa1 Added more tests for find()
Version 2.11.4
npm install iridium@2.11.4
Version 2.11.3
npm install iridium@2.11.3
Version 2.11.2
npm install iridium@2.11.2
Version 2.11.1
npm install iridium@2.11.1
Version 2.11.0
npm install iridium@2.11.0
- 240d5fe v2.11.0
- f2f1f44 Switched to skmatc for validation
- 1dbaff9 Better handling of instance use after removal
Version 2.10.5
npm install iridium@2.10.5
- afb5bfc v2.10.5
- 20fcd03 Switched to spaces for indentation
- 34dd019 Normalized require() for local files Should make it (more) compatible with Node.js Tools for Visual Studio
- 210f1ce Removed nodelib from codebase - NTVS
Version 2.10.4
npm install iridium@2.10.4
- 225b09c 2.10.4
- 088e2d5 Updated README
- 665ad3b Updates to the UserModel example
- a904b3a Fixes for IntelliSense Great news guys! I've put a lot of work into the IntelliSense stuff now that I'm back at my usual development machine and the result is pretty spectacular (if I do say so myself). You can now get IntelliSense for all your models and their instances (you just need to add some stuff to your callbacks to let VS know what type the parameters are). Take a look at the IntelliSense example for a quick demonstration of how it works.
Version 2.10.3
npm install iridium@2.10.3
- 566b6fd 2.10.3
- 873076a Vastly improved equality comparisons for diff and Instance _id
- e3fb2ce Whitespace and VS project file improvements
- ad8c1fc Don't allow changes to _id in instances
- b52262c 2.10.1
- 27cc054 Added tests for instance removal
- 480b268 Fixed error on instance removal
- 033f10b Instance can be re-added by calling save() after remove()
- bb9a507 Added test for Instance.update()
- 34825ac Added tests for Instance.save()
- dc745c1 Fixed issues with Instance.save(conditions, changes) when conditions didn't match anything
- c2787d8 Use for numeric changes instead of
- 9aec839 2.10.0
- edf42c3 Updates to Instance - Fixes an error when saving instances without custom change sets - Adds a
document
virtual property which returns the backing document from the database - Adds aselect
function which allows you to easily select array/object values based on a selector function (makes working with arrays containing documents easier) - Adds afirst
function which does the same as select, but only returns the first result. - ad2a804 Version 2.9.4
- bfbb4dd Added info about Omnom to the README
- ab9eb07 Updated Diff engine We've moved to a new diff engine (codename Omnom) which is so much better than the original diff algorithm as to make any comparison laughable.
- d8134a9 Validate instance against schema on save This replaces the throwing of errors when assigning values to root level schema properties and means that child elements are now validated when saving.
- 53fbeff Merge pull request #2 from klokoy/patch-1
- a55d538 Updated the example so that it works
- a3a7ece Updated package.json
- 5b6bfe2 Another bug fix, v2.9.2
- f99f853 Version bump v2.9.1
- cb72d9e Fixed broken behaviour when specifying conditions in Instance.save()
- bcdb7c9 Made working with $ projection operator possible in instances
- 790ba12 Added Events support, v2.8.0 From now on, all models and instances are EventEmitters, allowing you to easily register events on them. Currently these events are triggered with the same names and for the same reasons as hooks, and can be used for easy debugging and read-only access.
- 5a65a23 Version bump v2.7.3
- b2d59e7 Iridium should still pass documents through the preprocessing framework when { wrap: false }
- 50c153e Version bump v2.7.2
- a4f98c9 Updated caching design
- f5974ff Version bump v2.7.1
- dc1ca73 Allow more complex caching designs Caches are now selected based on whether they report an ability to cache the given document's selection conditions. This should allow more flexible usage of caches in real world applications (where you won't necessarily be using _id the whole time)
- dcba1ac Added caching support In an effort to make Iridium the go-to ORM for Node.js applications 😉 we've implemented inline caching support - allowing you to easily cache requests for single objects using your favourite caching engine (Redis/Memcache etc.).
- 9d99b21 Version bump to v2.7.0
- a8ec072 Added Database.close() and Database.disconnect() methods to allow graceful closing of DB connections
- 9915b47 Improvements to Model methods We've made improvements to Model's insert/create method which allow it to execute faster (by running preperations in parallel) while also avoiding stack overflows when inserting a large number of elements. Similarly, we've rewritten the onReceived processor to improve readability and performance a bit (it was already async) while adding support for executing queries without having the results wrapped in Instance objects - if you don't require that.
- 45c1a5f Added async module to package.json
- b81a704 Added benchmark results to README
- 21b9ae7 Added a benchmark suite
- 60bcc6f Updated LICENCE
- bb1d747 Use model specific instances for schema values Another major optimization, since it means we don't need to define property accessors on a per-instance basis when creating Instances. Should vastly improve performance and memory usage for databases which adhere to their specified schemas, those that don't should add { $required: false, $type: ... } to their schemas to take advantage of these optimizations.
- ce0c435 Models now have their own custom model.Instance classes These classes inherit from Instance and provide virtuals and methods via their prototype, allowing for considerably more lightweight instances creation and (hopefully) functional intellisense for virtuals and methods.
- 861ecb2 Version bump to v2.6.1
- 109657c Validation errors now have isValidationError: true
Version 2.6.0
npm install iridium@2.6.0
- 50fccc2 Version bump to v2.6.0
- 4a9c2f6 Updated examples to match latest API
- 1a51ddc Improved Instance base methods Uses prototype for reduced initialization overhead and lower memory consumption (since the code is no longer duplicated for each instance)
Version 2.5.0
npm install iridium@2.5.0
Version 2.4.3
npm install iridium@2.4.3
- 3891b2b Version bump to v2.4.3
- 9285c9b Fixed instance _id condition inferrence
- 36ad1cc Fixed custom _id field name behaviour on insert
- 6b1b729 Added additional tests for _id inferrence
- 1bafab7 More improvements to _id inferrence heurestics
- c7dff1f Improved instance condition selection behaviour
Version 2.4.2
npm install iridium@2.4.2
Version 2.4.1
npm install iridium@2.4.1
- 21b220e Version bump to v2.4.1
- debc799 Split model tests into their own files for different methods
- ac63605 Updated Model, Instance and Database constructors
Version 2.4.0
npm install iridium@2.4.0
Version 2.3.0
npm install iridium@2.3.0
- 307a7e3 Version bump to v2.3.0
- 26c883f Update instance properties after every query
- da21751 Updated README
- fa38476 Added more plugin tests
- 48bcbb6 Added plugin tests
- f9abc82 Fixes for Model - Removes obsolete rename functionality - Fixes validation on insert
- 4d69c29 Fixed instance schema validation
- 82368ee Fixed validation issues, updated tests
- a96d2a0 Fixed syntax error in Model
- 5a8aa97 Added feature details for plugins to README
- 4f8384e Added post-creation plugin hook for Instances
- b05c566 Added example validation plugin
- eab903d Added example of changing case of collections
- dc318da Allow model constructor arguments to be passed to new model plugin hook
- c382c71 Renamed example/User.js to example/UserModel.js
- b919191 Added custom validation support to validator
- 872d15e Added plugin logic to Instance - Allows custom validation behaviour
- db0be5d Added plugin logic to Model - Allows custom post-creation behaviour - Allows custom validators
- 1440328 Added plugin registration logic to database
Version 2.2.0
npm install iridium@2.2.0
- 600a1b7 Version bump to v2.2.0
- 63e35cf Added tests for new getter/setter virtuals
- 3a248cc Allow virtual properties to have setters
Version 2.1.0
npm install iridium@2.1.0
- ebb1c5d Switched to Concoction for preprocessing, v2.1.0
Version 2.0.0
npm install iridium@2.0.0
- 92fd5b4 Version bump to v2.0.0
- 1227c58 Updated README with new preprocessor API
- b1173c8 Updated examples to match new API
- 3460e87 Updated tests to match new preprocessors
- 7a54337 Updated Model to support new preprocessor framework
- b5baa54 Updated Instance to support new preprocessors
- 2070462 Added list of preprocessors to Database
- e26971f Replaced preprocessor framework
Version 1.3.9
npm install iridium@1.3.9
- 89d1537 Version bump to v1.3.9
- c9d7a0a Fixed rename handling in Instance (missed because of previous typo)
- 3c5f362 Fix typo (renames -> rename)
Version 1.3.8
npm install iridium@1.3.8
- 235a310 More improvements to rename functionality, v1.3.8
Version 1.3.7
npm install iridium@1.3.7
- af292aa Version bump to v1.3.7
- c0f499d Added more tests for Model, focusing on DB CRUD
- 7dafa79 Documented preprocessing steps in README
- 2c0c176 Rewrote insertion logic
Version 1.3.6
npm install iridium@1.3.6
- dcbe5ee Version bump to v1.3.6
- d9483d4 Fix return values for Model.insert
- 68f41e9 Improve error messages for validation of missing values
Version 1.3.5
npm install iridium@1.3.5
Version 1.3.4
npm install iridium@1.3.4
- 081e765 Fixed hook error on insert, v1.3.4
Version 1.3.3
npm install iridium@1.3.3
- bc44841 Version bump to v1.3.3
- 63e7ac9 Allow insertion of multiple objects
- 690287c Add test config file to repo
Version 1.3.2
npm install iridium@1.3.2
Version 1.3.1
npm install iridium@1.3.1
Version 1.3.0
npm install iridium@1.3.0
Version 1.2.0
npm install iridium@1.2.0
- 85264b5 Version bump to v1.2.0
- 65dfa6f Update Model.aggregate behaviour
- d34fcda Update express middleware
- 983ad44 Version bump to v1.0.1
- 5d77c65 Add LICENCE, credits to README
- fcd3bff Add Flattr badge
- fa2a75f Add build status badges to README
- adda277 Add installation instructions to README
- b9290c8 Fix config loading for unit tests
- 87d478b Fix npm test script path
Version 1.0.0
npm install iridium@1.0.0