Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mimiquate/blend
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.1
Choose a base ref
...
head repository: mimiquate/blend
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.2
Choose a head ref
  • 8 commits
  • 6 files changed
  • 2 contributors

Commits on Dec 2, 2024

  1. build(deps-dev): bump ex_doc from 0.34.2 to 0.35.1 (#31)

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.34.2 to 0.35.1.
    - [Release notes](https://github.com/elixir-lang/ex_doc/releases)
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.34.2...v0.35.1)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 2, 2024

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    0add994 View commit details

Commits on Jan 13, 2025

  1. build(deps-dev): bump ex_doc from 0.35.1 to 0.36.1 (#33)

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.35.1 to 0.36.1.
    - [Release notes](https://github.com/elixir-lang/ex_doc/releases)
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.35.1...v0.36.1)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 13, 2025
    Copy the full SHA
    6536102 View commit details

Commits on Feb 12, 2025

  1. build(deps-dev): bump ex_doc from 0.36.1 to 0.37.1 (#34)

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.36.1 to 0.37.1.
    - [Release notes](https://github.com/elixir-lang/ex_doc/releases)
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.36.1...v0.37.1)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 12, 2025
    Copy the full SHA
    b279bf3 View commit details

Commits on Feb 26, 2025

  1. build(deps-dev): bump ex_doc from 0.37.1 to 0.37.2 (#38)

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.37.1 to 0.37.2.
    - [Release notes](https://github.com/elixir-lang/ex_doc/releases)
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.37.1...v0.37.2)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 26, 2025
    Copy the full SHA
    c169d28 View commit details

Commits on Mar 12, 2025

  1. build(deps-dev): bump ex_doc from 0.37.2 to 0.37.3 (#40)

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.37.2 to 0.37.3.
    - [Release notes](https://github.com/elixir-lang/ex_doc/releases)
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.37.2...v0.37.3)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 12, 2025
    Copy the full SHA
    edd9fd6 View commit details
  2. ci: updates elixir/erlang versions

    grzuy committed Mar 12, 2025
    Copy the full SHA
    7839c90 View commit details
  3. feat: mix blend.unlock (#41)

    grzuy authored Mar 12, 2025
    Copy the full SHA
    7f3f564 View commit details
  4. build: bumps version to v0.4.2

    grzuy committed Mar 12, 2025
    Copy the full SHA
    e9106e2 View commit details
Showing with 56 additions and 19 deletions.
  1. +6 −4 .github/workflows/ci.yml
  2. +7 −0 CHANGELOG.md
  3. +8 −7 README.md
  4. +27 −0 lib/mix/tasks/blend/unlock.ex
  5. +2 −2 mix.exs
  6. +6 −6 mix.lock
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -10,13 +10,15 @@ jobs:
fail-fast: false
matrix:
include:
- elixir_version: '1.17'
otp_version: '27.0'
- elixir_version: '1.18'
otp_version: '27.3'
lint: true
- elixir_version: '1.17'
otp_version: '26.2.5.9'
- elixir_version: '1.16'
otp_version: '26.2.5'
otp_version: '25.3.2.18'
- elixir_version: '1.15'
otp_version: '25.3.2.12'
otp_version: '25.3.2.18'
- elixir_version: '1.14'
otp_version: '24.3.4.17'
- elixir_version: '1.13'
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.4.2] - 2025-03-12

### Added

- `mix blend.unlock` to unlock dependencies in blend lockfiles, analogous to `mix deps.unlock`.

## [v0.4.1] - 2024-09-24

### Added
@@ -64,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `mix blend.init`
- `mix blend.get`

[v0.4.2]: https://github.com/mimiquate/blend/compare/v0.4.1...v0.4.2/
[v0.4.1]: https://github.com/mimiquate/blend/compare/v0.4.0...v0.4.1/
[v0.4.0]: https://github.com/mimiquate/blend/compare/v0.3.0...v0.4.0/
[v0.3.0]: https://github.com/mimiquate/blend/compare/v0.2.0...v0.3.0/
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ by adding `blend` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:blend, "~> 0.4.1", only: :dev}
{:blend, "~> 0.4.2", only: :dev}
]
end
```
@@ -171,12 +171,13 @@ BLEND=plug_crypto_1 mix phx.server
## Tasks

```
mix blend.install # Generate blend.exs
mix blend.get # Generate blend lockfiles
mix blend.update --all # Update blend lockfiles to latest possible versions
mix blend.list # List blends
mix blend.clean # Cleans blends build artifacts and stale lockfiles
mix blend.gen.premix # Generate premix.exs file
mix blend.install # Generate blend.exs
mix blend.get # Generate blend lockfiles
mix blend.update --all # Update blend lockfiles to latest possible versions
mix blend.unlock --unused # Clean unused dependencies in blend lockfiles
mix blend.list # List blends
mix blend.clean # Cleans blends build artifacts and stale lockfiles
mix blend.gen.premix # Generate premix.exs file
```


27 changes: 27 additions & 0 deletions lib/mix/tasks/blend/unlock.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
defmodule Mix.Tasks.Blend.Unlock do
@shortdoc "Unlocks dependencies in blend lockfiles"

@moduledoc """
A task to unlock your blend lockfiles dependencies.
"""

use Mix.Task

@requirements ["app.config"]

@impl true
def run(args) do
Blend.blends()
|> Map.keys()
|> Enum.map(fn blend_id ->
IO.puts("Unlocking blend #{blend_id}")

Blend.within(
blend_id,
fn ->
Mix.Task.rerun("deps.unlock", args)
end
)
end)
end
end
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ defmodule Blend.MixProject do

@description "Test your package against different versions of its dependencies"
@source_url "https://github.com/mimiquate/blend"
@version "0.4.1"
@version "0.4.2"

def project do
[
@@ -32,7 +32,7 @@ defmodule Blend.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34.0", only: :dev, runtime: false}
{:ex_doc, "~> 0.37.1", only: :dev, runtime: false}
]
end

12 changes: 6 additions & 6 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%{
"earmark_parser": {:hex, :earmark_parser, "1.4.40", "f3534689f6b58f48aa3a9ac850d4f05832654fe257bf0549c08cc290035f70d5", [:mix], [], "hexpm", "cdb34f35892a45325bad21735fadb88033bcb7c4c296a999bde769783f53e46a"},
"ex_doc": {:hex, :ex_doc, "0.34.2", "13eedf3844ccdce25cfd837b99bea9ad92c4e511233199440488d217c92571e8", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "5ce5f16b41208a50106afed3de6a2ed34f4acfd65715b82a0b84b49d995f95c1"},
"makeup": {:hex, :makeup, "1.1.2", "9ba8837913bdf757787e71c1581c21f9d2455f4dd04cfca785c70bbfff1a76a3", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cce1566b81fbcbd21eca8ffe808f33b221f9eee2cbc7a1706fc3da9ff18e6cac"},
"makeup_elixir": {:hex, :makeup_elixir, "0.16.2", "627e84b8e8bf22e60a2579dad15067c755531fea049ae26ef1020cad58fe9578", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "41193978704763f6bbe6cc2758b84909e62984c7752b3784bd3c218bb341706b"},
"makeup_erlang": {:hex, :makeup_erlang, "1.0.0", "6f0eff9c9c489f26b69b61440bf1b238d95badae49adac77973cbacae87e3c2e", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "ea7a9307de9d1548d2a72d299058d1fd2339e3d398560a0e46c27dab4891e4d2"},
"nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"},
"earmark_parser": {:hex, :earmark_parser, "1.4.43", "34b2f401fe473080e39ff2b90feb8ddfeef7639f8ee0bbf71bb41911831d77c5", [:mix], [], "hexpm", "970a3cd19503f5e8e527a190662be2cee5d98eed1ff72ed9b3d1a3d466692de8"},
"ex_doc": {:hex, :ex_doc, "0.37.3", "f7816881a443cd77872b7d6118e8a55f547f49903aef8747dbcb345a75b462f9", [:mix], [{:earmark_parser, "~> 1.4.42", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "e6aebca7156e7c29b5da4daa17f6361205b2ae5f26e5c7d8ca0d3f7e18972233"},
"makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"},
"makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"},
"makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"},
"nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"},
}