-
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 v3.5.0 #12371
Merged
Merged
Release v3.5.0 #12371
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
… unique ID of each request for change logging
* Enable HTMX rendering for embedded tables * Start converting embedded tables to use HTMX (WIP) * Additional table conversions (WIP) * Standardize HTMX usage for nested group models * Enable HTMX for additional emebedded tables * Fix HTMX table rendering for ObjectChildrenView * Standardize usage of inc/panel_table.html * Hide selection boxes in embedded tables
…nlyModelViewSet
* WIP * WIP * Add git sync * Fix file hashing * Add last_synced to DataSource * Build out UI & API resources * Add status field to DataSource * Add UI control to sync data source * Add API endpoint to sync data sources * Fix display of DataSource job results * DataSource password should be write-only * General cleanup * Add data file UI view * Punt on HTTP, FTP support for now * Add DataSource URL validation * Add HTTP proxy support to git fetcher * Add management command to sync data sources * DataFile REST API endpoints should be read-only * Refactor fetch methods into backend classes * Replace auth & git branch fields with general-purpose parameters * Fix last_synced time * Render discrete form fields for backend parameters * Enable dynamic edit form for DataSource * Register DataBackend classes in application registry * Add search indexers for DataSource, DataFile * Add single & bulk delete views for DataFile * Add model documentation * Convert DataSource to a primary model * Introduce pre_sync & post_sync signals * Clean up migrations * Rename url to source_url * Clean up filtersets * Add API & filterset tests * Add view tests * Add initSelect() to HTMX refresh handler * Render DataSourceForm fieldsets dynamically * Update compiled static resources
…h NumberWithOptions
* 12288 add servers to spectacular settings * 12288 standardize quotes * Account for BASE_PATH --------- Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
…12285) * #12278 add serializer for ipaddressfield to remove spectacular warnings * #12278 add ipaddressfieldserializer to nested serializers * #12278 fix to_internal_value to_representation in serializer * #12278 to_internal_value is called before validation! need to raise validation error if incorrect format * #12278 to_internal_value needs to return value doh * #12278 move IPAddressField to field_serializers * #12278 remove old import * 12278 remove validator
* wip * wip * updated description on viewset * fixed model name * Update schema.py * Update schema.py
Prepare for v3.5.0 release
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
account
field has been removed from the provider model. This information is now tracked using the new provider account model. Multiple accounts can be assigned per provider.SECRET_KEY
configuration parameter.extras
app tocore
and renamed to Job. Accordingly, its REST API endpoint has been moved from/api/extras/job-results/
to/api/core/jobs/
.obj_type
field on the Job model (previously JobResult) has been renamed toobject_type
for consistency with other models.JOBRESULT_RETENTION
configuration parameter has been renamed toJOB_RETENTION
.obj
context variable is no longer passed when rendering custom links: Useobject
instead./api/docs/
is now/api/schema/swagger-ui/
/api/redoc/
is now/api/schema/redoc/
New Features
Customizable Dashboard (#9416)
The static home view has been replaced with a fully customizable dashboard. Users can construct and rearrange their own personal dashboard to convey the information most pertinent to them. Supported widgets include object statistics, configurable object lists, RSS feeds, and notes, and we expect to continue adding new widgets over time.
Remote Data Sources (#11558)
NetBox now has the ability to synchronize arbitrary data from external sources through the new DataSource and DataFile models. Synchronized files are stored in the PostgreSQL database, and may be referenced and consumed by other NetBox models, such as export templates and config contexts. Currently, replication from local filesystem paths, git repositories, and Amazon S3 buckets is supported, and we expect to introduce additional backends in the near future.
Configuration Template Rendering (#11559)
This release introduces the ability to render device configurations from Jinja2 templates natively within NetBox, via both the UI and REST API. The new ConfigTemplate model stores template code (which may be defined locally or sourced from remote data files). The rendering engine passes data gleaned from both config contexts and request parameters to generate complete configurations suitable for direct application to network devices.
NAPALM Integration Plugin (#10520)
The NAPALM integration feature found in previous NetBox releases has been moved from the core application to a dedicated plugin. This allows greater control over the feature's configuration and will unlock additional potential as a separate project.
ASN Ranges (#8550)
A new ASN range model has been introduced to facilitate the provisioning of new autonomous system numbers from within a prescribed range. For example, an administrator might define an ASN range of 65000-65099 to be used for internal site identification. This includes a REST API endpoint suitable for automatic provisioning, very similar to the allocation of available prefixes and IP addresses.
Provider Accounts (#9047)
A new model has been introduced to represent individual accounts within a common circuit provider. This replaces the
account
field on the provider model, enabling users to track multiple accounts per provider. New provider account instances will be created automatically during upgrade for all providers which currently have an account assigned. The assignment of individual circuits to a provider account remains optional.Job-Triggered Webhooks (#8958)
Two new webhook trigger events have been introduced:
job_start
andjob_end
. These enable users to configure webhook to trigger when a background job starts or ends, respectively. This new functionality can be used, for example, to inform a remote system when a custom script has been executed.Enhancements
X-Request-ID
HTTP header to annotate the unique ID of each request for change loggingscheduling_enabled
settings for reports & scriptsenabled
field for device type interfacesSECRET_KEY
configuration parameterBug Fixes (From Beta2)
servers
definition in OpenAPI specOther Changes
extra_tabs
block fromobject.html
generic templateNetBoxModelCSVForm
class (replaced byNetBoxModelImportForm
)SmallTextarea
form widgetChangeLoggedModel
now inheritsWebhooksMixin
StaticSelect
andStaticSelectMultiple
form widgetsCSVDataField
andCSVFileField
classesextras.JobResult
tocore.Job