Skip to content

Commit 85501d9

Browse files
authored
Release v0.5.0 (#80)
1 parent b0cc5ba commit 85501d9

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.0] - 2025-08-13
9+
10+
### Added
11+
12+
- A new [`Phoenix.Sync.Shape`](https://hexdocs.pm/phoenix_sync/Phoenix.Sync.Shape.html) that maintains an live, in-memory representation of the current state of the database ([#77](https://github.com/electric-sql/phoenix_sync/pull/77))
13+
- Integration with `Ecto.Adapters.SQL.Sandbox` via [`Phoenix.Sync.Sandbox`](https://hexdocs.pm/phoenix_sync/Phoenix.Sync.Sandbox.html) to enable simulating updates to shapes within a test transaction ([#73](https://github.com/electric-sql/phoenix_sync/pull/73))
14+
- Interruptible shape endpoints using [`Phoenix.Sync.Controller.sync_render/3`](https://hexdocs.pm/phoenix_sync/Phoenix.Sync.Controller.html#sync_render/3) ([#65](https://github.com/electric-sql/phoenix_sync/pull/65))
15+
- Support for defining shapes via a `changeset/1` function ([#70](https://github.com/electric-sql/phoenix_sync/pull/70))
16+
17+
### Fixed
18+
19+
- Improve error messages caused by invalid module names ([#74](https://github.com/electric-sql/phoenix_sync/pull/74))
20+
- Fix compilation errors when included with no `:ecto` dependency ([#79](https://github.com/electric-sql/phoenix_sync/pull/79))
21+
822
## [0.4.4] - 2025-06-30
923

1024
### Added

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Example config:
216216
defp deps do
217217
[
218218
{:electric, "~> 1.0"},
219-
{:phoenix_sync, "~> 0.4"}
219+
{:phoenix_sync, "~> 0.5"}
220220
]
221221
end
222222

@@ -242,7 +242,7 @@ In `:http` mode, Electric does not need to be included as an application depende
242242
# mix.exs
243243
defp deps do
244244
[
245-
{:phoenix_sync, "~> 0.4"}
245+
{:phoenix_sync, "~> 0.5"}
246246
]
247247
end
248248

@@ -273,7 +273,7 @@ It is also possible to include Electric as an application dependency and configu
273273
defp deps do
274274
[
275275
{:electric, "~> 1.0"},
276-
{:phoenix_sync, "~> 0.4"}
276+
{:phoenix_sync, "~> 0.5"}
277277
]
278278
end
279279

@@ -312,7 +312,7 @@ With Electric only included and compiled as a dependency in `:dev` and `:test`.
312312
defp deps do
313313
[
314314
{:electric, "~> 1.0", only: [:dev, :test]},
315-
{:phoenix_sync, "~> 0.4"}
315+
{:phoenix_sync, "~> 0.5"}
316316
]
317317
end
318318

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Phoenix.Sync.MixProject do
22
use Mix.Project
33

44
# Remember to update the README when you change the version
5-
@version "0.4.4"
5+
@version "0.5.0"
66

77
def project do
88
[

0 commit comments

Comments
 (0)