What's New?
3.1.7
Correct jQuery link in test runner.
3.1.6
Allow expressions in basic where clauses.
Fix
delete
naming collision.
3.1.5
Add an alias to
with
to QuickBuilder.
3.1.4
Fix a stack overflow on nested relationship checks.
3.1.3
Configured tables (
.from
) are now used for qualifying columns.
3.1.2
Remove unnecessary nesting in compare queries.
3.1.1
3.1.0
3.0.4
Compatibility updates for ColdBox 6
3.0.3
3.0.2
3.0.1
Swap structAppend order for a Lucee bug in mementifier integration.
3.0.0
BREAKING CHANGES
Drop support for Lucee 4.5 and Adobe ColdFusion 11.
Virtual Inheritance (using a
quick
annotation instead of extendingquick.models.BaseEntity
) has been removed. It was hardly used, and removing it allows us to simplify some of the code paths.accessors="true"
is now required on every entity. This is similar to above where requiring it allows us to simplify the codebase immensely. A helpful error message will be thrown ifaccessors="true"
is not present on your entity.The
defaultGrammar
mapping needs to be the full WireBox mapping, including the@qb
, if needed.For instance,
MSSQLGrammar
would becomeMSSQLGrammar@qb
.This will allow for other grammars to be more easily contributed via third party modules.
Some method and parameter names have been changed to support composite keys. The majority of changes will only affect you if you have extended base Quick components. The full list can be found in the Upgrade Guide.
Other Changes
Add error message for defaulting key values.
Add a new QuickBuilder to better handle interop with qb.
Ensure
loadRelationship
doesn't reload existing relationships.Split
reset
intoreset
andresetToNew
methods.Store the original attributes for later resetting.
Use
parameterLimits
to eager load.Use a new entity each time on BaseService.
Apply sql types for columns to
wheres
.Apply global scopes more consistently
Correctly ignore key column when updating.
Fix
hasRelationship
method to only return true for exact matches.Better handling of constrained relationships when eager loading.
Convert aliases when qualifying columns.
Add a better error message if
onMissingMethod
fails.Only retrieve columns for defined attributes.
Cache entity metadata in CacheBox.
Use attribute hash for checking
isDirty
.
2.5.0
2.4.0
Apply custom setters when hydrating from the database.(Reverted in2.5.3
for unintended consequences with things like password hashing.)Improve error messages for not loaded entities.
Return the correct memento with accessors on.
2.3.0
2.2.0
2.1.0
Mapping foreign keys for relationships is now optional
Either entities or primary key values can be passed to relationship persistance methods
Relationships can also be saved by calling
"set" & relationshipName
Last updated
Was this helpful?