Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #34 and 1.3.0 prep #40

Merged
merged 7 commits into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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