fix: revert igniter dep to optional: true for v0.4.1#63
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 5 files with indirect coverage changes 🚀 New features to boost your workflow:
|
e660bee to
71d6d3f
Compare
This was referenced May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
In permit v0.4.0 (as well as permit_ecto v0.3.0, permit_phoenix v0.5.0, permit_absinthe v0.3.0) we messed up a little bit with the way they depend on
igniter: instead ofoptional: truewe made themonly: [:dev, :test]aiming to not require the developer to addigniterto their mixfile.This was wrong because with
only: [:dev, :test], igniter was excluded entirely from the compiled app code and theMix.Tasks.Permit.Installmodule was never defined. With optional: true, igniter compiles into the project when explicitly added (or when mix igniter.install permit pulls it in), so the task becomes available.Let's stick to the standard in most Igniter-powered libs and revert to
optional: true.Description
Type of Change
Related Issues
Fixes #
Closes #
Related to #
Changes Made
Testing
Test Environment
Test Cases
Test Commands Run
Documentation
Code Quality
Backward Compatibility
Breaking Changes
Performance Impact
Performance Notes
Security Considerations
Additional Notes
Screenshots/Examples
# Example usage of new featureChecklist
Reviewer Notes