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

Version 0.27.0 #371

Merged
merged 23 commits into from
Dec 15, 2020
Merged

Version 0.27.0 #371

merged 23 commits into from
Dec 15, 2020

Conversation

cimnine
Copy link
Collaborator

@cimnine cimnine commented Dec 15, 2020

Closes https://github.com/netbox-community/netbox-docker/milestone/10
Closes #358

New Behavior

See release notes below

Contrast to Current Behavior

See release notes below

Discussion: Benefits and Drawbacks

See release notes below

Changes to the Wiki

n/a

Proposed Release Note Entry

Noteworthy Changes

This release fixes some bugs and introduces compatibility with Netbox 2.10.x.

Compatibility with Netbox v2.10.x #342

This version of Netbox Docker is compatible with Netbox v2.10.x.
A change in how Custom Fields are handled breaks compatibility with older versions.
Please perform the following changes to your initializer YAML files:

  • Rename custom_fields to custom_field_data in every domain object (e.g. site.yml)
      - name: AMS 1
        slug: ams1
        region: Downtown
        status: active
        facility: Amsterdam 1
        asn: 12345
    -   custom_fields:
    +   custom_field_data:
          text_field: Description for AMS1
  • Change the choices array for select custom fields in custom_fields.yml like this:
      legacy_select_field:
        type: select
        on_objects:
        - dcim.models.Device
        choices:
    -   - value: First Item
    -     weight: 10
    -   - value: Second Item
    -     weight: 20
    -   - value: Third Item
    -     weight: 30
    +   - First Item
    +   - Second Item
    +   - Third Item

Netbox Docker is mirrored to Quay.io #369

Netbox Docker will from now on be pushed to quay.io/netboxcommunity/netbox as well.
You can pull and use it like so:

docker pull quay.io/netboxcommunity/netbox:latest

This offers a fallback should Docker Hub not be available or should you have reached a usage limit of some sorts.

Fix LDAP configuration not applied #354

From now on, unless AUTH_LDAP_REQUIRE_GROUP is declared, no group-related requests will be made to LDAP server. This change is required for compatibility with Google's Secure LDAP service.

Upgrade Python image to 3.9-alpine #348

We updated the underlying Python version to 3.9.

Note: Since we're planing to move from python:3.9-alpine to alpine:3.x images we may downgrade to Python 3.8 again in the future. Please follow the PR #361.

New SESSIONS_ROOT environment variable #356

There is a new environment variable, SESSIONS_ROOT, that controls Django's SESSIONS_FILE_PATH.

Fix TypeError when using LOGIN_TIMEOUT #359

There was an issue that LOGIN_TIMEOUT could not be defined.

Introducing our Github Community #370

Github recently made the Discussions feature available in Beta. We've opted to try this feature in order to lower the barrier for getting help. For now, the NetworkToCode Slack will remain available and active.

Compatibility

This version of Netbox Docker is only compatible with Netbox v2.10.x. For older versions use a previous release of Netbox Docker.

Known Issues

There are no confirmed issues at the time of writing this. See the issues labelled bug in our issues section.

Double Check

  • I have read the comments and followed the PR template.
  • I have explained my PR according to the information in the comments.
  • My PR targets the develop master branch.

tobiasge and others added 23 commits October 26, 2020 16:25
Upgrade the default base image to Python 3.9 and start testing on Python 3.10-rc
Some of the dependencies of Netbox can't be built with Python 3.10.
…vironment variables are not defined. This is required in order to work with Google's Secure LDAP, due to some limitations on django-auth-ldap plugin (see: django-auth-ldap/django-auth-ldap#201)
…ional

Allow disabling LDAP-group related settings when AUTH_LDAP_*_GROUP environment variables are not defined
Upgrade Python image to 3.9-alpine
Fix TypeError when using LOGIN_TIMEOUT
This was only used for testing.
Add quay.io as fallback registry
@cimnine cimnine added the maintenance The issue describes a maintenance task, such as upgrading a dependency to a certain version. label Dec 15, 2020
@cimnine cimnine added this to the 0.27.0 milestone Dec 15, 2020
@cimnine cimnine requested a review from tobiasge December 15, 2020 08:29
@cimnine cimnine merged commit aa4d630 into release Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance The issue describes a maintenance task, such as upgrading a dependency to a certain version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError when using LOGIN_TIMEOUT
5 participants