Skip to content

Commit

Permalink
Merge pull request #1 from nerds-and-company/v0.6.3
Browse files Browse the repository at this point in the history
Upgrade forked version
  • Loading branch information
davidkumru committed Oct 13, 2023
2 parents 2b15570 + 7e58f9c commit 971779e
Show file tree
Hide file tree
Showing 23 changed files with 855 additions and 263 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
Expand All @@ -20,16 +20,18 @@ jobs:
pair:
- elixir: 1.11.3
otp: 23.2.5
- elixir: 1.14.0
otp: 25.1.2
include:
- db: mysql:8.0
pair:
elixir: 1.11.3
otp: 23.2.5
elixir: 1.11.4
otp: 23.3.3
lint: lint
- db: mysql:8.0
pair:
elixir: 1.6.6
otp: 19.3.6.13
elixir: 1.7.4
otp: 21.3.8.24
env:
MIX_ENV: test
DB: ${{matrix.db}}
Expand All @@ -42,18 +44,24 @@ jobs:

- uses: actions/checkout@v2

- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}

- name: Install Dependencies
run: mix deps.get --only test
- uses: actions/cache@v2
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}

- run: mix deps.get

- run: mix format --check-formatted
if: ${{ matrix.lint }}

- run: mix deps.get && mix deps.unlock --check-unused
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}

- run: mix deps.compile
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## v0.6.3 (2022-09-22)

* Print query statement in error log
* Add count to table reader metadata

## v0.6.2 (2021-04-27)

* Implement the Table.Reader protocol for query result

## v0.6.1 (2022-01-25)

* Revert allowing a given cache name to be reprepared as it leaks statements

## v0.6.0 (2022-01-23)

* Fix handling stored procedures with cursors
* Allow a given cache name to be reprepared
* Support queries returning multiple results
* Reuse prepared statements in `prepare: :unnamed`

## v0.5.2 (2022-01-03)

* Use optimized `Geo.WKB` API
* Update DBConnection
* Require Elixir v1.7

## v0.5.1 (2021-03-25)

Bug fixes:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add `:myxql` to your dependencies:
```elixir
def deps() do
[
{:myxql, "~> 0.5.0"}
{:myxql, "~> 0.6.0"}
]
end
```
Expand Down Expand Up @@ -160,7 +160,7 @@ mix deps.get
mix test
```

See [`scripts/ci.sh`](scripts/ci.sh) and [`scripts/test-versions.sh`](scripts/test-versions.sh) for scripts used to test against different server versions.
See [`scripts/test-versions.sh`](scripts/test-versions.sh) for scripts used to test against different server versions.

## License

Expand Down
Loading

0 comments on commit 971779e

Please sign in to comment.