All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Since it is a boilerplate project, there are technically no official (versioned) releases. Therefore, the main
branch should always be stable and usable.
- Add AbsintheSecurity (#500)
- Add TelemetryUI (#414)
- Add security HTTP headers for the whole endpoint (#241)
- Generate and expose JS source maps by default (#142)
- Use gzip to serve assets (#143)
- Add
Credo.Check.Readability.StrictModuleLayout
readability check
- Upgrade to Erlang
23.2
- Upgrade mix dependencies
- Upgrage NPM dependencies to the latest compatible versions of Webpack 4
- Change configuration files to adopt the *.config.js standard
- Upgrage to Elixir
1.11
and NodeJS14.15
- Revert the removal of
PORT
environment variable (#133)
Simplification of the Router URLs configuration (#132)
Router's Endpoint config now requires only a CANONICAL_URL and a STATIC_URL from which it extrapolates the different URI components such as scheme
, host
and port
.
Environment variables changes:
Added
CANONICAL_URL=
STATIC_URL=
Removed
PORT=
FORCE_SSL=
STATIC_URL_SCHEME=
STATIC_URL_HOST=
STATIC_URL_PORT=
- Move
Plug.SSL
plug initialization to endpoint module attribute (#130)
- Upgrage to Erlang
23.1.1
and Alpine1.12.0
- Upgrade to Phoenix
1.5
- Upgrade to Ecto
3.5
- Upgrade to Absinthe
1.5
The instrumenters
configuration was deprecated from Phoenix.Endpoint
, and there is no update in new_relix_phoenix
yet to reflect this change! The instrumenter might not work properly…
[warn] :instrumenters configuration for ElixirBoilerplateWeb.Endpoint is deprecated and has no effect
- Add MixAudit vulnerability security scanning (#114)
- Do not provide
static_url
configuration to Phoenix endpoint ifSTATIC_URL_HOST
isn’t present (#110)
- Do not raise “missing
_test
suffix” error when DATABASE_URL is not present - Refactor router split to avoid “You have instrumented twice in the same plug” New Relic warning (#108)
make
targets usingnpx
now work properly since we now change the current working directory toassets
before running them- The
boilerplate-setup.sh
script now supports PascalCase name with consecutive uppercase letters (eg.FooBarBBQ
→foo_bar_bbq
) - The
boilerplate-setup.sh
script now takes into account deeper hierarchy files and the Github Action CI workflow file - The
BOILERPLATE_README.fr.md
andBOILERPLATE_README.md
now list the correct dependencies
- Added a local database URL check for the test configuration which prevents tests from being run on an external database
- Makefile (
Makefile
) output of the different targets when using numbers
- Improve Docker-related environment variables in Makefile (#86)
- Improved healthcheck setup with
plug_checkup
(#84)
- Upgrade from
alpine:3.9
toalpine:3.10
as base Docker image
- Project changelog (
CHANGELOG.md
)