diff --git a/assets/package-lock.json b/assets/package-lock.json index 9252142422..68f26a5318 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1,12 +1,12 @@ { "name": "phoenix", - "version": "1.7.16", + "version": "1.7.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "phoenix", - "version": "1.7.16", + "version": "1.7.17", "license": "MIT", "devDependencies": { "@babel/cli": "7.24.5", diff --git a/assets/package.json b/assets/package.json index d825861fed..81fb37b0bd 100644 --- a/assets/package.json +++ b/assets/package.json @@ -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", diff --git a/guides/introduction/up_and_running.md b/guides/introduction/up_and_running.md index 8d07024b1c..840072f8e8 100644 --- a/guides/introduction/up_and_running.md +++ b/guides/introduction/up_and_running.md @@ -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: diff --git a/installer/mix.exs b/installer/mix.exs index bf9ddf057e..ad39547ada 100644 --- a/installer/mix.exs +++ b/installer/mix.exs @@ -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: diff --git a/installer/templates/phx_single/mix.exs b/installer/templates/phx_single/mix.exs index c649d8fa88..a2b85a0e07 100644 --- a/installer/templates/phx_single/mix.exs +++ b/installer/templates/phx_single/mix.exs @@ -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 %> diff --git a/installer/templates/phx_umbrella/apps/app_name_web/mix.exs b/installer/templates/phx_umbrella/apps/app_name_web/mix.exs index 73b935ef06..0081e2ef21 100644 --- a/installer/templates/phx_umbrella/apps/app_name_web/mix.exs +++ b/installer/templates/phx_umbrella/apps/app_name_web/mix.exs @@ -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 %> diff --git a/installer/templates/phx_umbrella/mix.exs b/installer/templates/phx_umbrella/mix.exs index 90e3411b2f..e02ac62624 100644 --- a/installer/templates/phx_umbrella/mix.exs +++ b/installer/templates/phx_umbrella/mix.exs @@ -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 diff --git a/integration_test/mix.exs b/integration_test/mix.exs index 804e31e32c..dd27f34774 100644 --- a/integration_test/mix.exs +++ b/integration_test/mix.exs @@ -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"}, diff --git a/mix.exs b/mix.exs index 6dc6eac108..7f4748e8ee 100644 --- a/mix.exs +++ b/mix.exs @@ -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 diff --git a/package.json b/package.json index 0a1ad6d429..ff9d207a4f 100644 --- a/package.json +++ b/package.json @@ -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",