# ChangeLog

## 0.7.0 - 2023-09-13

- Export `Database` class to users, allowing developers to create their own serverless mongodb (eg. mongodb atlas) connections.

## 0.6.1 - 2023-08-05

- Fix the database `Query.and|or|nor` bugs, making their behavior consistent with the documentation description.
- Refactored the code to make the Database class inherit from the Operator class, reducing redundant code.
- Fixed the syntax errors in "greatThan" and "greatThanOrEqual," the correct forms should be "greaterThan" and "greatThanOrEqual."
- Fixed the `db.mod` arguments.
- Add more test cases for db operator.

## 0.6.0 - 2023-07-01

- Optimized db and initialization speed

## 0.5.0 - 2023-06-07

- Added new database update operators: db.inc、db.mul、db.min、db.max、db.rename、db.unset、db.currentDate

## 0.4.1 - 2023-05-06

- rollback 0.4.0

## 0.4.0 - 2023-05-06

- Added the ability to customize headers when users download files

## 0.3.2 - 2023-04-15

- Optimized the database connection logic to ensure that each database call is successfully connected

## 0.3.1 - 2023-04-14

- Added database interception behavior

## 0.3.0 - 2023-04-03

- Optimized the bulk update API of DB Module
- Fixed an issue where the `_id` field would appear after the user's fields when inserting records into the database.
- Added user tracking feature to the database.

## 0.2.12 - 2023-03-22

### Changed

- Optimized the db reconnection logic. When db client does not exist, it will create the client first

## 0.2.11 - 2023-03-22

### Added

- Added new API for closing and reconnecting to the database
- Added more test cases for upsert

## 0.2.10 - 2023-03-21

### Fixed

- Fixed an issue with the `where` API where it failed to perform range queries on Date-type fields
