Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade forked version #1

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading