Skip to content

Conversation

tjtelan
Copy link
Owner

@tjtelan tjtelan commented Sep 17, 2025

Fixes #69

  • Change the internal &str to String
  • New impl to replace derived getters

@tjtelan tjtelan merged commit d2a4573 into main Sep 17, 2025
12 checks passed
@tjtelan tjtelan deleted the remove-lifetime branch September 17, 2025 21:29
@github-actions github-actions bot mentioned this pull request Sep 17, 2025
tjtelan pushed a commit that referenced this pull request Sep 18, 2025
## 🤖 New release

* `git-url-parse`: 0.5.3 -> 0.6.0 (⚠ API breaking changes)

### ⚠ `git-url-parse` breaking changes

```text
--- failure type_mismatched_generic_lifetimes: type now takes a different number of generic lifetimes ---

Description:
A type now takes a different number of generic lifetime parameters. Uses of this type that name the previous number of parameters will be broken.
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/type_mismatched_generic_lifetimes.ron
Failed in:
  Struct GitLabProvider (1 -> 0 lifetime params) in /tmp/.tmp4cEC5b/git-url-parse-rs/src/types/provider/gitlab.rs:51
  Struct GenericProvider (1 -> 0 lifetime params) in /tmp/.tmp4cEC5b/git-url-parse-rs/src/types/provider/generic.rs:41
  Struct GitUrl (1 -> 0 lifetime params) in /tmp/.tmp4cEC5b/git-url-parse-rs/src/types/mod.rs:48
  Struct GitUrl (1 -> 0 lifetime params) in /tmp/.tmp4cEC5b/git-url-parse-rs/src/types/mod.rs:48
  Struct AzureDevOpsProvider (1 -> 0 lifetime params) in /tmp/.tmp4cEC5b/git-url-parse-rs/src/types/provider/azure_devops.rs:42
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.6.0](v0.5.3...v0.6.0)
- 2025-09-18

### Added

- Add interoperable support for `url::Url`
([#74](#74))

### Other

- Remove lifetime from GitUrl
([#72](#72))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Implement GitUrl without user facing lifetimes

1 participant