Skip to content

Commit

Permalink
Fix broken backward compatibility with Document.empty_copy() (#380)
Browse files Browse the repository at this point in the history
* Restored doc.empty_copy() (same as clone()) for backward compatibility
* updated deps
  • Loading branch information
abey79 authored Jan 19, 2022
1 parent 8b70225 commit d4472f5
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 64 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ New features and improvements:

API changes:
* `vpype.Document` and `vpype.LineCollection` have additional members to manage properties through the `vpype._MetadataMixin` mix-in class (#359)
* Renamed `vpype.Document.empty_copy()` to `vpype.Document.clone()` for coherence with `vpype.LineCollection` (the old name remains for backward compatibility) (#359, #380)
* Added `vpype.read_svg_by_attribute()` to read SVG while sorting geometries by arbitrary attributes (#378)
* Added an argument to `vpype_cli.execute()` to pass global option such as `--verbose` (#378)

Expand Down
Loading

0 comments on commit d4472f5

Please sign in to comment.