Skip to content

Commit

Permalink
Fixing #34 and 1.3.0 prep (#40)
Browse files Browse the repository at this point in the history
* Updated Readme

* Added location property to box.json to point to MindscapeHQ repo.

* Additional minor changes to stacktrace handling. Request URL now combines script name and path info from CGI.

* Fixed #34 and release of 1.3.0

* Cosmetic fixes and version number in box
  • Loading branch information
TheRealAgentK authored Jul 21, 2021
1 parent 7869da9 commit b969861
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ raygun4cfml

Raygun.io API client for CFML.

Current Version: 1.2.1 (Jun 16 2021)
Current Version: 1.3.0 (July 21 2021)

Dependencies:

Expand Down
4 changes: 2 additions & 2 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"raygun4cfml",
"version":"1.2.1",
"location":"MindscapeHQ/raygun4cfml#1.2.1",
"version":"1.3.0",
"location":"MindscapeHQ/raygun4cfml#1.3.0",
"author":"Kai Koenig <[email protected]>",
"homepage":"https://github.com/MindscapeHQ/raygun4cfml/",
"documentation":"https://github.com/MindscapeHQ/raygun4cfml/blob/master/README.md",
Expand Down
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
History
=======

1.3.0 (Jul 21 2021)

- Raygun4CFML is now tracking heap memory in the `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)

- Minor changes to stacktrace handling
- Additional of Path Info to Request URL data

1.2.0 (Jun 8 2021)

- Support for version (#34)
- Support for version (#33)
- Fixed stack traces to work better with Lucee and ACF 2021

1.1.0 (Jan 2 2016)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ limitations under the License.
var runtime = createObject("java", "java.lang.System");
var props = runtime.getProperties();
var mf = createObject("java", "java.lang.management.ManagementFactory");
var osbean = mf.getOperatingSystemMXBean();
var heapMem = mf.getMemoryMXBean().getHeapMemoryUsage();

returnContent["availableVirtualMemory"] = heapMem.getCommitted()-heapMem.getUsed();
returnContent["totalVirtualMemory"] = heapMem.getCommitted();
returnContent["architecture"] = props["os.arch"];
returnContent["availablePhysicalMemory"] = osbean.getFreePhysicalMemorySize();
returnContent["osVersion"] = props["os.version"];
returnContent["packageVersion"] = props["java.vm.vendor"] & "|" & props["java.runtime.version"] & "|" & props["java.vm.name"];
returnContent["totalPhysicalMemory"] = osbean.getTotalPhysicalMemorySize();
returnContent["platform"] = props["os.name"];

return returnContent;
Expand Down

0 comments on commit b969861

Please sign in to comment.