**Describe the bug**
The [documentation](https://hologram.page/docs/installatio…n) indicates that one should `use Hologram.Endpoint` yet this module (and nothing that looks like an obvious replacement) is not available in 0.5.0. This leads to the error:
```
Compiling 1 file (.ex)
error: module Hologram.Endpoint is not loaded and could not be found
│
3 │ use Hologram.Endpoint
│ ^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/sample_web/endpoint.ex:3: SampleWeb.Endpoint (module)
== Compilation error in file lib/sample_web/endpoint.ex ==
** (CompileError) lib/sample_web/endpoint.ex: cannot compile module SampleWeb.Endpoint (errors have been logged)
(elixir 1.18.4) expanding macro: Kernel.use/1
lib/sample_web/endpoint.ex:3: SampleWeb.Endpoint (module)
```
when attempting a `mix compile` in a new application. I notice the expected module is present in 0.4.0. I'm not sure if the documentation is wrong, if the file was nuked accidentally, or if I'm seriously misunderstanding something. (I also don't see the function `hologram_socket/0` defined anywhere...)
I'm looking forward to giving Hologram a spin. Thanks!
**To Reproduce**
Create a new Phoenix Application with `mix phx.new sample`
Add the compiler and dependencies to `mix.exs`:
```
def project do
[
app: :sample,
version: "0.1.0",
elixir: "~> 1.14",
compilers: Mix.compilers() ++ [:hologram],
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
]
end
## ...
defp deps do
[
{:phoenix, "~> 1.7.21"},
{:phoenix_ecto, "~> 4.5"},
{:ecto_sql, "~> 3.10"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_live_view, "~> 1.0"},
{:floki, ">= 0.30.0", only: :test},
{:phoenix_live_dashboard, "~> 0.8.3"},
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},
{:tailwind, "~> 0.2.0", runtime: Mix.env() == :dev},
{:heroicons,
github: "tailwindlabs/heroicons",
tag: "v2.1.1",
sparse: "optimized",
app: false,
compile: false,
depth: 1},
{:swoosh, "~> 1.5"},
{:finch, "~> 0.13"},
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.26"},
{:jason, "~> 1.2"},
{:dns_cluster, "~> 0.1.1"},
{:bandit, "~> 1.5"},
{:hologram, "~> 0.5"}
]
end
```
Add `use Hologram.Endpoint to the endpoint module:
```
defmodule SampleWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :sample
use Hologram.Endpoint
```
Then `mix compile` to produce the error above.