Nsot

Latest version: v1.4.6

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 20

0.10.1

-------------------

* Improved indexing on common attribute-value lookups.
* All attribute-value lookups are index now by the most commonly used
search patterns (name, value, resource_name) and (resource_name,
resource_id)
* Moved Interface.get_networks() and Interface.get_addresses() to used
concrete JSON cache fields on the objects. This is a huge query-time
optimization.
* Tweaked admin panel fields a little bit to remove references to now
defunct 'Resource' objects.

0.10

-----------------

* Overhauled the relationship between Values and Resources.
* Drastic performance improvement and more accurate indexing of
attribute Values in databases with millions of rows.
* Got rid of multi-table inheritance from base Resource model that was
used to allow a generic foreign key from attribute Values to Resources
(Devices, Networks, Interfaces are all resources)
* All Resource subclasses are *abstract* now. Which means the model
fields they inherit are concrete on their own table.
* The Value object does not have an FK, and instead has a composite
primary key to (resource_name, resource_id) … for example ('Device',
16999) which is indexed together.
* The Attribute name is now also stored in a concrete field on the
Value at creation, eliminating a lookup to the Attribute table.
* All of these changes are accounted for in the database migrations, but
need to be done carefully! It's going to be quicker and easier for
databases that don't have Interfaces.

0.9.4

------------------

* Bug and performance fixes for Interface objects.
* Fix poor performance when there are lots of Interface objects.
* Bugfix to missing interface type 53 (proprietary virtual/internal)
* Added ``smart_selects==1.1.1`` so that FK lookups on Interface.parent
will be limited to owning Device.
* Temporarily convert Interface.parent_id to raw ID field, until an
autocomplete feature can be added to the browsable API.
* Updated unit tests to validated CRUD for Interface.parent_id.

0.9.3

------------------

* Fix a 500 crash when database ``IntegrityError`` happens.

+ This will now be treated as a ``409 CONFLICT``.

0.9.2

------------------

Schema change to fix confusion when selecting parent objects.

* Benchmarks for Network and Interface objects are a *little* faster now
too, direct table access for parent.
* Device objects no longer have an extraneous parent attribute.

0.9.1

------------------

* Enhanced and clarified sections in README.rst
* Converted README from .md to .rst
* Clarified virtualenvwrapper instructions (fix 90)
* Made use of git clone more explicit (fix 91)
* Updated required version of Django REST Framework to v3.2.4

Page 14 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.