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

chore: Prepare for Release 0.14.0 #179

Merged
merged 10 commits into from
May 2, 2024
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.0
- Upgrade dependencies
- Support for Node v20

## 0.13.2
- Fix batch transport keeping process alive
- Fix batch transport stalling on huge errors
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Raygun Limited
Copyright (c) 2024 Raygun Limited

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ curl
All requests use the same authentication methods as the upload call (Basic Authentication and Token Authentication).

### Examples
View a screencast on creating an app with Node.js and Express.js, then hooking up the error handling and sending them at [http://raygun.io/blog/2013/07/video-nodejs-error-handling-with-raygun/](http://raygun.io/blog/2013/07/video-nodejs-error-handling-with-raygun/)
View a screencast on creating an app with Node.js and Express.js, then hooking up the error handling and sending them at [https://raygun.com/blog/2013/07/video-nodejs-error-handling-with-raygun/](https://raygun.com/blog/2013/07/video-nodejs-error-handling-with-raygun/)

### Debug Logging
You can enable logging of debug information from the Raygun client by setting the environment variable `DEBUG=raygun`. The client will then log information about transporting and storing errors, including timing information.
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ export default tseslint.config(
],
// Required to import JS modules
"@typescript-eslint/no-var-requires": "off",
// TODO: Remove ignored rules and fix the code
"no-unreachable": "off",
"no-useless-catch": "off",
}
}
);
15 changes: 12 additions & 3 deletions package.json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to fill in the keywords array with common search terms like 'Error reporting' whilst this exists! Seems like this will help with discovery within the npm registry :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added them, feel free to modify the array as you think!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those key words look great! Thank you

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "raygun",
"description": "Raygun.io package for Node, written in TypeScript",
"version": "0.13.2",
"description": "Raygun package for Node.js, written in TypeScript",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worthwhile to mention bun as well given the traction it seems to get?

"version": "0.14.0",
"homepage": "https://github.com/MindscapeHQ/raygun4node",
"author": {
"name": "MindscapeHQ",
Expand Down Expand Up @@ -68,5 +68,14 @@
"stack-trace": "0.0.10",
"uuid": "^9.0.1"
},
"keywords": []
"keywords": [
"APM",
"crash",
"debug",
"error",
"logging",
"raygun",
"reporting",
"tracking"
]
}
6 changes: 0 additions & 6 deletions test/raygun_express_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ test("reporting express errors", async function (t) {

app.get("/", (req, res) => {
throw new Error("surprise error!");
res.send("response!");
});

app.use(raygunClient.expressHandler);
Expand Down Expand Up @@ -43,8 +42,6 @@ test("batch reporting errors", async function (t) {

try {
await nextBatchRequest({ maxWait: 2000 });
} catch (e) {
throw e;
} finally {
stop();
}
Expand All @@ -69,8 +66,6 @@ test("batch transport discards massive errors", async function (t) {

try {
await nextBatchRequest({ maxWait: 2000 });
} catch (e) {
throw e;
} finally {
stop();
}
Expand Down Expand Up @@ -102,7 +97,6 @@ test("exceptions are propagated by middleware", async function (t) {

app.get("/", (req, res) => {
throw new Error("surprise error!");
res.send("response!");
});

function testErrorHandler(err, req, res, next) {
Expand Down
Loading