=====================
Model Changes
-------------
- Updates to the ``biz``, ``econ``, ``inet``, ``meta``, ``ou`` ``risk``,
and ``transit`` models.
(`3561 <https://github.com/vertexproject/synapse/pull/3561>`_)
(`3756 <https://github.com/vertexproject/synapse/pull/3756>`_)
- See :ref:`userguide_model_v2_172_0` for more detailed model changes.
Features and Enhancements
-------------------------
- Update the permission checking for View merging ( ``view.merge`` ) to
optimize the permission checking based on user permissions and layer index
data.
(`3736 <https://github.com/vertexproject/synapse/pull/3736>`_)
(`3750 <https://github.com/vertexproject/synapse/pull/3750>`_)
(`3758 <https://github.com/vertexproject/synapse/pull/3758>`_)
- Add a hotfix that can be used to migrate ``risk:hasvuln`` nodes to
``risk:vulnerable`` nodes.
(`3745 <https://github.com/vertexproject/synapse/pull/3745>`_)
- Add a Storm API, ``$lib.env.get()``, to get environment variables from
the Cortex process which start with the prefix ``SYN_STORM_ENV_``.
(`3761 <https://github.com/vertexproject/synapse/pull/3761>`_)
- Add a ``edited()`` API to the ``layer`` object in Storm. This API can be
used to get the last time a given layer was edited. Add a ``reverse``
argument to the ``layer.edits()`` API to return the node edits in reverse
order.
(`3763 <https://github.com/vertexproject/synapse/pull/3763>`_)
- Add a ``setArchived()`` API to the ``auth:user`` object in Storm.
(`3759 <https://github.com/vertexproject/synapse/pull/3759>`_)
- The ``synapse.tool.storm`` tool now returns a non-zero status code when
it is invoked to execute a single command and the command encounters an
error.
(`3765 <https://github.com/vertexproject/synapse/pull/3765>`_)
- Add a ``nodup`` option to the ``slab.scanKeys()`` API. Use this to increase
the efficiency of the the Storm ``model.edge.list`` command.
(`3762 <https://github.com/vertexproject/synapse/pull/3762>`_)
- Add a ``synapse.common.trimText()`` API for trimming strings in a consistent
fashion. Use that API to trim long text strings that may be included in
exception messages.
(`3753 <https://github.com/vertexproject/synapse/pull/3753>`_)
- When a Storm subquery assignment yields more than a single node, add the
trimmed subquery text to the ``BadTypeValu`` exception that is raised.
(`3753 <https://github.com/vertexproject/synapse/pull/3753>`_)
Bugfixes
--------
- Fix a typo in the Storm ``gen.it.av.scan.result`` command help output.
(`3766 <https://github.com/vertexproject/synapse/pull/3766>`_)
- Fix a typo in the Rapid Power-Up development documentation.
(`3766 <https://github.com/vertexproject/synapse/pull/3766>`_)
Improved Documentation
----------------------
- Add documentation for ``$lib.auth.easyperm.level`` constants and the
``$lib.dict.has()`` function.
(`3706 <https://github.com/vertexproject/synapse/pull/3706>`_)