Remove deprecated `SentryHttpLayer::with_transaction`

Aperta
#1,377 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Start with sentry-tower/src/http.rs and inspect SentryHttpLayer::with_transaction and its replacement, SentryHttpLayer::new().enable_transaction(). Check for other references to the deprecated method and follow the project’s guidance for removing public APIs in a breaking release. Done means the deprecated method is removed in the breaking release without leaving references that depend on it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

breaking change

SentryHttpLayer::with_transaction in sentry-tower/src/http.rs has been deprecated since 0.38.0 (#771) in favor of SentryHttpLayer::new().enable_transaction(). It is the oldest remaining deprecation in the repo. Removing it is a public API break, so it belongs in the next breaking release.

via @szokeasaurusrex.

--

View Junior Session [Sentry]

Lingua principale
Rust
Stelle
755
Fork
192
Merge medio
3g 9h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-rust

Tutte le issue di getsentry/sentry-rust

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.