An open source ColdFusion framework inspired by Ruby on Rails.
createMigratorTable
) for creating migrations table - #796 [Adam Chapman, Per Djurner]belongsTo()
- #618 [Andy Bellenie, Chris Peters]allowCorsRequests
) for allowing CORS requests to go through - #623 [Chris Peters, David Belanger, Per Djurner, Tom King]buttonTo()
- #808 [Per Djurner, Tom King]buttonTo()
- #798 [Per Djurner]usesLayout()
in Controller.cfc
does not affect layout of internal CFWheels pages - #793 [Adam Chapman, Per Djurner]disableEngineCheck
setting).disableEngineCheck
setting).partial
and query
arguments to be set (if using a query)select=false
to property()
to not include a calculated property by default in SELECT clauses - #122 [Adam Chapman, Per Djurner]returnIncludedAs
and returnIncluded
arguments to properties()
for returning nested properties - [Adam Chapman]updateProperty()
with dynamic argument, e.g. updateProperty(firstName="Per")
- [Per Djurner]update(transaction=false)
- #654 [Adam Chapman]isPersisted()
and propertyIsBlank()
methods - #559 [Chris Peters]timeStampMode
setting ("utc"
, "local"
or "epoch"
) for the createdAt
and updatedAt
columns - [Andy Bellenie]handle
argument to finders now set the variable name for the query so it's easier to find in the debug output - [Per Djurner]where
argument - #483 [Per Djurner]lowerCaseTableNames
, to always lower case table names in SQL statements - [Per Djurner]flashMessages()
are now in default layout.cfm - #650 [Tom King]textField()
, passwordField()
and hiddenField()
- #633 [Per Djurner, Chris Peters]method
argument in buttonTo()
helper - #761 [Adam Chapman]ram://
resources to sendFile()
- #566 [Tom King]sendMail()
so that it can return the text and/or html content of the email - #122 [Adam Chapman]renderWith()
can now set http status codes in header with the status
argument - #549 [Tom King]humanize()
keep spaces in input - #663 [Per Djurner, Chris Peters]validatePresenceOf()
with default on update - [Andy Bellenie]box.json
files and are displayed in debug area #68 [Tom King]box.json
now available in application.wheels.pluginMeta
scope #68 [Tom King]http_x_forwarded_for
when doing maintenance mode exclusions - [Per Djurner]urlrewrite.xml
to support Tuckey URL rewriting with Commandbox #649 - [Tom King]beforeAll()
, afterAll()
, packageSetup()
, packageTeardown()
methods to test framework #651 - [Adam Chapman]errorEmailFromAddress
and errorEmailToAddress
config settings - #95 [Andy Bellenie, Tony Petruzzi, Per Djurner]assert()
in tests - [Per Djurner]/app/
mapping pointing to the root of the application - [Per Djurner]processRequest()
function that simplifies testing controllers - [Per Djurner]design
mode - [Per Djurner]cacheRoutes
setting - [Per Djurner]cacheFileChecking
and cacheImages
settings are now turned off in development mode - [Per Djurner]includeErrorInEmailSubject
setting - [Per Djurner]allowEnvironmentSwitchViaUrl
- #766 [Tom King]events/functions.cfm
file has been moved to global/functions.cfm
.models/Model.cfc
file should extend wheels.Model
instead of Wheels
(models/Wheels.cfc
can be deleted).controllers/Controller.cfc
file should extend wheels.Controller
instead of Wheels
(controllers/Wheels.cfc
can be deleted).init
function of controllers and models should now be named config
instead.modelRequireInit
has been renamed to modelRequireConfig
.cacheControllerInitialization
has been renamed to cacheControllerConfig
.cacheModelInitialization
has been renamed to cacheModelConfig
.clearServerCache
has been renamed to clearTemplateCache
.updateProperties()
method has been removed, use update()
instead.mapper()
.confirm
and disable
have been removed from the link and form helper functions (use the JS Confirm and JS Disable plugins to reinstate the old behaviour).createdAt
, updatedAt
) is now in UTC by default (set the global timeStampMode
setting to local
to reinstate the old behaviour).where="x=''"
becomes where="x IS NULL"
).<img src="x">
instead of <img src="x" />
).encode
argument to mailTo
now encodes tag content and attributes instead of outputting JavaScript.field-with-errors
instead of fieldWithErrors
).renderPage
function has been renamed to renderView
.include
argument on finders.findOrCreateBy[Property]()
, findAllKeys()
, findFirst()
and findLast()
finder methods.GROUP BY
in sum()
, average()
etc.exists()
check for any record when key
and where
is not passed in.clearChangeInformation()
for clearing knowledge of object changes.text
argument in linkTo()
.styleSheetLinkTag()
and JavaScriptIncludeTag()
to reference files starting from the root.monthNames
and monthAbbreviations
arguments to form helpers for easy localization.appendToKey
to caches()
to cache content separately.sendEmail()
.x="string"
or x="integer"
to renderWith()
.validate
property that was incorrectly set when calling create()
.parameterize
in exists()
.AS
when it's in the SQL for a calculated property.includeSoftDeletes
argument correctly.development
the default environment mode.if
argument on validation helpers.class
argument on association initialization methods.lib
folder.h()
function, use XMLFormat()
instead.