-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Release v4.0.0 #15975
Merged
Merged
Release v4.0.0 #15975
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closes #15277: Standardize names & model for ContentType ForeignKeys
* 10587 temp commit * 10587 temp commit * 10587 fix migrations * 10587 pagination * 10587 pagination * 10587 pagination * 10587 review changes
* 15831 monkeypatch LDAP _mirror_group function for NB4 * 15831 monkeypatch LDAP _mirror_group function for NB4 * 15831 monkeypatch LDAP _mirror_group function for NB4 * Move the modified _mirror_groups() method to a separate module to retain license * 15831 fix import * 15831 fix import --------- Co-authored-by: Jeremy Stretch <[email protected]>
* 15802 change table anchor color * 15802 make link color lighter * 15802 lighten table color * 15802 add comment --------- Co-authored-by: Jeremy Stretch <[email protected]>
…ated to slim select (#15918) * slim-select-pagination-bug-fix : fixed several bugs related to slim select search box gui element 1. If user enters a search text in the filter text box, the user will not be able to scroll to the next page. That is the user will only be able to see the first page of returned item with a none empty search string. 2. User will not be able to select an item returned from search query if user clicks reload after a dynami search. When the user is able to load a second page, the user will be able to select an item from the third+ page if previous bug is fixed. * Recompile static assets --------- Co-authored-by: Jeremy Stretch <[email protected]>
#15950) * Replace plugins list with an overall system status view * Enable export of system status data
100% translated source file: 'django.po' on 'ja'.
* 15934 update documentation screenshots * 15934 update documentation screenshots * 15934 update documentation screenshots * Update cable trace screenshot --------- Co-authored-by: Jeremy Stretch <[email protected]>
Prep for v4.0 release
* Translate django.po in fr 100% translated source file: 'django.po' on 'fr'. * Translate django.po in ja 100% translated source file: 'django.po' on 'ja'. * Translate django.po in pt 100% translated source file: 'django.po' on 'pt'. * Translate django.po in ru 100% translated source file: 'django.po' on 'ru'. * Translate django.po in es 100% translated source file: 'django.po' on 'es'. * Translate django.po in tr 100% translated source file: 'django.po' on 'tr'. --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Changes
device_role
&device_role_id
filters for devices have been removed. (Userole
androle_id
instead.)device_role
field has been removed from the REST API serializer for devices. (Userole
instead.)parent
andparent_id
filters for locations now return only immediate children of the specified location. (Useancestor
andancestor_id
to return all descendants.)object_type
field on the CustomField model has been renamed torelated_object_type
.utilities.utils
module has been removed and its resources reorganized into separate modules organized by function.NullableCharField
class has been removed. (Use Django's stockCharField
class withnull=True
instead.)annotated_date
template filter andannotated_now
template tag have been removed.New Features
Complete UI Refresh (#12128)
The NetBox user interface has been completely refreshed and updated. This massive effort entailed:
Dynamic REST API Fields (#15087)
The REST API now supports specifying which fields to include in the response data. For example, the response to a request for
will include only the four specified fields in the representation of each site. Additionally, the underlying database queries effected by such requests have been optimized to omit fields which are not included in the response, resulting in a substantial performance improvement.
Strawberry GraphQL Engine (#9856)
The GraphQL engine has been changed from using Graphene-Django to Strawberry-Django. Changes include:
Advanced Form Rendering Functionality (#14739)
New resources have been introduced to enable advanced form rendering without a need for custom HTML templates. These include:
Legacy Admin UI Disabled (#12325)
The legacy admin user interface is now disabled by default, and the few remaining views it provided have been relocated to the primary UI. NetBox deployments which still depend on the legacy admin functionality for plugins can enable it by setting the
DJANGO_ADMIN_ENABLED
configuration parameter to true.Enhancements
htmx_table
template tag to simplify the rendering of embedded tablesfacility
field to Location modeldescription
field in "brief" REST API serializationsnested
keyword argument allowing it to represent a related objectis_staff
restriction on admin menu itemsvc_position
fieldBug Fixes (from Beta2)
EXEMPT_EXCLUDE_MODELS
to reference new user & group modelsOther Changes
DJANGO_ADMIN_ENABLED
to True to enable it)extras.plugins
(nownetbox.plugins
)ActionsMixin
process_webhook()
fromextras.webhooks_worker
(nowextras.webhooks.send_webhook()
)BootstrapMixin
form mixin classready()
method of individual app configs, rather than relying on theclass_prepared
signaldevice_role
anddevice_role_id
filters for devicesNullableCharField
classpsycopg
librarydevice_role
attribute from Device model (this field was renamed torole
in v3.6)object_type
field on the CustomField model has been renamed torelated_object_type
to avoid confusion with itsobject_types
fieldutilities.utils
moduleannotated_date
template filter &annotated_now
template tagENABLE_LOCALIZATION
configuration parametersettings_and_registry()
context processor