# Lucee Changelog, new Tags & Functions, Arguments and Attributes

**URL:** <https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998>\
**Category:** documentation\
**Tags:** lucee-6\
**Created:** [August 30, 2022, 10:44am UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998 "2022-08-30T10:44:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [August 30, 2022, 10:44am UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/1 "2022-08-30T10:44:40Z")

</div>

There’s a new page on docs which lists all the new stuff we have added to Lucee

> **[Lucee Change Log, new Tags & Functions, Arguments and Attributes :: Lucee...](https://docs.lucee.org/reference/changelog.html)**
>
> Here is a list of all the new Tags and Functions, Attributes and Arguments that have been added to Lucee over time

which builds on the work I did here

[https://lucee.daemonite.io/t/docs-now-show-introduced-versions-for-arguments-and-attributes/10869](https://lucee.daemonite.io/t/docs-now-show-introduced-versions-for-arguments-and-attributes/10869)

Since these changes, we will be generating docs from Lucee 6.0 very soon, which also has a lot more metadata about stuff introduced in 5 as well.

Sneak Preview 🙂

- 5.0.0.0
  - BundleInfo()
  - CacheRegionExists()
  - CacheRegionNew()
  - CacheRegionRemove()
  - EncodeForCSS( canonicalize=“boolean”)
  - EncodeForDN( canonicalize=“boolean”)
  - EncodeForHTML( canonicalize=“boolean”)
  - EncodeForHTMLAttribute( canonicalize=“boolean”)
  - EncodeForJavaScript( canonicalize=“boolean”)
  - EncodeForLDAP( canonicalize=“boolean”)
  - EncodeForSQL( canonicalize=“boolean”)
  - EncodeForURL( canonicalize=“boolean”)
  - EncodeForXML( canonicalize=“boolean”)
  - EncodeForXMLAttribute( canonicalize=“boolean”)
  - EncodeForXPath( canonicalize=“boolean”)
  - ESAPIEncode( canonicalize=“boolean”)
  - FileInfo()
  - GeneratePBKDFkey()
  - GetLocaleInfo()
  - GetTagData( dialect=“string”)
  - GetTimeZoneInfo( timezone=“timezone”)
  - GetTimeZoneInfo( locale=“locale”)
  - IsCustomFunction( type=“string”)
  - IsInThread()
  - ManifestRead()
  - MonthShortAsString( locale=“locale”)
  - Render()
  - StoreGetMetadata()
  - StoreSetMetadata()
  - webservicenew()
  - `<cfapplication cachehttp="string">`
  - `<cfapplication cachefile="string">`
  - `<cfapplication cachewebservice="string">`
  - `<cffile cachedwithin="object">`
  - `<cfhttp clientcert="string">`
  - `<cfhttp clientcertpassword="string">`
  - `<cfhttp cachedwithin="object">`
  - `<cfstatic>`

- 5.3.1.7
  - GetContextInfo()

- 5.3.1.43
  - NewLine( includeCROnWindows=“boolean”)

- 5.3.3.37
  - `<cfapplication javasettings="struct">`

- 5.3.4.22
  - `<cfsetting info="string">`
  - `<cfsetting listen="boolean">`

- 5.3.4.34
  - QueryGetCellByIndex()
  - QueryRowByIndex()
  - QueryRowDataByIndex()

- 5.3.4.38
  - QueryClose()

- 5.3.4.51
  - `<cfapplication xmlfeatures="struct">`

- 5.3.5.17
  - ListAppend( includeEmptyFields=“boolean”)
  - ListPrepend( includeEmptyFields=“boolean”)

- 5.3.5.22
  - findlast()
  - findlastnocase()

- 5.3.6.19
  - ThreadData()

- 5.3.7.17
  - listqualifiedtoarray()

- 5.3.7.33
  - `<cfcookie samesite="string">`

- 5.3.8.1
  - `<cfexecute directory="string">`

- 5.3.8.18
  - generateArgon2Hash()

- 5.3.8.19
  - `<cfapplication searchresults="boolean">`

- 5.3.8.23
  - REFind( multiline=“boolean”)
  - REFindNoCase( multiline=“boolean”)
  - REMatch( multiline=“boolean”)
  - REMatchNoCase( multiline=“boolean”)
  - `<cfapplication regex="any">`

- 5.3.8.25
  - `<cfqueryparam charset="string">`

- 5.3.8.43
  - argon2checkhash()

- 5.3.8.85
  - QueryRowData( format=“string”)

- 5.3.8.104
  - ArrayPop()
  - ArrayPush()
  - ArrayShift()
  - ArrayUnShift()

- 5.3.8.107
  - `<cffile allowedextensions="any">`
  - `<cffile blockedextensions="any">`

- 5.3.8.110
  - clearTimeZone()

- 5.3.8.117
  - StructValueArray()

- 5.3.8.120
  - QuerySetRow()

- 5.3.8.127
  - `<cffeed columnmap="struct">`

- 5.3.8.130
  - CallStackGet( offset=“number”)
  - CallStackGet( maxFrames=“number”)

- 5.3.8.135
  - XmlParse( lenient=“boolean”)
  - `<cfxml lenient="boolean">`

- 5.3.8.149
  - applicationPathCacheClear()

- 5.3.9.4
  - iswithintransaction()

- 5.3.9.6
  - configimport()

- 5.3.9.40
  - ExtensionList( imageObject=“boolean”)

- 5.3.9.72
  - GetTempFile( extension=“string”)

- 6.0.0.12
  - FileUpload( allowedExtensions=“any”)
  - FileUpload( blockedExtensions=“any”)
  - FileUploadAll( allowedExtensions=“any”)
  - FileUploadAll( blockedExtensions=“any”)

- 6.0.0.15
  - queryappend()
  - queryclear()
  - queryprepend()

- 6.0.0.16
  - queryinsertat()

- 6.0.0.17
  - QueryRowSwap()

- 6.0.0.18
  - queryreverse()

- 6.0.0.19
  - arraysplice()

- 6.0.0.57
  - queryrenamecolumn()

- 6.0.0.79
  - ArrayToStruct( valueAsKey=“boolean”)

- 6.0.0.96
  - `<cfhttp pooling="boolean">`

- 6.0.0.98
  - `<cftimer unit="string">`
  - `<cftimer variable="string">`

- 6.0.0.105
  - stringeach()
  - stringevery()
  - stringfilter()
  - stringmap()
  - stringreduce()

- 6.0.0.107
  - StructNew( onMissingKey=“function”)

- 6.0.0.114
  - `<cfapplication precisemath="boolean">`  
\*`<cflocation abort="boolean">`

- 6.0.0.119
  - arrayremoveduplicates()

- 6.0.0.120
  - queryisempty()

- 6.0.0.126
  - stringsome()

- 6.0.0.150
  - markdowntohtml()

- 6.0.0.151
  - directoryinfo()

- 6.0.0.172
  - `<cfschedule useragent="string">`

- 6.0.0.192
  - `<cftimeout>`

- 6.0.0.208
  - isfileobject()

- 6.0.0.210
  - extensioninfo()

---

<div class="post-metadata">

**Author:** ![michaelborn\_me](https://dev.lucee.org/user_avatar/dev.lucee.org/michaelborn_me/32/2179_2.png) [@michaelborn\_me](https://dev.lucee.org/u/michaelborn_me)\
**Post date:** [August 30, 2022, 5:08pm UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/2 "2022-08-30T17:08:04Z")

</div>

There’s a lot of great new features here! I had a couple thoughts about some of them… let me know if I should move this to a separate thread.

## this.xmlFeatures = {}

Why was this called `this.xmlFeatures`? Why not `this.xmlSettings`, to match `this.ormSettings` and `this.javaSettings`?

I see no naming discussion here:

> **[Jira](https://luceeserver.atlassian.net/browse/LDEV-1676)**

## isWithinTransaction()

This will only detect a `transaction{}` construct created in Lucee, from what I see of [the source code](https://github.com/lucee/Lucee/blob/d70c35f53ec648e56a9d852c76c1c5255674a3f0/core/src/main/java/lucee/runtime/functions/query/IsWithinTransaction.java#L13). Is there any plan to add support for detecting native Hibernate transactions?

Otherwise, this method is useless for native Hibernate transactions created via `getOrmSession().beginTransaction()` method. (Such as when working around [LDEV-4017](https://luceeserver.atlassian.net/browse/LDEV-4017), or using a transaction wrapper in CBORM).

## CallStackGet

Maybe I should start a separate post on this one… what about a `filter="NONE"` argument to disable Lucee’s filtering of `.java` stack trace points from the result?

In other words: `CallStackGet()` would be more useful for debugging if it included _all_ items from the stack trace. As it is, it’s a crippled method.

---

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [August 30, 2022, 6:02pm UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/3 "2022-08-30T18:02:45Z")

</div>

> [@michaelborn\_me](#):
>
> Why was this called `this.xmlFeatures`

I wasn’t involved and it was a CVE, so it was done privately. we can add an alias and change it for 6, good suggestion, file a bug

> [@michaelborn\_me](#):
>
> isWithinTransaction

More great feedback! File a bug

> [@michaelborn\_me](#):
>
> CallStackGet

Makes sense, start a new thread and we can refine tgis

---

<div class="post-metadata">

**Author:** ![michaelborn\_me](https://dev.lucee.org/user_avatar/dev.lucee.org/michaelborn_me/32/2179_2.png) [@michaelborn\_me](https://dev.lucee.org/u/michaelborn_me)\
**Post date:** [August 30, 2022, 6:06pm UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/4 "2022-08-30T18:06:15Z")

</div>

Thanks, Zac! Will file as noted.

---

<div class="post-metadata">

**Author:** ![andreas](https://dev.lucee.org/user_avatar/dev.lucee.org/andreas/32/3352_2.png) [@andreas](https://dev.lucee.org/u/andreas)\
**Post date:** [September 1, 2022, 9:14pm UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/5 "2022-09-01T21:14:31Z")

</div>

> [@Zackster](#):
>
> markdowntohtml()

Nice one!!!

---

<div class="post-metadata">

**Author:** ![michaelborn\_me](https://dev.lucee.org/user_avatar/dev.lucee.org/michaelborn_me/32/2179_2.png) [@michaelborn\_me](https://dev.lucee.org/u/michaelborn_me)\
**Post date:** [September 2, 2022, 6:31pm UTC](https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998/6 "2022-09-02T18:31:12Z")

</div>

Just for closure:

## XMLFeatures rename / alias to xmlSettings

> **[Jira](https://luceeserver.atlassian.net/browse/LDEV-4184)**

## isWithinTransaction()

> **[Jira](https://luceeserver.atlassian.net/browse/LDEV-4185)**

## CallStackGet

[https://lucee.daemonite.io/t/add-option-to-callstackget-to-return-omitted-java-traces/11013](https://lucee.daemonite.io/t/add-option-to-callstackget-to-return-omitted-java-traces/11013)
