Skip to content
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
21 changes: 17 additions & 4 deletions .github/workflows/elixir-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,23 @@ jobs:

strategy:
matrix:
elixir: [1.18.4]
otp: [28]
phoenix-live-view-version: [1.0.0, 1.1.0]
phoenix-version: [1.7.0, 1.8.0]
include:
- elixir: 1.17.3
otp: 27
phoenix-live-view-version: 1.0.0
phoenix-version: 1.7.0
- elixir: 1.17.3
otp: 27
phoenix-live-view-version: 1.1.0
phoenix-version: 1.8.0
- elixir: 1.18.4
otp: 28
phoenix-live-view-version: 1.1.0
phoenix-version: 1.8.0
- elixir: 1.18.4
otp: 28
phoenix-live-view-version: 1.0.0
phoenix-version: 1.7.0
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ while keeping the interactivity.

> Version `0.7.0` drops support for some older versions of Elixir, OTP, Phoenix and Phoenix LiveView. This was done because the current CI matrix generated 24 different builds and just adding OTP 26 would mean duplicating that. Also, removing support for LiveView 0.18.16 drop some code.

> Note: Current version supports OTP 25 and above, Elixir 1.14 and above, Phoenix 1.7, and LiveView 0.19 and above. When live_isolated_component reaches 1.0, it'll only actively support latest OTP and previouw, latest Elixir and previous, and LiveView above 1.0. That means that as soon as a version that is not supported actively starts to warns or error in CI, its support will be dropped. Thank you for your understanding!
> Note: Current version supports OTP 27 and above, Elixir 1.17 and above, Phoenix 1.7 and above, and LiveView 1.0 and above. For the exact support matrix, check the elixir-ci workflow matrix.

```elixir
def deps do
[
# For support for LiveView 1.1.0 and Phoenix 1.8:
{:live_isolated_component, "~> 0.10.0", only: [:dev, :test]}
# For support for LiveView 1.0.0:
{:live_isolated_component, "~> 0.9.0", only: [:dev, :test]}
# For support for LiveView 0.20:
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule LiveIsolatedComponent.MixProject do
use Mix.Project

@source_url "https://github.com/Serabe/live_isolated_component"
@version "0.9.0"
@version "0.10.0"

def project do
[
Expand All @@ -15,7 +15,7 @@ defmodule LiveIsolatedComponent.MixProject do
app: :live_isolated_component,
package: package(),
version: @version,
elixir: "~> 1.14",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs()
Expand Down