Releases: pawamoy/shellman
Releases · pawamoy/shellman
1.0.1
1.0.0
1.0.0 - 2023-09-03
It has been a long time since the last release, and the last time I worked on this project.
I've updated the project with my latest template. Support for Python 2 is dropped.
I took the opportunity to privatize most of the API. I'll see in a later version
if there is a need to expose a main parse
function or similar, to extract
information from a given file. In the meantime, simply instantiating
a shellman.DocFile
with the path to a script is enough.
Breaking Changes
shellman.reader.DocLine.doc_type
: Public object points to a different kind of object: function -> attributeshellman.reader.preprocess_stream
: Public object was removedshellman.reader.preprocess_lines
: Public object was removedshellman.reader.process_blocks
: Public object was removedshellman.reader.merge
: Public object was removedshellman.context.get_cli_context
: Public object was removedshellman.context.get_env_context
: Public object was removedshellman.context.get_file_context
: Public object was removedshellman.context.get_context
: Public object was removedshellman.context.update
: Public object was removedshellman.cli.get_context
: Public object was removedshellman.cli.update
: Public object was removedshellman.cli.merge
: Public object was removedshellman.cli.valid_file
: Public object was removedshellman.cli.render
: Public object was removedshellman.cli.write
: Public object was removedshellman.cli.common_ancestor
: Public object was removedshellman.cli.is_format_string
: Public object was removedshellman.cli.guess_filename
: Public object was removedshellman.cli.output_name_variables
: Public object was removedshellman.cli.get_vcs_root
: Public object was removedshellman.cli.main(argv)
: Parameter was removedshellman.templates.get_builtin_path
: Public object was removedshellman.templates.get_env
: Public object was removedshellman.templates.get_custom_template
: Public object was removedshellman.templates.load_plugin_templates
: Public object was removedshellman.templates.names
: Public object was removedshellman.templates.parser_choices
: Public object was removedshellman.templates.filters.do_groffauto(escape)
: Parameter kind was changed: positional or keyword -> keyword-onlyshellman.templates.filters.do_smartwrap(indentfirst)
: Parameter kind was changed: positional or keyword -> keyword-onlyshellman.templates.filters.do_format(string)
: Parameter was added as requiredshellman.templates.filters.do_groupby(sort)
: Parameter kind was changed: positional or keyword -> keyword-only
Bug Fixes
- Update for Python 3 and new versions of dependencies (e16c46f by Timothée Mazzucotelli).
Code Refactoring
- Rewrite tag classes as dataclasses (f1780d4 by Timothée Mazzucotelli).