# @theorchard/songwhip-utils-postgres

## 2.0.0

### Major Changes

- Removes dependency on Knex and instead uses the "pg" library directly for database interactions. Knex is getting old and was not being fully utilized. This change simplifies the codebase and reduces dependencies while keeping the same functionality.
- Cleans up the API to be more consistent and removes rarely used functions.

## 1.2.1

### Patch Changes

- Fix invalid import of the picocolor library

## 1.2.0

### Minor Changes

- Changed logger colors to use picocolors instead of colorette to align with other Songwhip packages.
- Added option to specify a "operationName" for the generic DbError class.
- Added "executeRaw" function for executing raw SQL queries with error handling.
- Added "executeSqlStream" function for executing raw SQL queries that return a stream of results.

- Updated dependencies
  - @theorchard/songwhip-utils@1.2.0

## 1.0.13

### Patch Changes

- Exposed internal createConnectionConfig function

## 1.0.12

### Patch Changes

- Initial publish
- Updated dependencies
  - @theorchard/songwhip-utils@1.0.15
