Skip to content

Tags: paname75/nsot

Tags

v1.4.4

Toggle v1.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request dropbox#347 from nickpegg/release-v1.4.4

Release v1.4.4

v1.4.3

Toggle v1.4.3's commit message
release 1.4.3

v1.4.2

Toggle v1.4.2's commit message
release 1.4.2

v1.4.1

Toggle v1.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request dropbox#333 from nickpegg/release-v1.4.1

Release v1.4.1

v1.4.0

Toggle v1.4.0's commit message
Release v1.4.0

v1.3.0

Toggle v1.3.0's commit message
Release v1.3.0

- Includes changelog and documentation updates.

v1.2.3

Toggle v1.2.3's commit message
Merge branch 'master' into release-v1.2.3

v1.2.2

Toggle v1.2.2's commit message
Release v1.2.2

v1.2.1

Toggle v1.2.1's commit message
Release v1.2.1

v1.2.0

Toggle v1.2.0's commit message
Release v1.2.0 (dropbox#293)

* Implement natural keys as primary keys for related fields (dropbox#292)

Closes dropbox#262

API
- Natural keys can now be used any place a primary key could be used for
  related fields on Interfaces and Circuits.
- For Circuits, the default is now to display the A/Z endpoint interfaces by
  their natural key (e.g. `device_hostname:name` format).
- For Interfaces, the Device hostname may now be used to create or retrieve
  interfaces (no more need to lookup the Device ID first)
- Bugfix in `NsotSerializer` when `view` isn't part of the context that caused a
  crash.
- Interface now has a `name_slug` field that can be used for natural
  key lookups. This is now also officially the natural key field.
- Network now has a `cidr` field that can be used for displaying
  the `network_address/prefix_length` without additional effort
- Network now has a `parent` field that can be used for displaying
  the parent CIDR without an additional lookup
- All underlying serializer code has been streamlined to reduce code
  duplication where possible.
- All "update" serializers have been moved to subclasses of "partial
  update" serializers with extra required fields specified as "extra
  kwargs" vs. re-defining the fields.
- The fields for `site_id` and `attributes` have been moved to the base
  `ResourceSerializer` since ALL resources inherit these anyways.

Util
- Util stats functions can now be directly imported from `nsot.util`