WIP: Elixir 1.19 updates #9

Draft
phnt wants to merge 6 commits from phnt/bbcode:elixir-1.19 into master
Member
  • Bumps dialyxir to 1.4.X (1.4.0)
  • Bumps nimble_parsec to 1.X (1.4)
  • Bumps ex_:doc to 0.X (0.40)
    • Bumped minimum Elixir version to 1.15 thanks to this
  • Bumps credo to 1.X (1.7)
    • Fixes failure to compile on Elixir 1.19 and possibly 1.18
  • import Config instead of deprecated use Mix.Config

Also bumps Gitlab CI, but that is now useless.

* Bumps dialyxir to 1.4.X (1.4.0) * Bumps nimble_parsec to 1.X (1.4) * Bumps ex_:doc to 0.X (0.40) - Bumped minimum Elixir version to 1.15 thanks to this * Bumps credo to 1.X (1.7) - Fixes failure to compile on Elixir 1.19 and possibly 1.18 * `import Config` instead of deprecated `use Mix.Config` Also bumps Gitlab CI, but that is now useless.
== Compilation error in file lib/credo/check/config_comment_finder.ex ==
** (Regex.CompileError) invalid range in character class at position 16
    (elixir 1.19.5) lib/regex.ex:251: Regex.compile!/2
    (elixir 1.19.5) lib/kernel.ex:6649: Kernel.compile_regex/2
    (elixir 1.19.5) expanding macro: Kernel.sigil_r/2
    lib/credo/check/config_comment_finder.ex:9: Credo.Check.ConfigCommentFinder (module)
    (elixir 1.19.5) expanding macro: Kernel.@/1
    lib/credo/check/config_comment_finder.ex:9: Credo.Check.ConfigCommentFinder (module)
warning: using single-quoted strings to represent charlists is deprecated.
    Use ~c"" if you indeed want a charlist or use "" instead.
    You may run "mix format --migrate" to change all single-quoted
    strings to use the ~c sigil and fix this warning.
    │
 66 │     app_file = Atom.to_charlist(app) ++ '.app'
    │                                         ~
    │
    └─ lib/dialyxir/plt.ex:66:41

     warning: using single-quoted strings to represent charlists is deprecated.
     Use ~c"" if you indeed want a charlist or use "" instead.
     You may run "mix format --migrate" to change all single-quoted
     strings to use the ~c sigil and fix this warning.
     │
 114 │     beam = Atom.to_charlist(module) ++ '.beam'
     │                                        ~
     │
     └─ lib/dialyxir/plt.ex:114:40
bbcode_pleroma now requires Elixir 1.15 due to ex_doc requirement.
warning: returning a two-element tuple {acc, context} in pre_traverse/post_traverse is deprecated, please return {rest, acc, context} instead
  (bbcode 0.2.0) BBCode.Parser.span_stanza__25/6
  (bbcode 0.2.0) BBCode.Parser.child_stanza__5/6
  (bbcode 0.2.0) BBCode.Parser.root_stanza__5/6
  (bbcode 0.2.0) BBCode.Parser.parse_tree__3/6
  (bbcode 0.2.0) BBCode.Parser.parse_tree/2
  (bbcode 0.2.0) lib/bbcode/parser.ex:211: BBCode.Parser.parse/1
  (bbcode 0.2.0) lib/bbcode.ex:15: BBCode.to_html/1
  test/bbcode/generator_test.exs:101: BBCode.Generator.Test."test links bare [url] links are rendered properly"/1
  (ex_unit 1.19.5) lib/ex_unit/runner.ex:528: ExUnit.Runner.exec_test/2
  (stdlib 7.2) timer.erl:599: :timer.tc/2
  (ex_unit 1.19.5) lib/ex_unit/runner.ex:450: anonymous fn/6 in ExUnit.Runner.spawn_test_monitor/4

Deprecated since nimble_parsec 1.3.0
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u elixir-1.19:phnt-elixir-1.19
git switch phnt-elixir-1.19

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff phnt-elixir-1.19
git switch phnt-elixir-1.19
git rebase master
git switch master
git merge --ff-only phnt-elixir-1.19
git switch phnt-elixir-1.19
git rebase master
git switch master
git merge --no-ff phnt-elixir-1.19
git switch master
git merge --squash phnt-elixir-1.19
git switch master
git merge --ff-only phnt-elixir-1.19
git switch master
git merge phnt-elixir-1.19
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma-elixir-libraries/bbcode!9
No description provided.