Skip to content

Commit

Permalink
[#200] release v0.8.6
Browse files Browse the repository at this point in the history
* Remove no needs resolutions for semver
* Remove no needed files in npm published package
* Fix package.json error
* Fix grpc _pb MODULE_NOT_FOUND error by .npmrc
feelform committed Jul 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 86e758b commit e777966
Showing 8 changed files with 2,073 additions and 25 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -11,6 +11,10 @@ coverage
checkstyle-results.xml
.github
.vscode
.idea
.gitmodules
checkstyle-result.xml
grpc/grpc-idl/README.md

# gRPC
*.proto
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changelog
All notable changes to Pinpoint Node.js agent will be documented in this file.

## [0.8.6] - 2024-07-17
### Changed
- [[#193](https://github.com/pinpoint-apm/pinpoint-node-agent/issues/193)] Update gRPC version v1.11.0 from v1.2.3
### Fixed
- [[#200](https://github.com/pinpoint-apm/pinpoint-node-agent/issues/200)] Fix package.json error
### Removed
- [[#200](https://github.com/pinpoint-apm/pinpoint-node-agent/issues/200)] Remove no needs resolutions for semver
- [[#200](https://github.com/pinpoint-apm/pinpoint-node-agent/issues/200)] Remove no needed files in npm published package
- [[#195](https://github.com/pinpoint-apm/pinpoint-node-agent/issues/195)] Remove no used modules mysql, mysql2 syntax errors below v0.9

## [0.8.5] - 2024-05-13
### Fixed
- #190 Remove JSON.stringify on Info Logger
1 change: 0 additions & 1 deletion demo/express/.gitignore
Original file line number Diff line number Diff line change
@@ -4,5 +4,4 @@ mongoconfig
mongo-entrypoint
.vscode
.node-version
package-lock.json
*.lock
2,033 changes: 2,033 additions & 0 deletions demo/express/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/express/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"http-errors": "~1.6.3",
"ioredis": "^4.17.3",
"morgan": "~1.9.1",
"pinpoint-node-agent": "^0.8.5-next.2",
"pinpoint-node-agent": "^0.8.6-next.3",
"pug": "^3.0.2"
}
}
37 changes: 21 additions & 16 deletions demo/express/routes/index.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
var express = require('express');
var router = express.Router();
const axios = require('axios');

const IORedis = require('ioredis');
const ioRedis = new IORedis(6379);
var express = require('express')
var router = express.Router()
const axios = require('axios')
const IORedis = require('ioredis')
const ioRedis = new IORedis(6379)
const http = require('http')
const https = require('https')

let callcount = 0
/* GET home page. */
router.get('/', function(req, res, next) {
router.get('/', function (req, res, next) {

ioRedis.set("keyio", "value", function(error) {
ioRedis.set("keyio", "value", function (error) {
console.log(`${callcount} ioredis set `)
})
ioRedis.get("keyio", function(error, data) {
ioRedis.get("keyio", function (error, data) {
console.log(`${callcount} ioredis data ${data}`)
})

axios.get(`https://naver.com`)
.then(function (response) {
console.log(`response ${response}`)
res.render('index', { title: 'Express' });
})
});
axios.get(`https://naver.com`, {
timeout: 1000,
httpAgent: new http.Agent({ keepAlive: false }),
httpsAgent: new https.Agent({ keepAlive: false }),
})
.then(function (response) {
console.log(`response ${response}`)
res.render('index', { title: 'Express' })
})
})

module.exports = router;
module.exports = router
4 changes: 2 additions & 2 deletions package-lock.json
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinpoint-node-agent",
"version": "0.8.6-next.1",
"version": "0.8.6",
"main": "index.js",
"scripts": {
"test": "tape ./test/**/*.test.js",
@@ -10,7 +10,7 @@
"description": "Pinpoint node agent provided by NAVER",
"repository": {
"type": "git",
"url": "https://github.com/pinpoint-apm/pinpoint-node-agent"
"url": "git+https://github.com/pinpoint-apm/pinpoint-node-agent.git"
},
"contributors": [
"Yongseok Kang <feelform@gmail.com> (https://github.com/feelform)"
@@ -86,8 +86,5 @@
"rimraf": "^2.6.2",
"tape": "^4.9.1",
"testcontainers": "^2.8.0"
},
"resolutions": {
"semver": "^7.5.3"
}
}

0 comments on commit e777966

Please sign in to comment.