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 2.1.6 #5381

Merged
merged 25 commits into from
Mar 4, 2024
Merged

Release 2.1.6 #5381

merged 25 commits into from
Mar 4, 2024

Conversation

glennmatthews
Copy link
Contributor

@glennmatthews glennmatthews commented Mar 4, 2024

What's Changed

Lots of fixes in this release!

Security

  • #5319 - Updated cryptography to 42.0.4 due to CVE-2024-26130. This is not a direct dependency so will not auto-update when upgrading. Please be sure to upgrade your local environment.

Added

  • #5172 - Added Collapse Capable Side Navbar: Side Navbar is now able to be expanded and collapsed
  • #5172 - Added Expandable Main Content: The Main Content part of the UI grows as the Side Navbar collapses and shrinks as the Side Navbar expands.
  • #5172 - Added Better mobile friendly bottom navbar: This update will switch to vertically aligned bottom nav menu items once a certain media query is hit, making for a better mobile experience.
  • #5172 - Added automatic Side Navbar collapse for mobile devices. This is based on media query and will trigger at specific width.
  • #5329 - Added caching of ChangeLoggedModelsQuery().as_queryset() to improve performance when saving many objects in a change-logged context.

Changed

  • #5082 - Adjusted Edit / Create panels to occupy more page width on medium and large screens.

Fixed

  • #4106 - Fixed inefficient query in VirtualMachine create form.
  • #4419 - Re-added NavMenuButton back into nautobot.apps.ui module.
  • #5172 - Fixed Brand Icon mouseover Background: Fix for mouseover effect on the Brand / Icon (was flashing white background vs being transparent) when in dark mode.
  • #5307 - Fixed Custom Field form field(s) missing from git repository edit form.
  • #5309 - Fixed Tenant UI detail view breadcrumb with invalid TenantGroup filter link.
  • #5309 - Fixed TenantGroup UI detail view with invalid "add tenant" button invalid query_params link.
  • #5309 - Fixed DeviceForm invalid cluster field query_params.
  • #5309 - Fixed PrefixForm invalid vlan and vlan_group fields query_params.
  • #5311 - Fixed dependencies in various migration files.
  • #5332 - Fixed Docker image missing OS-level dependencies for SSO (SAML) support.
  • #5334 - Fixed migration from 1.x failing when specific duplicate prefixes are present.
  • #5343 - Fixed incorrect reference for device.device_role on the Rack detail view for non-racked device objects.
  • #5345 - Fixed intermittent 405 errors when using the Docker image with SAML authentication.
  • #5346 - Fixed device LLDP view to work when interface names include a space.
  • #5365 - Fixed invalidate_max_depth_cache itself calculating max_depth on querysets without tree fields.

Documentation

  • #4419 - Added documentation on nautobot.apps import locations.
  • #4419 - Added documentation about the supported public interfaces.
  • #4419 - Removed some incorrect content from the documentation about nav menu changes that were reverted during 2.0 development.
  • #4511 - Added documentation on how to correctly implement NautobotUIViewSet with custom views.
  • #5284 - Added a quick overview of the most used models.
  • #5311 - Added documentation on writing custom migrations.
  • #5326 - Fixed simple typo in creating-location-types-and-locations.md.
  • #5330 - Updated SSO documentation to include a view for presenting SAML metadata.
  • #5345 - Added a note to the Nautobot installation documentation about the need to do pip3 install --no-binary=pyuwsgi in order to have SSL support in pyuwsgi.
  • #5345 - Added a note to the SSO documentation about the need to do pip3 install --no-binary=lxml to avoid incompatibilities between lxml and xmlsec packages.

HanlinMiao and others added 22 commits February 21, 2024 12:12
* Fixed dependencies in various migration files.

* Added documentation on writing custom migrations.
* Added a quick overview of the most used models.

* Change to fundamental models

* Apply suggestions from code review

Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>

---------

Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>
Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
* fix docs typo

See #5

@edwardtheharris - xandertheharris@gmail.com

Xander Harris

Changelog: fixed

* rename changelog fragment

* rename changelog file

* edit changelog

---------

Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
Co-authored-by: Hanlin Miao <hanlin980505@gmail.com>
Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>
* Bump cryptography from 42.0.2 to 42.0.4

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Change fragment

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>
* Updates for NavMenu, startplugin, and docs

* Apply suggestions from code review

Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>

* revert import

* Apply suggestions from code review

Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>

* Add note about public interface signature

* Code review feedback

* Update data table

---------

Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
…b_hooks() (#5329)

* Add caching of ChangeLoggedModelsQuery().as_queryset() for enqueue_job_hooks()

* Renumber change fragment

* Add maxsize

* Fix jobhook tests

* Change maxsize to None
…y edit form. (#5366)

* Fixed Custom Field form field(s) missing from git repository edit form.

* ruff fix

* add generic tests to test object_note and tags field presence in ModelForms

* apply PR suggestions

* The method name is the `action` in Django REST Framework terms.
* The `action` will be used for [template lookup](#template-naming-for-nautobotuiviewset)
* The `action` will be used for URL naming and construction (`plugins:<app>:<model>_<action>`, `/plugins/<app>/<model>/<uuid>/<action>/`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think we changed the app namespace plugins yet. But I just want to make sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, we have not.

nautobot/docs/development/core/index.md Outdated Show resolved Hide resolved
Co-authored-by: Hanlin Miao <46973263+HanlinMiao@users.noreply.github.com>
@glennmatthews glennmatthews merged commit f5477b4 into main Mar 4, 2024
17 checks passed
@glennmatthews glennmatthews deleted the release/2.1.6 branch March 4, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet