BoxLang 🚀 A New JVM Dynamic Language Learn More...
Raygun4CFML is a client library for integrating Raygun's Crash Reporting service with your CFML applications. It enables you to send error reports and crash data to Raygun for tracking and analysis.
Supported Platforms:
Current Version: 2.0.1
2.0.0 was a complete rewrite of the project and is ready-to-use for the 3 major CFML engines and their crash reports.
Please be aware that no testing and work has yet gone into framework-specific crash reports, e.g. a deeper integration with Coldbox HVMC, Fusebox, CF on Wheels etc. This will be added over time in future releases.
Install via CommandBox:
To install the latest version from the master repository, use:
box install raygun4cfml
To install a specific release or tag, use:
box install git://github.com/MindscapeHQ/raygun4cfml.git#{tagname}
Alternatively, you can use:
box install MindscapeHQ/raygun4cfml#{tagname}
Setup:
After installation, follow the setup instructions in the 'Library Usage' section below.
Clone or Download:
Move Files:
src
and/or tests
directories to locations suitable for your system.Dependencies:
The RaygunClient
is the primary component for sending error reports. You can initialize it in several ways depending on your setup:
Webroot Setup:
Place the contents of /src
in your webroot and initialize the RaygunClient
as follows:
raygun = createObject("component", "com.raygun.RaygunClient").init(
apiKey = "YOURAPIKEYHERE"
);
Custom Mapping:
Place the contents of /src
in a directory of your choice and create a mapping to /com
in your server administrator or through code. Them, initialise as suitable for the mapping.
Error Reporting:
Once initialized, use the RaygunClient
to send error reports with the .send()
function. Refer to the /samples
directory for examples.
Testing:
The /tests
directory contains structures for Testbox unit and integration tests. Use these to validate your integration.
For detailed version history, refer to the CHANGELOG.md
file.
Raygun4CFML is not an official Raygun library and is not maintained by Raygun staff.
Contributions are welcome.
Please fork the main repository at https://github.com/MindscapeHQ/raygun4cfml, create a feature branch, and submit a pull request. Coordination via X (@AgentK) or GitHub (https://github.com/TheRealAgentK/) is encouraged before starting any work.
For more active development, visit my development fork at https://github.com/TheRealAgentK/raygun4cfml.
Install this module and follow the guidelines in README.me as well as in /samples.
2.1+ Plan
2.0.2 Plan
legacy
directory2.0.1 (Jan 13 2025)
2.0.0 (Jan 12 2025)
2.0.0-alpha (January 4 2025)
TagContext
. The latter is now in the exception's data section, where available.cause
field).RaygunContentFilter
), user identifier (RaygunIdentifierMessage
) and user custom data (RaygunUserCustomData
) are now using the builder-pattern approach to be setup for RaygunClient
.RaygunSettings
.ProductCheck
and RaygunInternalTools
are now static components./samples
have been reworked./tests/specs
.run-script format
was added for Commandbox.1.7.0 (November 14 2024)
1.6.0 (November 23 2023)
1.5.0 (November 14 2022)
1.4.0 (May 24 2022)
1.3.1 (Jul 26 2021)
1.3.0 (Jul 21 2021)
availableVirtualMemory
and availableFreeMemory
fields and not physical memory anymore. Fixed accessibility issues of internal classes post-Java 8 and the library should now be working fine across all JDKs.1.2.1 (Jun 16 2021)
1.2.0 (Jun 8 2021)
1.1.0 (Jan 2 2016)
1.0.2.0 (Nov 14 2015):
1.0.1.0 (Nov 14 2015):
1.0.0.1 (Jul 1 2015):
1.0.0.0 (Jan 3 2015):
0.5.0.0 (Dec 31 2014): merged and edited PR/ISSUE 15/16 and fixed a CF 9 issue. Please be aware that samples have changed due to a new way of passing in custom data.
0.4.0.0alpha (Jan 10 2014): Various small fixes, merged and edited PR10
0.3.4.0alpha (May 1 2013): Various bugfixes and improvements, fix for queryString, machineName is now server's IP Address and more
0.3.0.0alpha (Apr 10 2013): Switched Stracktrace with TagContext data to make it more relevant for Dashboard display of CFML errors, implemented support for the session and param structures within request, updated sample files to reflect the changes
0.2.2.0alpha (Mar 29 2013): Various fixes, better support for cfcatch (Expression) vs error structs
0.2.1.1alpha (Mar 28 2013): Merged PR from possum888, added sample for using RG in a global errorhandler or via cferror
0.2.1.0alpha (Mar 22 2013): Added support for POST rawData, CFML Form-Scope and implemented a scope-based content filtering allowing to replace sensitive scope data before it is being sent to Raygun.io
0.1.0.0alpha (Feb 15 2013): Initial Release, tested on ACF 9.
$
box install raygun4cfml