Skip to content

Commit

Permalink
Merge pull request #84 from silverbucket/release-3.0.0
Browse files Browse the repository at this point in the history
Release 3.0.0
  • Loading branch information
silverbucket authored Aug 21, 2022
2 parents fa0b705 + f28b86e commit b7cae11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: npm run build
- name: Test
run: npm run test
- name: Coverage
run: npm run coverage

integration:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ a number of connections in a pool, using them as needed and keeping all aspects
of releasing active connections internal to the object, so the user does not
need to worry about forgotten connections leaking resources.

**NOTE** Version 2.x is a rewrite and not backward compatible, please re-read the documentation to update your code.

## Installation

```javascript
Expand Down Expand Up @@ -117,6 +115,10 @@ lpush(key, value)
sendCommand(commandName, [args])
```

* **shutdown**
```javascript
shutdown()
```

## API Documentation
node-redis-connection-pool uses jsdoc-to-markdown to generate the [API.md](API.md) from the source code.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redis-connection-pool",
"version": "2.0.4",
"version": "3.0.0",
"description": "a redis client connection pool",
"license": "MIT",
"private": false,
Expand All @@ -27,6 +27,7 @@
"lint:fix": "npx eslint --fix src/",
"lint": "npx eslint src/",
"test": "c8 -x src/bootstrap -x \"src/**/*.test.*\" mocha -r ts-node/register src/*.test.ts",
"coverage": "c8 check-coverage --statements 70 --branches 90 --functions 60 --lines 70",
"integration": "mocha -r ts-node/register src/index.integration.ts && yarn run build && mocha dist/index.integration.js",
"doc": "jsdoc2md --files ./src/index.ts --configure ./jsdoc2md.json > ./API.md"
},
Expand Down

0 comments on commit b7cae11

Please sign in to comment.