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

Switch to warning/1 with updated build matrix #495

Merged
merged 8 commits into from
Nov 1, 2023
Merged

Conversation

sorentwo
Copy link
Collaborator

This swiitches from Logger.warn to Logger.warning because warn is deprecated, and the upcoming Elixir 1.15 shows a compile-time warning. The warning alternative was introduced in Elixir 1.11, so we're officially updating the build matrix to support 1.11 as the minimum Elixir version.

Closes #493

Copy link
Member

@subzero10 subzero10 left a comment

Choose a reason for hiding this comment

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

LGTM! Can you also add an entry in CHANGELOG.md? No need!
I just remembered that adding a changelog entry can be done at the publish step:
image

@subzero10
Copy link
Member

@sorentwo Since we are bumping the minimum required version of Elixir, should this be a major version release?

Finally, the tests are failing, can you make sure they pass so that we can merge?

Thanks!

@tjchambers
Copy link

What can I do to help get this across goal line?

@sorentwo
Copy link
Collaborator Author

@tjchambers Sorry, I totally forgot about this one.

@tjchambers
Copy link

bump?

@sorentwo
Copy link
Collaborator Author

@subzero10 @tjchambers, some extra work was required to get this passing cleanly. All set now!

@subzero10
Copy link
Member

I think we can merge and push a release as soon as the conflicts are resolved.

This swiitches from `Logger.warn` to `Logger.warning` because `warn` is
deprecated and Elixir 1.15 shows a compile-time warning. The `warning`
alternative was introduced in Elixir 1.11, so we're updating the build
matrix to officially support 1.11 as the minimum Elixir version.
Only applications that aren't listed as depenencies, or their
sub-dependencies, should be listed.
Config files are meant for applications, not libraries.
@sorentwo
Copy link
Collaborator Author

sorentwo commented Nov 1, 2023

@subzero10 Rebased. Once CI passes, I'll merge it.

@sorentwo sorentwo merged commit 00617bd into master Nov 1, 2023
2 checks passed
@sorentwo sorentwo deleted the logger-warning branch November 1, 2023 19:15
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.

Logger.warn is deprecated
3 participants