Commit Graph

106 Commits

Author SHA1 Message Date
Juan Calderon-Perez
41ad317a6d Update dependencies across the board, fix all go.sum/go.mod files 2023-08-23 00:30:10 -04:00
Juan Calderon-Perez
9d99e7dd5b Update all README files with new major versions 2023-08-23 00:05:48 -04:00
Juan Calderon-Perez
9570205b8a Cleanup the go.mod files 2023-08-21 08:36:48 -04:00
Juan Calderon-Perez
c0cc07ca93 Update README files, use require.NoError 2023-08-20 09:22:43 -04:00
Juan Calderon-Perez
02d809987a Use testify.Require for all Storage Drivers 2023-08-19 22:36:33 -04:00
dependabot[bot]
7780bb0835 Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 in /postgres
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.4.2 to 5.4.3.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 07:30:32 +00:00
dependabot[bot]
b75a6767e8 Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 in /postgres
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.4.1 to 5.4.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.4.1...v5.4.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 07:33:26 +00:00
M. Efe Çetin
c030fac063 📝 docs: automated synchronization with gofiber/docs (#880)
* add sync_docs script

* update docs

* update docs

* Update README.md

- sort lines and fix closing image tag

* update docs

---------

Co-authored-by: RW <rene@gofiber.io>
2023-07-07 17:45:22 +03:00
dependabot[bot]
85c4df40cd Bump github.com/jackc/pgx/v5 from 5.4.0 to 5.4.1 in /postgres
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.4.0 to 5.4.1.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.4.0...v5.4.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 07:57:31 +00:00
dependabot[bot]
5effaf1761 Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.4.0 in /postgres
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.4.0.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.4.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 07:57:20 +00:00
dependabot[bot]
7d726253df Bump github.com/gofiber/utils from 1.0.1 to 1.1.0 in /postgres
Bumps [github.com/gofiber/utils](https://github.com/gofiber/utils) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/gofiber/utils/releases)
- [Commits](https://github.com/gofiber/utils/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/gofiber/utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 08:05:14 +00:00
Muhammed Efe Çetin
f07e641c06 update 2023-03-12 13:19:08 +03:00
Muhammed Efe Çetin
14d989aaab update 2023-03-12 13:18:22 +03:00
Muhammed Efe Çetin
57f18bb17e update 2023-03-12 13:17:11 +03:00
Muhammed Efe Çetin
dd9a30caed update 2023-03-12 13:06:50 +03:00
M. Efe Çetin
478527cfe6 Merge branch 'main' into main 2023-03-12 13:02:59 +03:00
Juan Calderon
4d9108e34d Url Escape the password provided to postgres 2022-12-10 22:14:35 -08:00
gaby
a3b1139001 Breakdown local storage tests into separate files. Fix go.sum files 2022-11-20 04:59:16 -08:00
gaby
5a40e781c1 Deprecate support for go 1.14 and go 1.15 2022-11-20 04:20:05 -08:00
Muhammed Efe Çetin
155991d08b fix 2022-11-04 19:48:37 +03:00
Muhammed Efe Çetin
4b273b74cb fix tests 2022-11-04 19:40:38 +03:00
Muhammed Efe Çetin
1fc6144cc0 add conn 2022-11-03 23:36:06 +03:00
Muhammed Efe Çetin
90e5588e5d fix 2022-11-03 23:32:42 +03:00
Muhammed Efe Çetin
634e4f7bbb tidy 2022-11-03 19:51:50 +03:00
Muhammed Efe Çetin
4f9889ce48 Merge branch 'main' of https://github.com/gofiber/storage 2022-11-03 19:40:19 +03:00
dependabot[bot]
25bf058c15 Bump github.com/gofiber/utils from 0.1.2 to 1.0.1 in /postgres
Bumps [github.com/gofiber/utils](https://github.com/gofiber/utils) from 0.1.2 to 1.0.1.
- [Release notes](https://github.com/gofiber/utils/releases)
- [Commits](https://github.com/gofiber/utils/compare/v0.1.2...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/gofiber/utils
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 08:29:53 +00:00
Muhammed Efe Çetin
55e5545d5b Merge branch 'main' of https://github.com/Technerder/storage 2022-10-25 20:15:44 +03:00
Muhammed Efe Çetin
8922818463 update 2022-10-25 20:14:32 +03:00
M. Efe Çetin
1914d5fb39 Merge branch 'main' into main 2022-10-09 22:15:49 +03:00
Muhammed Efe Çetin
98df5fc473 pgx v5 2022-10-09 22:13:50 +03:00
dependabot[bot]
0b31353707 Bump github.com/lib/pq from 1.10.6 to 1.10.7 in /postgres
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.6...v1.10.7)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 07:07:50 +00:00
Juan Calderon-Perez
3a8b8d4f71 Add Conn() support to all storage drivers. (#451)
* Add DB() support for Redis driver

* Added support for DB() to all drivers

* Fixed typo in README and Lint issue

* Fix lint issue with ristretto db

* Fix lint issue with bbolt db

* Rename DB() to Conn()

* Replace all instances of _DB with _Conn

* Update all the README files

* Return ArangoDB Client instead of DB
2022-08-15 07:58:13 +02:00
Kalissaac
c38c925975 Add Postgres and MySQL connection strings (#429)
* Add ConnectionURI to Postgres

* Add ConnectionURI to MySQL

* Update Postgres sample db name
2022-08-15 07:48:29 +02:00
dependabot[bot]
96284ee8b7 Bump github.com/lib/pq from 1.10.5 to 1.10.6 in /postgres (#373)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.6)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 08:09:45 +02:00
M. Efe Çetin
ae951cdfcc Merge branch 'main' into main 2022-05-13 20:30:02 +03:00
Muhammed Efe Çetin
a567590b51 update deps. 2022-05-13 20:27:13 +03:00
Infinite Sea Inc
b2e9530bc7 allow hosts with prefix "/" , without escaping (#363)
* allow hosts with prefix "/" , without escaping

* add comment and fix code style

* fix bug

* Remove duplicate format call

* Update lib/pq

* try to fix goSec setup error

Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2022-05-01 11:07:09 +02:00
Muhammed Efe Çetin
6d004c4bca Update deps, fix pq dep. 2022-02-04 14:29:49 +03:00
dependabot[bot]
4a3096149e Bump github.com/lib/pq from 1.10.2 to 1.10.4 in /postgres (#258)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.2 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.2...v1.10.4)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 00:34:43 -05:00
Technerder
bab82c9802 Added original postgre implementation back 2021-07-26 22:35:26 -04:00
Technerder
73a941a879 Moved new postgres implementation to v2 folder, also added nil check for db object in postgres config 2021-07-26 15:34:46 -04:00
Technerder
868c89fd7e Updated pgx version 2021-07-24 21:22:15 -04:00
Technerder
c050ff8e3d Updated import to use v4 of pgx 2021-07-16 14:27:42 -04:00
Technerder
1fec873770 Modified storage to take in a pgxpool.Pool object 2021-07-15 19:49:03 -04:00
Technerder
877dae612d Fixed file formatting 2021-07-10 21:23:48 -04:00
Technerder
5bf7da2074 Fixed DB retrieving test 2021-07-10 21:22:37 -04:00
Technerder
9c850f5235 Added function to retriever the underlying database connection pool 2021-07-10 21:09:49 -04:00
Technerder
bd837d91ab Reverted Close() method signature change 2021-07-09 13:29:58 -04:00
Technerder
c4e1c722b1 Added go.mod, go.sum 2021-07-02 18:13:20 -04:00
Technerder
85e612ec79 Removed Postgre Close test since the pgx implementation of Close() doesn't return an error,
Removed Storage.Close()'s return method since the pgx implementation of Close() doesn't return an error,
Removed Config.maxIdleConns since pgx implementation doesn't support setting a maximum number of idle connections
2021-07-02 18:04:33 -04:00