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

Remove legacy slug-based URL redirection #8031

Closed
jeremystretch opened this issue Dec 9, 2021 · 0 comments
Closed

Remove legacy slug-based URL redirection #8031

jeremystretch opened this issue Dec 9, 2021 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: deprecation Removal of existing functionality or behavior
Milestone

Comments

@jeremystretch
Copy link
Member

Proposed Changes

Prior to NetBox v2.11, the following models used slugs in their URL paths:

  • circuits.Provider
  • dcim.Site
  • tenancy.Tenant

In v2.11, these were standardized to use numeric keys like all other NetBox models, however an automatic redirection was left in place for backward compatibility (see #6097).

This issue proposes removing this redirection functionality as it is no longer needed.

Justification

Slugs are no longer used to identify objects in URL paths, and ample time has been provided between releases for users to update any external systems referencing NetBox by these legacy paths.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: deprecation Removal of existing functionality or behavior labels Dec 9, 2021
@jeremystretch jeremystretch added this to the v3.2 milestone Dec 9, 2021
@jeremystretch jeremystretch self-assigned this Dec 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: deprecation Removal of existing functionality or behavior
Projects
None yet
Development

No branches or pull requests

1 participant