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

Release v3.4.8 #12234

Merged
merged 61 commits into from
Apr 12, 2023
Merged

Release v3.4.8 #12234

merged 61 commits into from
Apr 12, 2023

Conversation

jeremystretch
Copy link
Member

Enhancements

  • #10414 - Enable general purpose image attachments for device types
  • #10600 - Allow custom object fields to reference a user or group
  • #11015 - Remove unit from commit rate column header in circuits table
  • #11431 - Disallow changing custom field type after creation
  • #11453 - Display a warning banner when DEBUG is enabled
  • #12007 - Enable filtering of VM Interfaces by assigned VLAN
  • #12095 - Specify UTF-8 encoding for default export template MIME type
  • #12207 - Introduce the grant_token permission for controlling the creation of API tokens on behalf of other users

Bug Fixes

  • #10221 - Validate generic foreign key relations assigned via REST API requests
  • #11432 - Prevent existing components & component templates from being reassigned to different devices/device types via the REST API
  • #11454 - Raise validation error if generic foreign key assignment does not specify both object type and ID
  • #11746 - Fix cleanup of object data when deleting a custom field
  • #12011 - Fix KeyError exception when attempting to add module bays in bulk
  • #12040 - Display relevant UI tab upon bulk import validation failure
  • #12074 - Fix the automatic assignment of racks to devices via the REST API
  • #12084 - Fix exception when attempting to create a saved filter for applied filters
  • #12087 - Fix bulk editing of many-to-many relationships
  • #12117 - Hide clone button for objects with no clonable attributes
  • #12118 - Fix instantiation of nested inventory item templates when creating a device
  • #12184 - Fix filtered bulk deletion for various models
  • #12190 - Fix form layout for plugin textarea fields
  • #12227 - Fix tenant assignment on bulk import of L2VPNs

jeremystretch and others added 30 commits March 13, 2023 11:59
…ngs (#11880)

* update script template

* update docs

* introduce default_fieldset

* correct custom script docs

* default to use fieldsets in scripts

* update scripts docs for new behavior

* Misc cleanup

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
* Add suppport for REMOTE_AUTH_BACKEND as iterable

* Closes #11977: Support for multiple auth backends

* Tweak list casting

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
…#12014)

* 11933 saved filters clone of content-types and add m2m field cloning

* Fix JSON rendering

* Add content_types to CustomLink.clone()

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
* updated _schedule_at to use local time when _interval is set

* updated schedule_at to use local time when interval is set
…orm (#11996)

* Add vdcs to InterfaceImportForm and InterfaceBulkEditForm

* Filter vdcs queryset by device when bulk importing interfaces
* 12084 change back saved filter saving

* 12084 doc string

* 12084 add test

* Pass SavedFilter initial parameters as JSON & relocate test

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
Change default MIME-Type as discussed under #12095
jeremystretch and others added 28 commits April 3, 2023 16:26
* 11746 delete custom field

* 11746 use filter instead of exclude
* #12087 - Fix Bulk Edit update when M2M operations are present.

* #12087 - Minor tweaks

* Change .set() to .clear()

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* #12087 - Update comments

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Fix skipped API tests

* Remove invalid tests

* Correct logger name
* moved interface filterset under common class #12007

* lint fix
* 10615 filter cable termination_id with cable_end

* 10615 filter distinct

* 10615 filter distinct
)

* Disallow changing customfield type after creation

* Fix test_api.CustomFieldTest

---------

Co-authored-by: kkthxbye-code <>
* added group and user model to object_type

* Update netbox/utilities/utils.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* added model validation for GenericForeignKey

* added ct_field and fk_field null validation

* applied suggestion
…lf of other users (#12192)

* 11091 add permission to allow user to create api tokens for other users

* 11091 update docs

* 11091 fix for test

* 11091 fix for test

* 11091 test case for invalid token creation

* 11091 add test for permission grant

* Cleanup & fix serializer validation

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
* 11432 make device field on interface read-only on api edit call

* 11432 make device field on interface read-only on api edit call

* 11432 extend serializer change to mixin

* 11432 add readonlydevicemixin to template serializers

* 11432 change subclass ordering

* 11432 fix device_type for template serializers

* 11432 DRY

* 11432 DRY

* 11432 make internal var

* 11432 change to model-level validation

* 11432 fix fk accessor

* Clean up validation error messages

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
@jeremystretch jeremystretch merged commit 3c91331 into master Apr 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.