Notable changes to verso|recto are tracked in this file.
The format is based on the Keep A Changelog 1.0.0 spec. Releases may be found on GitHub and are tagged with their release number in the Git repository. Release numbers follow the Semantic Versioning 2.0.0 format. As a reminder, this format uses major, minor, and patch numbers with the following form:
v1.2.3-test
^ ^ ^ ^
| | | |
| | | pre-release tag
| | patch
| minor
major
These are incremented according to the following rules:
- MAJOR versions contain backwards-incompatible changes.
- MINOR versions contain new backwards-compatible features.
- PATCH versions contain backwards-compatible fixes.
Added for new features. Changed for changes in existing functionality. Deprecated for soon-to-be removed features. Removed for now removed features. Fixed for any bug fixes. Security in case of vulnerabilities.
When creating a new release in GitHub, please copy the [Unreleased]
section to a new versioned
section and use it for the release's notes, in addition to verifying that version numbers are
updated throughout the repository.
verso
now supports extracting nested fragments.
- A new weave pattern,
@* <regex>
, can be used which expands to all of the fragments whose IDs match the given regular expression. - Users can now set their own symbols for fragment boundaries, insertion, and so on using environment variables.
- Various discrepancies in terminology between the README and source code have been cleaned up.
- Both
verso
andrecto
now print a more helpful error message if argument parsing fails.
- Two new reference operators are now available in
recto
:relpath
andabspath
.relpath
inserts the relative path from the current file to the fragment's source file whileabspath
inserts the absolute path of the fragment file, considering the directory in whichverso
was run as the root. (For example, ifverso
is run in directory/a
and/a/b.py
contains a fragment, then that fragment'sabspath
is/b.py
.)
- Repaired bugs in logic that would reject valid IDs and consolidated the code.
- Initial release of
verso|recto
- Most of the basic features work: creating annotated fragments, weaving them into documents, references, etc.