Skip to content

Commit

Permalink
Release 1.7.17 for LiveView 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Dec 3, 2024
1 parent 4f49a6a commit 051ad4e
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 15 deletions.
4 changes: 2 additions & 2 deletions assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phoenix",
"version": "1.7.16",
"version": "1.7.17",
"description": "The official JavaScript client for the Phoenix web framework.",
"license": "MIT",
"main": "./assets/js/phoenix/index.js",
Expand Down
20 changes: 18 additions & 2 deletions guides/introduction/up_and_running.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
# Up and Running

Let's get a Phoenix application up and running as quickly as possible.
To get a Phoenix application up and running as quickly as possible, you can use the express setup to install Elixir and generate a new Phoenix project.

Before we begin, please take a minute to read the [Installation Guide](installation.html). By installing any necessary dependencies beforehand, we'll be able to get our application up and running smoothly.
A single command will get you up and running in seconds:

For osx/linux:

```bash
$ curl https://new.phoenixframework.org/myapp | sh
```

For Windows PowerShell:

```cmd
> curl.exe -fsSO https://new.phoenixframework.org/app.bat; .\app.bat
```

Or for more in depth installation instructions, see the [Installation Guide](installation.html).

By installing any necessary dependencies beforehand, we'll be able to get our application up and running smoothly.

We can run `mix phx.new` from any directory in order to bootstrap our Phoenix application. Phoenix will accept either an absolute or relative path for the directory of our new project. Assuming that the name of our application is `hello`, let's run the following command:

Expand Down
2 changes: 1 addition & 1 deletion installer/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end
defmodule Phx.New.MixProject do
use Mix.Project

@version "1.7.16"
@version "1.7.17"
@scm_url "https://github.com/phoenixframework/phoenix"

# If the elixir requirement is updated, we need to update:
Expand Down
3 changes: 1 addition & 2 deletions installer/templates/phx_single/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ defmodule <%= @app_module %>.MixProject do
{<%= inspect @adapter_app %>, ">= 0.0.0"},<% end %><%= if @html do %>
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
{:phoenix_live_view, "~> 1.0.0-rc", override: true},
{:phoenix_live_view, "~> 1.0.0"},
{:floki, ">= 0.30.0", only: :test},<% end %><%= if @dashboard do %>
{:phoenix_live_dashboard, "~> 0.8.3"},<% end %><%= if @javascript do %>
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},<% end %><%= if @css do %>
Expand Down
3 changes: 1 addition & 2 deletions installer/templates/phx_umbrella/apps/app_name_web/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ defmodule <%= @web_namespace %>.MixProject do
{:phoenix_ecto, "~> 4.5"},<% end %><%= if @html do %>
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
{:phoenix_live_view, "~> 1.0.0-rc", override: true},
{:phoenix_live_view, "~> 1.0.0"},
{:floki, ">= 0.30.0", only: :test},<% end %><%= if @dashboard do %>
{:phoenix_live_dashboard, "~> 0.8.3"},<% end %><%= if @javascript do %>
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},<% end %><%= if @css do %>
Expand Down
3 changes: 1 addition & 2 deletions installer/templates/phx_umbrella/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ defmodule <%= @root_app_module %>.MixProject do
[
<%= if @dev or @phoenix_version.pre != [] do %><%= @phoenix_dep_umbrella_root %>,
<% end %># Required to run "mix format" on ~H/.heex files from the umbrella root
# TODO bump on release to {:phoenix_live_view, ">= 0.0.0"},
{:phoenix_live_view, "~> 1.0.0-rc", override: true}
{:phoenix_live_view, ">= 0.0.0"}
]<% else %>
[]<% end %>
end
Expand Down
2 changes: 1 addition & 1 deletion integration_test/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule Phoenix.Integration.MixProject do
{:tds, ">= 0.0.0"},
{:ecto_sqlite3, ">= 0.0.0"},
{:phoenix_html, "~> 4.1"},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"} on Phoenix 1.8 release,
{:phoenix_live_view, "1.0.0-rc.7", override: true},
{:dns_cluster, "~> 0.1.1"},
{:floki, ">= 0.30.0"},
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Phoenix.MixProject do
end
end

@version "1.7.16"
@version "1.7.17"
@scm_url "https://github.com/phoenixframework/phoenix"

# If the elixir requirement is updated, we need to make the installer
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phoenix",
"version": "1.7.16",
"version": "1.7.17",
"description": "The official JavaScript client for the Phoenix web framework.",
"license": "MIT",
"module": "./priv/static/phoenix.mjs",
Expand Down

0 comments on commit 051ad4e

Please sign in to comment.