Skip to content

Commit 076d3ed

Browse files
committed
release prep
1 parent 49069eb commit 076d3ed

File tree

3 files changed

+130
-105
lines changed

3 files changed

+130
-105
lines changed

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"cbmongodb",
3-
"version":"1.0.0",
3+
"version":"4.0.0",
44
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbmongodb/@build.version@/[email protected]@.zip",
55
"author":"Ortus Solutions <[email protected]>",
66
"homepage":"https://github.com/coldbox-modules/cbmongodb",

changelog.md

Lines changed: 128 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -9,107 +9,132 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12-
## [1.0.0] => 2021-JAN-01
12+
### Changed
1313

14-
* First iteration of this module
15-
16-
Changelog:
17-
----------
18-
**v3.11.1.0**
19-
1. Updates MongoDB driver to v3.11.0
20-
21-
**v3.5.1.0**
22-
1. Updates MongoDB driver to v3.5.0
23-
2. Fixes an issue with incorrect sort results when using the ActiveEntity order() function
24-
25-
**v3.2.1.1**
26-
1. ACF Compatibility Updates
27-
2. Cleanup validation conditionals
28-
3. Adds the ability to pass an additional match condition on a grouped aggregation - Allows for an additional match clause to limit the grouped results
29-
4. Fixes casting errors on loaded entity save
30-
5. Ensure entity _id is always cast as a string
31-
6. Fixes merge issue with struct merge on population
32-
7. Add check for _id in record struct
33-
34-
**v3.2.1.1**
35-
36-
1. Syntax corrections
37-
2. Reverts auto-eviction to pre-v3.2.0.4 spec to prevent removal of normalized data prior to `populate()`
38-
3. Ensures legacy index names, which weren't keyed off of the collection are dropped and re-created using new naming conventions
39-
40-
**v3.2.1.0**
41-
42-
1. Updates Mongo Driver to v3.2.1.0
43-
2. ACF11 compatibility updates
44-
3. Refactors module to use coldbox module skeleton
45-
4. Adds automated Travis CI builds and deployments for source and new `cbmongodb-be` slug to Forgebox
46-
47-
**v3.2.0.4**
48-
49-
1. Fixes a schema issue where a parent struct is being overwritten by the default container when the child attribute is lower aphabetically
50-
2. Fixes an issue with unique validation
51-
3. Fixes population issues when passing nested structs
52-
4. Fixes issues with nested keys on normalization
53-
5. Adds auto-eviction prior to population
54-
6. Adds explicit closing to cursor use for single record retrieval
55-
7. Changes index naming scheme to prevent different collections from having the same index name hash
56-
8. Adds the ability to pass a struct as the first argument to `where()`
57-
58-
**v3.2.0.3**
59-
60-
1. Fixes ACF Compatibility Issues
61-
62-
**v3.2.0.2**
63-
64-
1. Fixes issues with unexpected driver return types
65-
2. Adds `offset()` helper method (alias for `set_offset()`) to ActiveEntity
66-
3. Adds `isObjectId()` helper method to MongoUtil for detecting whether an object is a Mongo _id string
67-
68-
69-
**v3.2.0.1**
70-
71-
1. Fixes issues with module load/unload connection operations
72-
2. Adds GridFS operational support
73-
3. Adds GridFS FileEntity model
74-
4. Fixes issues with `_id` queries not being typed appropriately
75-
5. Fixes error when attempting to truncate a collection
76-
77-
**v3.2.0.0**
78-
79-
1. Updates MongoDB Java driver to version 3.2.0
80-
2. Adds support for readConcern configuration option
81-
82-
**v3.1.0.4:**
83-
84-
1. Adds validation methods for entities and support for new property `ForceValidation`, which will prevent saving of documents which do not validate
85-
2. Adds auto-normalization capabilities for schema properties. When attributes are configured, schema will auto-normalize when set() and populate() methods are called.
86-
3. Implements full support for component accessors on all schema properties. Var safe accessor closures are generated to allow recursion through an underscore delimiter (e.g. `getFirstLevel_SecondLevel()` to retrieve `getDocument().FirstLevel.SecondLevel`)
87-
4. Fixes native CFML data types not being sanitized on deeply nested structs and arrays.
88-
5. Add getDocument() and asStruct() utility methods, which can be used on unloaded and unloaded entities.
89-
6. Adds append() and prepend() functions to assit in managing document schema arrays.
90-
7. Fixes issues with property maps not being defined correctly and correct casting of boolean property defaults.
91-
8. Adds MongoIndexer singleton to delegate index management away from Entity instances.
92-
93-
**v3.1.0.3:**
94-
95-
1. Fixes issue with connections not being pooled accurately and adds connection closing to module unload
96-
2. Moves module bindings to onLoad() to ensure availability of cbjavaloader module
97-
3. Changes return type of all single record retrievals inserts and updates to native structs and adds auto-stringification of _id (eliminates the need for toString())
98-
4. Ensures version of returned object from findOneAndUpdate/findOneAndReplace operations is the after-save version
99-
100-
**v3.1.0:**
101-
102-
1. Removes Requirement For CFMongoDB Module
103-
2. Adds Requirement for CBJavaloader Module
104-
3. Implements MongoDB 3.0 Driver
105-
4. Implements the ability to use multiple databases
106-
5. Implements the ability to configure databases at the entity level
107-
6. Implements Native Collection Methods for the 3.0 MongoCollection
108-
7. Implements CFML [Aggregation](https://docs.mongodb.org/manual/aggregation/) methods while allowing direct access to native driver methods
109-
8. Implements CFML [Map-Reduce](https://docs.mongodb.org/manual/core/map-reduce/) methods
110-
9. Demonstrates 52% reduction in query execution times and database operations from the previous version
111-
10. Implements handlers for API documentation (/cmbongodb/docs) and Unit Tests (/cbmongodb/tests)
112-
11. Fixes issue with near() GEOSpatial operations on Polygon objects
113-
12. Re-factors Test Suite to Require the Framework Context
114-
13. Adds an asJSON argument to find() and findAll() entity queries
115-
14. Encapsulates all Collection Result queries to provide the following delivery methods: .asResult() - MongoIterable, .asCursor() - MongoIterator, .asArray(), asJSON()
14+
* Updates MongoDb Driver to v4.9.1
15+
* MongoDB v7/8 compatibility
16+
17+
## [v3.11.1.0]
18+
19+
### Changed
20+
* Updates MongoDB driver to v3.11.0
21+
22+
## [v3.5.1.0]
23+
24+
### Changed
25+
* Updates MongoDB driver to v3.5.0
26+
* Fixes an issue with incorrect sort results when using the ActiveEntity order() function
27+
28+
## [v3.2.1.1]
29+
30+
### Changed
31+
* ACF Compatibility Updates
32+
* Cleanup validation conditionals
33+
* Adds the ability to pass an additional match condition on a grouped aggregation - Allows for an additional match clause to limit the grouped results
34+
* Fixes casting errors on loaded entity save
35+
* Ensure entity _id is always cast as a string
36+
* Fixes merge issue with struct merge on population
37+
* Add check for _id in record struct
38+
39+
## [v3.2.1.1]
40+
41+
### Changed
42+
43+
* Syntax corrections
44+
* Reverts auto-eviction to pre-v3.2.0.4 spec to prevent removal of normalized data prior to `populate()`
45+
* Ensures legacy index names, which weren't keyed off of the collection are dropped and re-created using new naming conventions
46+
47+
## [v3.2.1.0]
48+
49+
### Changed
50+
51+
* Updates Mongo Driver to v3.2.1.0
52+
* ACF11 compatibility updates
53+
* Refactors module to use coldbox module skeleton
54+
* Adds automated Travis CI builds and deployments for source and new `cbmongodb-be` slug to Forgebox
55+
56+
## [v3.2.0.4]
57+
58+
### Changed
59+
60+
* Fixes a schema issue where a parent struct is being overwritten by the default container when the child attribute is lower aphabetically
61+
* Fixes an issue with unique validation
62+
* Fixes population issues when passing nested structs
63+
* Fixes issues with nested keys on normalization
64+
* Adds auto-eviction prior to population
65+
* Adds explicit closing to cursor use for single record retrieval
66+
* Changes index naming scheme to prevent different collections from having the same index name hash
67+
* Adds the ability to pass a struct as the first argument to `where()`
68+
69+
## [v3.2.0.3]
70+
71+
### Changed
72+
73+
* Fixes ACF Compatibility Issues
74+
75+
## [v3.2.0.2]
76+
77+
### Changed
78+
79+
* Fixes issues with unexpected driver return types
80+
* Adds `offset()` helper method (alias for `set_offset()`) to ActiveEntity
81+
* Adds `isObjectId()` helper method to MongoUtil for detecting whether an object is a Mongo _id string
82+
83+
84+
## [v3.2.0.1]
85+
86+
### Changed
87+
88+
* Fixes issues with module load/unload connection operations
89+
* Adds GridFS operational support
90+
* Adds GridFS FileEntity model
91+
* Fixes issues with `_id` queries not being typed appropriately
92+
* Fixes error when attempting to truncate a collection
93+
94+
## [v3.2.0.0]
95+
96+
### Changed
97+
98+
* Updates MongoDB Java driver to version 3.2.0
99+
* Adds support for readConcern configuration option
100+
101+
## [v3.1.0.4:]
102+
103+
### Changed
104+
105+
* Adds validation methods for entities and support for new property `ForceValidation`, which will prevent saving of documents which do not validate
106+
* Adds auto-normalization capabilities for schema properties. When attributes are configured, schema will auto-normalize when set() and populate() methods are called.
107+
* Implements full support for component accessors on all schema properties. Var safe accessor closures are generated to allow recursion through an underscore delimiter (e.g. `getFirstLevel_SecondLevel()` to retrieve `getDocument().FirstLevel.SecondLevel`)
108+
* Fixes native CFML data types not being sanitized on deeply nested structs and arrays.
109+
* Add getDocument() and asStruct() utility methods, which can be used on unloaded and unloaded entities.
110+
* Adds append() and prepend() functions to assit in managing document schema arrays.
111+
* Fixes issues with property maps not being defined correctly and correct casting of boolean property defaults.
112+
* Adds MongoIndexer singleton to delegate index management away from Entity instances.
113+
114+
## [v3.1.0.3:]
115+
116+
### Changed
117+
118+
* Fixes issue with connections not being pooled accurately and adds connection closing to module unload
119+
* Moves module bindings to onLoad() to ensure availability of cbjavaloader module
120+
* Changes return type of all single record retrievals inserts and updates to native structs and adds auto-stringification of _id (eliminates the need for toString())
121+
* Ensures version of returned object from findOneAndUpdate/findOneAndReplace operations is the after-save version
122+
123+
## [v3.1.0:]
124+
125+
### Changed
126+
127+
* Removes Requirement For CFMongoDB Module
128+
* Adds Requirement for CBJavaloader Module
129+
* Implements MongoDB 3.0 Driver
130+
* Implements the ability to use multiple databases
131+
* Implements the ability to configure databases at the entity level
132+
* Implements Native Collection Methods for the 3.0 MongoCollection
133+
* Implements CFML [Aggregation](https://docs.mongodb.org/manual/aggregation/) methods while allowing direct access to native driver methods
134+
* Implements CFML [Map-Reduce](https://docs.mongodb.org/manual/core/map-reduce/) methods
135+
* Demonstrates 52% reduction in query execution times and database operations from the previous version
136+
* Implements handlers for API documentation (/cmbongodb/docs) and Unit Tests (/cbmongodb/tests)
137+
* Fixes issue with near() GEOSpatial operations on Polygon objects
138+
* Re-factors Test Suite to Require the Framework Context
139+
* Adds an asJSON argument to find() and findAll() entity queries
140+
* Encapsulates all Collection Result queries to provide the following delivery methods: .asResult() - MongoIterable, .asCursor() - MongoIterator, .asArray(), asJSON()

[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"env":{
2929
},
3030
"scripts":{
31-
"onServerInitialInstall":"install bx-compat-cfml --noSave"
31+
"onServerInitialInstall":"install bx-compat-cfml bx-esapi --noSave"
3232
}
3333
}

0 commit comments

Comments
 (0)