Skip to content

Conversation

@midigofrank
Copy link
Collaborator

Description

This PR [adds/changes/fixes]... (A description of your work goes here.)

Closes #4098
Closes #4060 
Closes #4058
Closes #3870
Closes #3726
Closes #3481

Validation steps

  1. (How can a reviewer validate your work?)

Additional notes for the reviewer

https://hexdocs.pm/tesla/v1-macro-migration.html

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

Pre-submission checklist

  • I have performed a self-review of my code.
  • I have implemented and tested all related authorization policies. (e.g., :owner, :admin, :editor, :viewer)
  • I have updated the changelog.
  • I have ticked a box in "AI usage" in this PR

@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 9, 2026
midigofrank and others added 2 commits January 9, 2026 09:17
Remove deprecated `use Tesla` and `plug` macros in favor of explicit
Tesla.client() calls with middleware configuration. This migration:

- Removes all `use Tesla` declarations
- Converts `plug` macros to explicit middleware lists
- Adds adapter helper functions for test compatibility
- Updates all HTTP method calls to use Tesla.* prefix

All Tesla clients now use explicit client building with middleware
and adapter configuration via Application.get_env.

Fixes deprecation warnings from Tesla 1.15+ upgrade.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

3 participants