Snippy

Latest version: v0.11.0

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

Scan your dependencies

Page 1 of 2

0.11.0

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

Breaking changes
~~~~~~~~~~~~~~~~

* Change content category command line options `[2019.05.04]`_.
* Change content text templates metadata section `[2019.05.19]`_.
* Add content attribute ``languages`` `[2019.06.05]`_.

New features
~~~~~~~~~~~~

* Add new REST API endpoints to query distinct values of attributes.
* Add Bash completion support for command line interface.
* Add ``--sort`` command line option to sort search results.
* Add ``--headers`` command line option to print only content headers.

Bugfixes
~~~~~~~~

* Fix REST API server response if the HTTP request fails.
* Fix updating Markdown native content in text format.
* Fix ``--format`` option with the export operation.
* Fix parsing of text formatted solution.
* Fix update operation when content does not change.
* Fix ``--sall`` option did not search all attributes.
* Fix reading one line attributes like ``brief`` from multiple lines.
* Fix terminal colors on Windows.
* Fix parsing Markdown metadata from solution.
* Fix parsing Markdown solution data with '---' string.
* Fix parsing Markdown solution ``brief`` attribute.
* Fix Python 2 update and export operations with non ASCII characters.
* All commits in `0.11.0`_.

Security
~~~~~~~~

* none

Documentation
~~~~~~~~~~~~~

* none

0.10.0

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

Breaking changes
~~~~~~~~~~~~~~~~

* Change REST API endpoints `[2019.03.24]`_.
* Change REST API base path default `[2019.04.20]`_.
* Change REST API JSON schema validation `[2019.04.14]`_.
* Change REST API id attribute and queries with UUID `[2019.04.06]`_.
* Change server base path command line option name `[2019.04.21]`_.

New features
~~~~~~~~~~~~

* Add search shortcut for command line interface.
* Add support for ``name``, ``source`` and ``versions`` content attributes.
* Add ``gzip`` compression support for REST API responses.
* Add option to import all default content when server is started.
* Add environment variable support for server, storage and support options.

Bugfixes
~~~~~~~~

* Fix install requirement for PyYAML version.
* Fix multiple server startup problems in Docker container.
* Fix POST HTTP response when multiple POST requests were processed.
* Fix creating new content with prefilled templates.
* Fix exporting and importing content template.
* Fix error when content matching to a text template is saved.
* Fix duplicated content attribute values when updating content.
* Fix default value setting to ``groups`` attribute if no value was given.
* Fix error message from duplicated content when defaults imported again.
* All commits in `0.10.0`_.

Security
~~~~~~~~

* Remove setuid/setgid bit from binaries in Docker image.
* Remove unnecessary file permissions in Docker image.
* Change IP address where server binds in Docker container.

Documentation
~~~~~~~~~~~~~

* Add containerized server example usage in Dockerfile.

0.9.0

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

Breaking changes
~~~~~~~~~~~~~~~~

* Change Markdown as default format `[2019.01.27]`_.
* Change content attributes ``group`` to ``groups`` `[2018.08.12]`_.
* Change content attribute ``versions`` from string to array `[2019.01.26]`_.
* Change UTC offset format from +0000 to +00:00 `[2018.12.16]`_.
* Change server command line options `[2019.01.04]`_.
* Change ``--filter`` option behaviour `[2018.09.02]`_.
* Change ``--editor`` option and add ``no-editor`` option `[2019.01.06]`_.
* Add new content attribute ``description`` `[2018.09.08]`_.

New features
~~~~~~~~~~~~

* Add REST API routes for: keywords, groups, tags, uuid and digest `[2018.08.09]`_.
* Add experimental support for PostgreSQL database `[2019.01.29]`_.
* Add support for Markdown formatted content.
* Add support to output search results also in Markdown format.
* Add one command to export and import all default content.
* Add comment auto-alignment for snippets when printed to terminal.
* Add ``description`` attribute in text content templates.
* Add ``uuid`` attribute for CLI and REST API operations.
* Add ``--limit`` option for CLI operations.
* Add search category ``--scat`` option for CLI operations.

Bugfixes
~~~~~~~~

* Fix solution creation from empty template.
* Fix content update when parsing user input fails.
* Fix content import from invalid source file.
* Fix search from all categories with ``all`` option.
* Fix resource validation for POST method.
* Fix resource validation for PUT and PATCH methods.
* Fix REST API HTTP OPTIONS responses.
* Fix reading timestamps without quotes from YAML.
* All commits in `0.9.0`_.

Security
~~~~~~~~

* Remove Alpine (apk) and Python (pip) installers from Docker image.
* Remove all log messages that may reveal secrets.

0.8.0

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

* Add new content category for references.
* Add experimental beta release from RESTish API server.
* All commits in `0.8.0`_.

0.7.0

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

* Add experimental RESTish JSON API.
* All commits in `0.7.0`_.

0.6.0

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

* Add bug fixes and tests.
* All commits in `0.6.0`_.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.