Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 1.0.4 + miscellaneous maintenance #102

Merged
merged 13 commits into from
Jan 24, 2022
Merged

Bump to 1.0.4 + miscellaneous maintenance #102

merged 13 commits into from
Jan 24, 2022

Conversation

QuinnWilton
Copy link
Member

This is another small release that mostly updates dependencies and performs some miscellaneous maintenance. Importantly though, it updates to the new versions of quark and type_class, which add compatibility for running under Elixir 1.13.

Making these changes did reveal a risk that we may need to be aware of though: it looks like ^^^ may be deprecated and planned for removal in Elixir 2.0.0. I'm waiting on clarification from the core team as to whether the operator is being removed entirely, or whether it's just its use in Bitwise.bxor/2 that's being removed, but that can be tracked here: elixir-lang/elixir#11590

Depending on their response, I'll make an issue to track finding a solution in witchcraft for the operator's use with Arrows.

This resolves a deprecation warning to do with calling `use Mix.Config`
Since libraries aren't intended to set application config anyway,
we should just delete the directory.
By default, if MIX_ENV is unset, mix tasks run using the :dev
environment. This is required to ensure that tests are run when
calling `mix quality` with no explicit environment.
The `...>` notation is reserved for multiline expressions. If the
previous expression is intended to be ignored, then no changes in
the syntax are required.

This resolves a number of warnings about unused literals and
causes some missed tests to be run correctly.
This resolves a compile warning.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting a PR 🎉 It's very appreciated!

The first is a pattern that's very common within the codebase,
and the second is incompatible with Semigroupoid.apply/2
Comment on lines +12 to +15
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100},
{Credo.Check.Readability.PipeIntoAnonymousFunctions, false},
# This rule incorrectly flags uses of Witchcraft.Semigroupoid.apply/2
{Credo.Check.Refactor.Apply, false}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I wonder if we should rework the relevant parts of the library to make them compatible with the updated community naming conventions 🤔 I'll open an Issue at minimum.

Copy link
Member

@expede expede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@QuinnWilton QuinnWilton merged commit af3e4ee into main Jan 24, 2022
@QuinnWilton QuinnWilton deleted the quinn/1.0.4 branch February 3, 2022 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants