Treceți offline cu aplicația Player FM !
Modernize or Die® - CFML News Podcast for August 8th, 2023 - Episode 201
Manage episode 373744763 series 2508132
2023-08-08 Weekly News - Episode 201
Watch the video version on YouTube at https://youtube.com/live/HJHCDA-UbV8?feature=share
Hosts:
- Eric Peterson - Senior Developer at Ortus Solutions
- Daniel Garcia - Senior Developer at Ortus Solutions
Thanks to our Sponsor - Ortus Solutions
The makers of ColdBox, CommandBox, ForgeBox, TestBox and all your favorite box-es out there.
A few ways to say thanks back to Ortus Solutions:
- Like and subscribe to our videos on YouTube.
- Help ORTUS reach for the Stars - Star and Fork our Repos
- Star all of your Github Box Dependencies from CommandBox with https://www.forgebox.io/view/commandbox-github
- Subscribe to our Podcast on your Podcast Apps and leave us a review
- Sign up for a free or paid account on CFCasts, which is releasing new content every week
- BOXLife store: https://www.ortussolutions.com/about-us/shop
- Buy Ortus’s Books
- 102 ColdBox HMVC Quick Tips and Tricks on GumRoad (http://gum.co/coldbox-tips)
- Learn Modern ColdFusion (CFML) in 100+ Minutes - Free online https://modern-cfml.ortusbooks.com/ or buy an EBook or Paper copy https://www.ortussolutions.com/learn/books/coldfusion-in-100-minutes
Patreon Support (Amazing)
We have 40 patreons:
https://www.patreon.com/ortussolutions.
News and Announcements
Passing the Baton: Lucee 5.4 and Hibernate ORM
As of Lucee 5.4.1.8, new Lucee builds will no longer bundle the (Lucee) Hibernate extension. This means that if you rely on Hibernate ORM in your CFML application, you will need to manually bundle the Hibernate extension into your Lucee server. Let's read on for more info.
The News
First, let's start with the official note from the Lucee 5.4.1.8 Stable Release notes (courtesy of Zac Spitzer):
Lucee ORM is no longer being developed or bundled by the Lucee Team, Ortus have forked and taken over the development of ORM for Lucee, see Introducing: The Ortus ORM Extension.
It seems that Lucee has made the decision to 1) trim the Lucee installation size by no longer bundling the Hibernate extension with new Lucee installations, and to 2) halt further development on the Lucee Hibernate extension. It is unclear whether "no longer being developed" is referring to new features only, or whether that includes bug fixes and security patches as well.
This news means that Micha and the LAS team can focus on the Lucee server platform, bringing you speed and stability, while Ortus provides the Hibernate integration for a powerful database ORM layer.
https://www.ortussolutions.com/blog/passing-the-baton-lucee-6-and-hibernate-orm
New Releases and Updates
ColdBox v7.1.0
ColdBox 7.1 introduces several new features that expand the capabilities of the framework and facilitate better development practices:
Scheduled Tasks Debugging
You can now add a debug argument to your task definitions, and your console will add tons of debugging for your tasks:
`task( name : "My Task", debug : true )`
toRedirectTo() Matcher
You can now use this matcher to test relocations in a nice fluent expectation:
`expect( event ).toRedirectTo( "main.index" )`
REST on{errorType}Exception() Convention
Thanks to our very own Gavin Pickin you can now create exception handlers in your REST Handlers that follow the on{type}Exception() convention and you can listen to specific error type exceptions:
`function onTypeMismatchException( event, rc, prc )`
https://www.ortussolutions.com/blog/coldbox-710-released
TestBox v5.2.0 and v5.3.0
v5.2.0
New Features
Faster Performance with Updated MixerUtil
TESTBOX-375
Introduces enhancements to the MixerUtil module, resulting in faster performance during dynamic mixins and enhancing the flexibility of your test suites.
More Control with bundlesPattern in TestBox Init
TESTBOX-376
Adds the bundlesPattern parameter to testbox.system.TestBox's init method. This new addition gives you greater control over defining the pattern for your test bundles, making test organization a breeze.
Introducing TestBox Modules
TESTBOX-377
Brings a game-changing feature to TestBox - Modules support! Now you can create and utilize modules to extend TestBox's capabilities, opening up endless possibilities for tailored testing workflows. Check out our docs: https://testbox.ortusbooks.com/in-depth/modules
Bug Fixes
Query Compatibility in Expectation
TESTBOX-346
Addresses an issue where using expect(sut).toBeInstanceOf("something")) with a query could cause unexpected behavior. This has been resolved, ensuring a smoother testing experience with query objects.
Improved cbstreams Functionality
TESTBOX-374
Fixes issues related to cbstreams outside of ColdBox, ensuring seamless functionality in various environments.
Improvements
Enhanced toBeInstanceOf() Handling
TESTBOX-20
Improves the handling of toBeInstanceOf() expectations for Java classes, making it even easier to write precise and robust tests for Java objects.
v5.3.0
New Features
toBeIn() and toBeInWithCase() Expectations
TESTBOX-379
These new expectations allow you to verify the presence of a needle within a string or an array target. With the toBeIn() expectation, you can easily check if the expected needle exists in the target. Additionally, toBeInWithCase() performs a case-sensitive check for the needle in the target. These powerful expectations enhance your testing capabilities and streamline the validation of data within your tests.
New Matchers and Assertions for String Start
TESTBOX-380
With these new matchers and assertions, namely toStartWith(), toStartWithCase(), startsWith(), and startsWithCase(), you can validate whether a string begins with an expected prefix. These matchers come with their appropriate negations, allowing you to easily test and verify the starting points of strings in your application.
New Matchers and Assertions for String End
TESTBOX-381
TestBox v5.3 introduces powerful matchers for checking the end of strings. The new matchers include toEndWith(), toEndWithCase(), endsWith(), and endsWithCase(). These matchers enable you to confirm the presence of an expected suffix in a given string, making it convenient to test the endings of strings during your test suite executions.
Bug Fixes
onSpecError suiteSpecs Correction
TESTBOX-378
In previous versions, there was a minor issue with onSpecError, where the suiteSpecs attribute was mistakenly referred to as suiteStats. With TestBox v5.3, we have fixed this bug, and the attribute is now correctly recognized as suiteSpecs. This ensures that error reporting and handling in your test suites function as expected, providing you with accurate and helpful feedback during testing.
224 episoade
Manage episode 373744763 series 2508132
2023-08-08 Weekly News - Episode 201
Watch the video version on YouTube at https://youtube.com/live/HJHCDA-UbV8?feature=share
Hosts:
- Eric Peterson - Senior Developer at Ortus Solutions
- Daniel Garcia - Senior Developer at Ortus Solutions
Thanks to our Sponsor - Ortus Solutions
The makers of ColdBox, CommandBox, ForgeBox, TestBox and all your favorite box-es out there.
A few ways to say thanks back to Ortus Solutions:
- Like and subscribe to our videos on YouTube.
- Help ORTUS reach for the Stars - Star and Fork our Repos
- Star all of your Github Box Dependencies from CommandBox with https://www.forgebox.io/view/commandbox-github
- Subscribe to our Podcast on your Podcast Apps and leave us a review
- Sign up for a free or paid account on CFCasts, which is releasing new content every week
- BOXLife store: https://www.ortussolutions.com/about-us/shop
- Buy Ortus’s Books
- 102 ColdBox HMVC Quick Tips and Tricks on GumRoad (http://gum.co/coldbox-tips)
- Learn Modern ColdFusion (CFML) in 100+ Minutes - Free online https://modern-cfml.ortusbooks.com/ or buy an EBook or Paper copy https://www.ortussolutions.com/learn/books/coldfusion-in-100-minutes
Patreon Support (Amazing)
We have 40 patreons:
https://www.patreon.com/ortussolutions.
News and Announcements
Passing the Baton: Lucee 5.4 and Hibernate ORM
As of Lucee 5.4.1.8, new Lucee builds will no longer bundle the (Lucee) Hibernate extension. This means that if you rely on Hibernate ORM in your CFML application, you will need to manually bundle the Hibernate extension into your Lucee server. Let's read on for more info.
The News
First, let's start with the official note from the Lucee 5.4.1.8 Stable Release notes (courtesy of Zac Spitzer):
Lucee ORM is no longer being developed or bundled by the Lucee Team, Ortus have forked and taken over the development of ORM for Lucee, see Introducing: The Ortus ORM Extension.
It seems that Lucee has made the decision to 1) trim the Lucee installation size by no longer bundling the Hibernate extension with new Lucee installations, and to 2) halt further development on the Lucee Hibernate extension. It is unclear whether "no longer being developed" is referring to new features only, or whether that includes bug fixes and security patches as well.
This news means that Micha and the LAS team can focus on the Lucee server platform, bringing you speed and stability, while Ortus provides the Hibernate integration for a powerful database ORM layer.
https://www.ortussolutions.com/blog/passing-the-baton-lucee-6-and-hibernate-orm
New Releases and Updates
ColdBox v7.1.0
ColdBox 7.1 introduces several new features that expand the capabilities of the framework and facilitate better development practices:
Scheduled Tasks Debugging
You can now add a debug argument to your task definitions, and your console will add tons of debugging for your tasks:
`task( name : "My Task", debug : true )`
toRedirectTo() Matcher
You can now use this matcher to test relocations in a nice fluent expectation:
`expect( event ).toRedirectTo( "main.index" )`
REST on{errorType}Exception() Convention
Thanks to our very own Gavin Pickin you can now create exception handlers in your REST Handlers that follow the on{type}Exception() convention and you can listen to specific error type exceptions:
`function onTypeMismatchException( event, rc, prc )`
https://www.ortussolutions.com/blog/coldbox-710-released
TestBox v5.2.0 and v5.3.0
v5.2.0
New Features
Faster Performance with Updated MixerUtil
TESTBOX-375
Introduces enhancements to the MixerUtil module, resulting in faster performance during dynamic mixins and enhancing the flexibility of your test suites.
More Control with bundlesPattern in TestBox Init
TESTBOX-376
Adds the bundlesPattern parameter to testbox.system.TestBox's init method. This new addition gives you greater control over defining the pattern for your test bundles, making test organization a breeze.
Introducing TestBox Modules
TESTBOX-377
Brings a game-changing feature to TestBox - Modules support! Now you can create and utilize modules to extend TestBox's capabilities, opening up endless possibilities for tailored testing workflows. Check out our docs: https://testbox.ortusbooks.com/in-depth/modules
Bug Fixes
Query Compatibility in Expectation
TESTBOX-346
Addresses an issue where using expect(sut).toBeInstanceOf("something")) with a query could cause unexpected behavior. This has been resolved, ensuring a smoother testing experience with query objects.
Improved cbstreams Functionality
TESTBOX-374
Fixes issues related to cbstreams outside of ColdBox, ensuring seamless functionality in various environments.
Improvements
Enhanced toBeInstanceOf() Handling
TESTBOX-20
Improves the handling of toBeInstanceOf() expectations for Java classes, making it even easier to write precise and robust tests for Java objects.
v5.3.0
New Features
toBeIn() and toBeInWithCase() Expectations
TESTBOX-379
These new expectations allow you to verify the presence of a needle within a string or an array target. With the toBeIn() expectation, you can easily check if the expected needle exists in the target. Additionally, toBeInWithCase() performs a case-sensitive check for the needle in the target. These powerful expectations enhance your testing capabilities and streamline the validation of data within your tests.
New Matchers and Assertions for String Start
TESTBOX-380
With these new matchers and assertions, namely toStartWith(), toStartWithCase(), startsWith(), and startsWithCase(), you can validate whether a string begins with an expected prefix. These matchers come with their appropriate negations, allowing you to easily test and verify the starting points of strings in your application.
New Matchers and Assertions for String End
TESTBOX-381
TestBox v5.3 introduces powerful matchers for checking the end of strings. The new matchers include toEndWith(), toEndWithCase(), endsWith(), and endsWithCase(). These matchers enable you to confirm the presence of an expected suffix in a given string, making it convenient to test the endings of strings during your test suite executions.
Bug Fixes
onSpecError suiteSpecs Correction
TESTBOX-378
In previous versions, there was a minor issue with onSpecError, where the suiteSpecs attribute was mistakenly referred to as suiteStats. With TestBox v5.3, we have fixed this bug, and the attribute is now correctly recognized as suiteSpecs. This ensures that error reporting and handling in your test suites function as expected, providing you with accurate and helpful feedback during testing.
224 episoade
Todos os episódios
×Bun venit la Player FM!
Player FM scanează web-ul pentru podcast-uri de înaltă calitate pentru a vă putea bucura acum. Este cea mai bună aplicație pentru podcast și funcționează pe Android, iPhone și pe web. Înscrieți-vă pentru a sincroniza abonamentele pe toate dispozitivele.