Skip to content

Commit

Permalink
feat: adopt CommonLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Nov 12, 2021
1 parent ae19795 commit 03b4732
Show file tree
Hide file tree
Showing 7 changed files with 681 additions and 1,230 deletions.
25 changes: 0 additions & 25 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: release

on:
push:
branches: [master, next, act]

jobs:
release-job:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v2, with: { persist-credentials: true } }
- { uses: actions/setup-node@v2, with: { node-version: 16, cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-v1-${{ runner.os }}

- name: yarn
run: yarn --frozen-lockfile

- name: build
run: yarn build-prod

- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx @naturalcycles/semantic-release
280 changes: 1 addition & 279 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,279 +1 @@
## [3.4.16](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.15...v3.4.16) (2021-10-19)


### Bug Fixes

* adapt to db-lib ([0014437](https://github.com/NaturalCycles/mongo-lib/commit/00144373fcc4bacba4ac6cbb09c3bd83574bd52c))

## [3.4.15](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.14...v3.4.15) (2021-10-18)


### Bug Fixes

* correctly skip `undefined` values when saving ([140e211](https://github.com/NaturalCycles/mongo-lib/commit/140e211dbf9a0f45b50b29431a3e40671b8654b6))

## [3.4.14](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.13...v3.4.14) (2021-10-17)


### Bug Fixes

* types ([d09b2c4](https://github.com/NaturalCycles/mongo-lib/commit/d09b2c49f67e6d7912c69c721f5e44330bb1a10b))

## [3.4.13](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.12...v3.4.13) (2021-10-17)


### Bug Fixes

* adapt to latest db-lib ([a3e6558](https://github.com/NaturalCycles/mongo-lib/commit/a3e655889d67abc96d073725020a829b4fc940e0))

## [3.4.12](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.11...v3.4.12) (2021-10-01)


### Bug Fixes

* deps ([a5a8f5d](https://github.com/NaturalCycles/mongo-lib/commit/a5a8f5dd353a57f2da3ca09ce292729b952fae8d))

## [3.4.11](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.10...v3.4.11) (2021-08-25)


### Bug Fixes

* deps ([e0f058b](https://github.com/NaturalCycles/mongo-lib/commit/e0f058bfc10edd06a60bfe66567d4f43e80403f0))

## [3.4.10](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.9...v3.4.10) (2021-07-16)


### Bug Fixes

* deps (mongodb@4) ([8e14787](https://github.com/NaturalCycles/mongo-lib/commit/8e14787b8038df3e31bfcffc976298895c6f59d8))

## [3.4.9](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.8...v3.4.9) (2021-05-22)


### Bug Fixes

* deps, eslint ([1f21858](https://github.com/NaturalCycles/mongo-lib/commit/1f21858e646130a0121e52982b05142329da2bec))

## [3.4.8](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.7...v3.4.8) (2021-02-27)


### Bug Fixes

* deps ([173079f](https://github.com/NaturalCycles/mongo-lib/commit/173079ff5c149436a910b167c4e8c18d1f9274c7))

## [3.4.7](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.6...v3.4.7) (2020-11-05)


### Bug Fixes

* adapt to db-lib ([c58f91d](https://github.com/NaturalCycles/mongo-lib/commit/c58f91d5b47231b0f91f4fbf5109f7392b963dcd))

## [3.4.6](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.5...v3.4.6) (2020-10-25)


### Bug Fixes

* adapt to recent db-lib (OP_MAP) ([3cab6d9](https://github.com/NaturalCycles/mongo-lib/commit/3cab6d95ff01213782a8380cdfd8d0bde71a182d))

## [3.4.5](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.4...v3.4.5) (2020-10-12)


### Bug Fixes

* support db-lib@8 ([5828cd6](https://github.com/NaturalCycles/mongo-lib/commit/5828cd6e4ef00bbb6930d90d11b11e4ddeebe716))

## [3.4.4](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.3...v3.4.4) (2020-08-17)


### Bug Fixes

* deps ([729db5c](https://github.com/NaturalCycles/mongo-lib/commit/729db5c07ef752d5b665d6e58cd9940bd7a77144))

## [3.4.3](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.2...v3.4.3) (2020-08-11)


### Bug Fixes

* deps ([5338afd](https://github.com/NaturalCycles/mongo-lib/commit/5338afd70ad70fa3d041bd188327707e6464c21b))

## [3.4.2](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.1...v3.4.2) (2020-05-31)


### Bug Fixes

* adapt to db-lib@7 ([5f26c50](https://github.com/NaturalCycles/mongo-lib/commit/5f26c509fd4a58c7688ab66570e3fbd9fcc37c83))

## [3.4.1](https://github.com/NaturalCycles/mongo-lib/compare/v3.4.0...v3.4.1) (2020-05-24)


### Bug Fixes

* adapt to CommonDB ([4dc0b1f](https://github.com/NaturalCycles/mongo-lib/commit/4dc0b1fd61cb3af8f700b3b8318e31580fb4ce78))

# [3.4.0](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.6...v3.4.0) (2020-05-24)


### Features

* implement CommonDB@6 (transactions) ([ee3a087](https://github.com/NaturalCycles/mongo-lib/commit/ee3a0875db1098b1e9afc4c87539e99698f423fd))

## [3.3.6](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.5...v3.3.6) (2020-04-25)


### Bug Fixes

* deps ([7bdf44e](https://github.com/NaturalCycles/mongo-lib/commit/7bdf44ed66395422173789d15171284b9c1ff297))

## [3.3.5](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.4...v3.3.5) (2020-04-19)


### Bug Fixes

* deps ([66dc57a](https://github.com/NaturalCycles/mongo-lib/commit/66dc57a4973142b5ed744b962808e34d7a4c4923))

## [3.3.4](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.3...v3.3.4) (2020-04-11)


### Bug Fixes

* projection query without 'id' case ([1ef1f6f](https://github.com/NaturalCycles/mongo-lib/commit/1ef1f6fd7a1df4010945fe23f3ab871e851baf50))

## [3.3.3](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.2...v3.3.3) (2020-04-01)


### Bug Fixes

* ping() ([29e76c1](https://github.com/NaturalCycles/mongo-lib/commit/29e76c12d9af13e23ebde1cf4fc310eecdbcf1f9))

## [3.3.2](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.1...v3.3.2) (2020-03-31)


### Bug Fixes

* deps ([dabfea6](https://github.com/NaturalCycles/mongo-lib/commit/dabfea64aa89eaa7dc489d8195b0184f410c3ac9))

## [3.3.1](https://github.com/NaturalCycles/mongo-lib/compare/v3.3.0...v3.3.1) (2020-03-31)


### Bug Fixes

* deps ([158f46e](https://github.com/NaturalCycles/mongo-lib/commit/158f46ed65e81e1f625d4b86f65bbd374471443b))

# [3.3.0](https://github.com/NaturalCycles/mongo-lib/compare/v3.2.1...v3.3.0) (2020-03-22)


### Features

* deps ([d3385bc](https://github.com/NaturalCycles/mongo-lib/commit/d3385bc7bc328c129bfabb228f5d4fbb7bba41c4))

## [3.2.1](https://github.com/NaturalCycles/mongo-lib/compare/v3.2.0...v3.2.1) (2019-12-14)


### Bug Fixes

* unused dep ([8cd9467](https://github.com/NaturalCycles/mongo-lib/commit/8cd94679c2dbc3255d3dbd0bfe804af99bd21ac4))

# [3.2.0](https://github.com/NaturalCycles/mongo-lib/compare/v3.1.0...v3.2.0) (2019-11-09)


### Bug Fixes

* adapt to db-lib ([e0ec661](https://github.com/NaturalCycles/mongo-lib/commit/e0ec661e9702ed5528ac0fcbebe840b1e8ac1d52))


### Features

* backup.script.ts ([58fb858](https://github.com/NaturalCycles/mongo-lib/commit/58fb85832fc9760de2fee3614b5d4ddd0fc08bda))

# [3.1.0](https://github.com/NaturalCycles/mongo-lib/compare/v3.0.0...v3.1.0) (2019-11-03)


### Features

* implement getTables() ([3ec447a](https://github.com/NaturalCycles/mongo-lib/commit/3ec447a04fc1e64468aafd39ac926ab6e8f66b47))

# [3.0.0](https://github.com/NaturalCycles/mongo-lib/compare/v2.0.1...v3.0.0) (2019-11-02)


### Features

* adapt to db-lib@3 ([2bad78c](https://github.com/NaturalCycles/mongo-lib/commit/2bad78cba5a4e83df5505371a40e179d78bc46ea))


### BREAKING CHANGES

* ^^^

## [2.0.1](https://github.com/NaturalCycles/mongo-lib/compare/v2.0.0...v2.0.1) (2019-10-20)


### Bug Fixes

* adapt to db-lib ([9223c1a](https://github.com/NaturalCycles/mongo-lib/commit/9223c1a))

# [2.0.0](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.5...v2.0.0) (2019-10-19)


### Bug Fixes

* joi types ([c171a83](https://github.com/NaturalCycles/mongo-lib/commit/c171a83))


### Features

* implement CommonDB 2.0 ([dcb8bdb](https://github.com/NaturalCycles/mongo-lib/commit/dcb8bdb))


### BREAKING CHANGES

* ^^^

## [1.1.5](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.4...v1.1.5) (2019-09-21)


### Bug Fixes

* adapt to db-lib ([5823ccf](https://github.com/NaturalCycles/mongo-lib/commit/5823ccf))

## [1.1.4](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.3...v1.1.4) (2019-09-21)


### Bug Fixes

* adapt to db-lib ([4d9dd47](https://github.com/NaturalCycles/mongo-lib/commit/4d9dd47))

## [1.1.3](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.2...v1.1.3) (2019-09-20)


### Bug Fixes

* adopt to db-lib ([8755a67](https://github.com/NaturalCycles/mongo-lib/commit/8755a67))
* return await ([7db79a5](https://github.com/NaturalCycles/mongo-lib/commit/7db79a5))

## [1.1.2](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.1...v1.1.2) (2019-09-14)


### Bug Fixes

* "between" query ([c903759](https://github.com/NaturalCycles/mongo-lib/commit/c903759))

## [1.1.1](https://github.com/NaturalCycles/mongo-lib/compare/v1.1.0...v1.1.1) (2019-08-25)


### Bug Fixes

* saveBatch([]); feat: distinct() ([6ba0c00](https://github.com/NaturalCycles/mongo-lib/commit/6ba0c00))

# [1.1.0](https://github.com/NaturalCycles/mongo-lib/compare/v1.0.0...v1.1.0) (2019-08-24)


### Features

* lazy connect ([13d95c2](https://github.com/NaturalCycles/mongo-lib/commit/13d95c2))

# 1.0.0 (2019-08-23)


### Features

* first version ([9d520e8](https://github.com/NaturalCycles/mongo-lib/commit/9d520e8))
See [Github Releases](https://github.com/NaturalCycles/mongo-lib/releases)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/NaturalCycles/mongo-lib"
},
"engines": {
"node": ">=12.13.1"
"node": ">=14.15.0"
},
"version": "3.4.16",
"description": "MongoDB implementation of CommonDB interface",
Expand Down
Loading

0 comments on commit 03b4732

Please sign in to comment.