You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improving parsing of Stack Traces, in particular when the first line (error message) itself contain the word <at>
* Adding support for Java stack traces seen in ColdBox async error handling
Copy file name to clipboardExpand all lines: README.md
+39-29Lines changed: 39 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,94 +1,104 @@
1
1
raygun4cfml
2
2
===========
3
3
4
-
Raygun.io API client for CFML.
4
+
Raygun Crash Reporting client for CFML.
5
5
6
-
Current Version: 1.3.1 (July 26 2021)
6
+
Current Version: 1.4.0 (May 24 2022)
7
7
8
8
Dependencies:
9
9
10
10
- Testbox (for running unit and BDD tests only)
11
11
12
12
## Library organisation
13
13
14
-
/src contains the source code. The package structure is nz.co.ventego-creative.co.nz.raygun4cfml but the library's components themselves are independent of the package path. Therefore you can use the library in multiple ways:
14
+
`/src` contains the source code. The package structure is `nz.co.ventego-creative.co.nz.raygun4cfml` but the library's components themselves are independent of the package path. Therefore you can use the library in multiple ways:
15
15
16
-
- Put the content of /src into your webroot and instantiate RaygunClient through something like the following:
16
+
- Put the content of `/src` into your webroot and instantiate `RaygunClient` through something like the following:
- Put the contents of `/src` into any other place of your choice and create a mapping to `/nz` in your server administrator or through code and then use the instantiation code as above.
21
24
22
-
- Put the contents of /src into any other place of your choice and create a mapping to /nz in your server administrator or through code and then use the instantiation code as above.
23
-
24
-
- Put the contents of the raygun4cfml into a place of your choice where your CFML has some sort of a mapping pointing towards and and just instantiate RaygunClient like this:
25
-
25
+
- Put the contents of the `raygun4cfml` directory into a place of your choice where your CFML has some sort of a mapping pointing towards and and just instantiate `RaygunClient` like this:
/samples contains a set of files that show how the library can be used in your code through a global error handler as well as a contributed example for ColdBox 3.6
33
+
`/samples` contains a set of files that show how the library can be used in your code through a global error handler as well as a contributed example for ColdBox 3.6
31
34
32
-
/tests contains manual tests and more samples as well as a structure (but no tests at this stage) for Testbox unit and BDD tests.
35
+
`/tests` contains manual tests and more samples as well as a structure (but no tests at this stage) for Testbox unit and BDD tests.
33
36
34
37
## Getting and Using raygun4cfml
35
38
36
-
Option 1 (preferred):
39
+
### Option 1 (preferred):
37
40
38
41
Use Commandbox and Forgebox to get the library and then follow the ideas outlined in 'Library organisation' for further setup.
Example tag names are 1.1.0, 1.0.2.0, 1.0.1.0 etc. Please check the list of tags on Github. Be aware that if you install any tag from before I introduced support for Commandbox and Forgebox there won't be a box.json file and therefore Commandbox will give you a warning as well as there won't be any dependency management for such an installation of the library.
Example tag names are `1.1.0`, `1.0.2.0`, `1.0.1.0` etc. Please check the list of tags on Github. Be aware that if you install any tag from before I introduced support for Commandbox and Forgebox there won't be a `box.json` file and therefore Commandbox will give you a warning as well as there won't be any dependency management for such an installation of the library.
49
56
50
57
Shortcut for the above:
51
58
52
-
box install MindscapeHQ/raygun4cfml#{tagname}
53
-
59
+
```
60
+
box install MindscapeHQ/raygun4cfml#{tagname}
61
+
```
62
+
54
63
To get the latest from my development repository (be warned, this might contain all sorts of untested code):
55
64
56
-
box install TheRealAgentK/raygun4cfml
65
+
```
66
+
box install TheRealAgentK/raygun4cfml
67
+
```
57
68
58
-
Option 2:
69
+
### Option 2:
59
70
60
71
Fork and clone the repo to your local system. Move the src/test directories into places of your choice and suitable for your system and follow the ideas outlined in 'Library organisation'.
61
72
62
-
Option 3:
73
+
### Option 3:
63
74
64
75
Download a zip file containing the current content of the repo or a release/tag of your choice. Unzip the resulting file. Move the src/test directories into places of your choice and suitable for your system and follow the ideas outlined in 'Library organisation'.
65
76
66
-
####Notes:
77
+
####Notes:
67
78
68
79
(1) Options 2 and 3 will not fulfill any necessary dependencies, you're on your own.
69
80
70
81
## Versions
71
82
72
83
See changelog.md for further information.
73
84
74
-
####Notes:
85
+
## General Notes
75
86
76
-
(1) All releases onwards from 0.5.0.0 will break your code if you've used 0.4 and older before and have used customRequestData. Please continue reading.
87
+
(1) All releases onwards from 0.5.0.0 will break your code if you've used 0.4 and older before and have used `customRequestData`.
77
88
78
-
(2) If you are using the ACF Administrator setting: "Prefix serialized JSON with..." with anything else but the default prefix of "//", the library will not work.
89
+
(2) If you are using the ACF Administrator setting: "Prefix serialized JSON with..." with anything else but the default prefix of `//`, the library will not work.
79
90
80
91
(3) Version 1.1.0 and newer will not work on Adobe ColdFusion 8 and most likely not on Railo 3 (the latter not tested).
81
92
82
-
83
93
## How to contribute
84
94
85
-
The main repository of this project is https://github.com/MindscapeHQ/raygun4cfml. Please fork from there, create a local develop branch and merge changes back to your local master branch to submit a pull request. Even better, get in touch with me on Twitter (@AgentK) or here on Github before you undertake any work so that it can be coordinated with what I'm doing.
95
+
The main repository of this project is https://github.com/MindscapeHQ/raygun4cfml. Please fork from there, create a local develop or feature branch and merge changes back to your local master branch to submit a pull request. Even better, get in touch with me on Twitter (@AgentK) or here on Github before you undertake any work so that it can be coordinated with what I'm doing.
86
96
87
97
Most of the active development happens in my own fork: https://github.com/TheRealAgentK/raygun4cfml - feel free to peek around in there.
88
98
89
99
## License
90
100
91
-
Copyright 2013-2021 Kai Koenig, Ventego Creative Ltd
101
+
Copyright 2013-2022 Kai Koenig, Ventego Creative Ltd
92
102
93
103
Licensed under the Apache License, Version 2.0 (the "License");
94
104
you may not use this file except in compliance with the License.
0 commit comments