Scriv

Latest version: v1.5.1

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

Scan your dependencies

Page 2 of 4

1.2.0

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

Added
.....

- ``scriv github-release`` now has a ``--repo=`` option to specify which GitHub
repo to use when you have multiple remotes.

Changed
.......

- Improved the error messages from ``scriv github-release`` when a GitHub repo
can't be identified among the git remotes.

.. _changelog-1.1.0:

1.1.0

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

Added
.....

- The ``scriv github-release`` command has a new setting, ``ghrel_template``.
This is a template to use when building the release text, to add text before
or after the Markdown extracted from the changelog.

- The ``scriv github-release`` command now has a ``--dry-run`` option to show
what would happen, without posting to GitHub.

Changed
.......

- File names specified for ``file:`` settings will be interpreted relative to
the current directory if they have path components. If the file name has no
slashes or backslashes, then the old behavior remains: the file will be found
in the fragment directory, or as a built-in template.

- All exceptions raised by Scriv are now ScrivException.

Fixed
.....

- Parsing changelogs now take the `insert-marker` setting into account. Only
content after the insert-marker line is parsed.

- More internal activities are logged, to help debug operations.


.. _changelog-1.0.0:

1.0.0

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

Added
.....

- Now literal configuration settings can be read from YAML files. Closes `issue 69`_.
Thanks, `Florian Küpper <pull 70_>`_.

.. _pull 70: https://github.com/nedbat/scriv/pull/70
.. _issue 69: https://github.com/nedbat/scriv/issues/69

Fixed
.....

- Fixed truncated help summaries by shortening them, closing `issue 63`_.

.. _issue 63: https://github.com/nedbat/scriv/issues/63

.. _changelog-0.17.0:

0.17.0

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

Added
.....

- The ``collect`` command now has a ``--title=TEXT`` option to provide the
exact text to use as the title of the new changelog entry. Finishes `issue
48`_.

.. _issue 48: https://github.com/nedbat/scriv/issues/48

Changed
.......

- The ``github_release`` command now only considers the top-most entry in the
changelog. You can use the ``--all`` option to continue the old behavior of
making or updating GitHub releases for all of the entries.

This change makes it easier for projects to start using scriv with an
existing populated changelog file.

Closes `issue 57`_.

.. _issue 57: https://github.com/nedbat/scriv/issues/57

Fixed
.....

- If there were no fragments to collect, `scriv collect` would make a new empty
section in the changelog. This was wrong, and is now fixed. Now the
changelog remains unchanged in this case. Closes `issue 55`_.

.. _issue 55: https://github.com/nedbat/scriv/issues/55

- The ``github-release`` command will now issue a warning for changelog entries
that have no version number. These can't be made into releases, so they are
skipped. (`issue 56`_).

.. _issue 56: https://github.com/nedbat/scriv/issues/56

- ``scriv collect`` will end with an error now if the version number would
duplicate a version number on an existing changelog entry. Fixes `issue 26`_.

.. _issue 26: https://github.com/nedbat/scriv/issues/26

.. _changelog-0.16.0:

0.16.0

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

Added
.....

- The ``github_release`` command will use a GitHub personal access token stored
in the GITHUB_TOKEN environment variable, or from a .netrc file.

Fixed
.....

- The github_release command was using `git tags` as a command when it should
have used `git tag`.

- Anchors in the changelog were being included in the previous sections when
creating GitHub releases. This has been fixed, closing `issue 53`_.

.. _issue 53: https://github.com/nedbat/scriv/issues/53

.. _changelog-0.15.2:

0.15.2

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

Fixed
.....

- Quoted commands failed, so we couldn't determine the GitHub remote.

.. _changelog-0.15.1:

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.