Commit Graph

22 Commits

Author SHA1 Message Date
Jeremy Stretch 5f06007e4c Release v4.7.0 2026-09-02 14:40:04 -04:00
Jeremy Stretch 6345ed1de2
Misc. cleanup ahead of the v4.7.0 release (#23084) 2026-09-01 08:32:44 -07:00
Jeremy Stretch aa1d49d0f5 Release v4.7.0-beta2 2026-08-26 15:29:15 -04:00
Jeremy Stretch cd87ab3159
Fixes #23010: Defer bulk changes to object data when adding/removing a custom field (#23011) 2026-08-26 10:51:59 -07:00
Jeremy Stretch 38e21a5726
Closes #22959: Notify the reader to confirm database user permission before upgrading (#22976)
Document the database permissions required to install the ltree extension
during an upgrade to NetBox v4.7. Clarify that installations following the
standard PostgreSQL setup already satisfy this requirement through database
ownership.

Provide commands for granting the database-level CREATE privilege where
needed, along with an administrator pre-installation option for deployments
using a restricted NetBox database role.

Co-authored-by: Martin Hauser <mhauser@netboxlabs.com>
2026-08-19 18:05:02 +02:00
Jeremy Stretch 9c163ba2dd Release v4.7.0-beta1 2026-08-17 13:34:29 -04:00
Jeremy Stretch a148e2123b
Closes #22942: Upgrade to Django 6.1 (#22943) 2026-08-16 20:39:29 +02:00
Jeremy Stretch 9abbebe392 Add v4.7 release notes 2026-08-14 13:53:02 -04:00
Jeremy Stretch bd529761bc Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 09:18:07 -04:00
Jeremy Stretch b277d92654 Remove the custom querystring template tag (closes #19091)
Removes the deprecated querystring template tag from utilities/templatetags/
helpers.py and updates all 30 call sites across templates to use Django's
built-in querystring tag (available since Django 5.1). The request argument
is dropped since the built-in tag reads from the template context automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 09:18:07 -04:00
Jeremy Stretch 14f3d9c791 Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:54:50 -04:00
Jeremy Stretch 0ac9f5c174 Raise minimum required PostgreSQL version from 14 to 15 (closes #20546)
PostgreSQL 14 reaches end-of-life in November 2026 and Django 6.1 will
require PostgreSQL 15+. Updates all documentation references from 14 to
15, and removes the "needed on PostgreSQL 15 and later" conditional
comment from the database creation instructions (since 15 is now the
minimum).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:54:50 -04:00
Jeremy Stretch 5cfcdf9b7a Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:51:46 -04:00
Jeremy Stretch 3b145a9c3d Remove the `models` key from the application registry (closes #21891)
Drops the deprecated registry['models'] key, the __getitem__ deprecation
warning, and the population code in register_model(). Registered models
should be retrieved via ObjectType.objects.public() instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:51:46 -04:00
Jeremy Stretch 4d9e4838d4 Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:50:10 -04:00
Jeremy Stretch 4418beeb07 Remove support for legacy action views (closes #21888)
Drops the LEGACY_ACTIONS constant and ActionsMixin._convert_legacy_actions()
method. Action views must now define the actions attribute as a list of
ObjectAction subclasses rather than as a legacy permission dict.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:50:10 -04:00
Jeremy Stretch ce1691663d Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:49:19 -04:00
Jeremy Stretch 5b20197e97 Drop support for deprecated Sentry config parameters (closes #21883)
Removes SENTRY_DSN, SENTRY_SAMPLE_RATE, SENTRY_SEND_DEFAULT_PII, and
SENTRY_TRACES_SAMPLE_RATE. These were superseded by SENTRY_CONFIG in
v4.4.2. Documentation updated to use SENTRY_CONFIG exclusively.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:49:19 -04:00
Jeremy Stretch 9e70e297a5 Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:47:03 -04:00
Jeremy Stretch 9275db607e Remove the DEFAULT_ACTION_PERMISSIONS constant (closes #21886)
Removes the deprecated _DEFAULT_ACTION_PERMISSIONS dict and its
__getattr__ compatibility shim from netbox/constants.py. Action
permissions should be defined via ObjectAction subclasses.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:47:03 -04:00
Jeremy Stretch 2562216006 Remove v4.7 release notes from branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:45:20 -04:00
Jeremy Stretch a59ab6f216 Removes the `housekeeping` management command (closes #21565)
The command was deprecated in v4.6.0; all housekeeping tasks are now
handled automatically by NetBox's built-in job scheduler.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 08:45:20 -04:00