Skip to content

v0.7.0

Compare
Choose a tag to compare
@mobileoverlord mobileoverlord released this 24 Jan 21:19
· 401 commits to main since this release
  • Enhancements
    • Added Mix task nerves.deps.get

    • nerves_bootstrap will check for updates when nerves.deps.get is called.

    • Added Nerves.Bootstrap.add_aliases/1
      This helper function ensures that your project has the required Nerves
      mix aliases defined and in the correct execution order. The function takes
      the existing aliases as a keyword list and injects the required Nerves aliases.
      You will need to update your mix.exs target aliases to use this version of
      nerves_bootstrap like this:

      defp aliases(_target) do
        [
          # Add custom mix aliases here
        ]
        |> Nerves.Bootstrap.add_aliases()
      end

      You should also update your required dependency for nerves to
      {:nerves, "~> 0.9", runtime: false}

  • Bug Fixes
    • disable precompiler when calling mix nerves.clean to prevent having to
      build the package so we can clean it.
    • Fixes issue where project dependencies that contain calls to System.get_env
      in their config or mix file or rebar deps that have rebar-config.script
      overrides that make os:getenv calls were not being configured for the
      cross compile environment.