Skip to content

Commit

Permalink
Release v0.18.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Oct 9, 2023
1 parent 7ef1720 commit b383952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ This is a big release. The main deal here is that we removed the [`db_connection

This change is breaking, and affect Xandra pretty significantly. The user-facing changes are:

* `Xandra` doesn't start a pool of connections anymore, only a single connection. Pooling is on you. We recommend [registry-based pooling](https://andrealeopardi.com/posts/process-pools-with-elixirs-registry/). We might eventually add built-in registry-based pooling, but we're evaluating it.
* `Xandra` doesn't start a pool of connections anymore, only a single connection. Pooling is on you. We recommend [registry-based pooling](https://andrealeopardi.com/posts/process-pools-with-elixirs-registry/) if you want to keep the single-node aspect of `Xandra`. Alternatively, use `Xandra.Cluster` with a single node (`Xandra.Cluster` supports pooling). We might eventually add built-in registry-based pooling, but we're evaluating it.

* `Xandra.start_link/1` doesn't support `DBConnection.start_link/2` options anymore. Make sure to refer to the updated documentation for `Xandra.start_link/1` to know the exact supported options.

* `Xandra.execute/2,3,4` and `Xandra.prepare/2,3` don't support `DBConnection` options anymore.

### Breaking Changes

* The `Xandra` module doesn't support pooling anymore and is now only a single connection.
* Removed the `Xandra.db_connection_start_option/0` type.
* Removed the `Xandra.xandra_start_option/0` type.
* Removed `DBConnection.start_link/2` options in `Xandra.start_link/1`.
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Xandra.Mixfile do

@repo_url "https://github.com/lexhide/xandra"

@version "0.18.0-rc.2"
@version "0.18.0-rc.3"

def project() do
[
Expand Down

0 comments on commit b383952

Please sign in to comment.