Skip to content

Commit 32db8df

Browse files
committed
Bump version to 0.5.0
1 parent 35ce361 commit 32db8df

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG
22

3+
## v0.5.0
4+
5+
### FEATURES
6+
7+
- Rename `autoTimestamp()` to `createTimestampHook()`. From now on, all builtin hook factories will have `create*Hook()` format.
8+
9+
### PATCHES
10+
11+
- Fix a typo in `/src/utils.ts`
12+
313
## v0.4.0
414

515
### FEATURES
@@ -13,7 +23,7 @@
1323

1424
### FEATURES
1525

16-
- No need to run `Mongol.connect()` separately by using `Mongol.promisifiedDatabase`
26+
- Auto-connect with `Mongol.promisifiedDatabase`
1727
- Add support for database hook/trigger
1828
- Reorganize project
1929

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
[![](https://img.shields.io/npm/v/@albert-team/mongol.svg?style=flat-square)](https://www.npmjs.com/package/@albert-team/mongol)
33
[![](https://img.shields.io/travis/com/albert-team/mongol.svg?style=flat-square)](https://travis-ci.com/albert-team/mongol)
44

5-
# mongol
5+
# Mongol
66

7-
Minimalistic MongoDB helpers for Node.js
7+
Minimalistic MongoDB helper for Node.js.
88

99
## FEATURES
1010

11+
- Auto-connect support
1112
- Enhanced JSON Schema draft-4 support
1213
- Database hook/trigger support
1314
- Useful builtin hooks
@@ -21,20 +22,22 @@ Minimalistic MongoDB helpers for Node.js
2122

2223
### Instructions
2324

24-
- With yarn
25+
With yarn
2526

2627
```bash
2728
$ yarn add @albert-team/mongol
2829
```
2930

30-
- With npm
31+
With npm
3132

3233
```bash
3334
$ npm i @albert-team/mongol
3435
```
3536

3637
## USAGE
3738

39+
### Auto-connect support
40+
3841
### Enhanced JSON Schema draft-4 support
3942

4043
### Database hook/trigger support

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@albert-team/mongol",
3-
"description": "Minimalistic MongoDB helpers for Node.js",
3+
"description": "Minimalistic MongoDB helper for Node.js.",
44
"license": "MIT",
55
"author": "Albert Team",
66
"repository": "github:albert-team/mongol",
@@ -11,7 +11,7 @@
1111
"engines": {
1212
"node": ">=10"
1313
},
14-
"version": "0.4.0",
14+
"version": "0.5.0",
1515
"types": "dist/index.d.ts",
1616
"files": [
1717
"dist"

0 commit comments

Comments
 (0)