v1.0.0-alpha.0
Pre-release
Pre-release
·
21 commits
to master
since this release
What's New
- Breaking change: completely re-written API. No more conforming to a protocol, instead a
TextTableclass is used in similar toNSFormatter. This offers much more flexibility. - Many more output formats. Similar to what you get from Python's tabulate lib.
Known Issues
- No attempt at optimizing performance has been made yet. Even when widths are provided, an expensive calculation is still performed.
- No escaping is being done. None of the formatters even attempt to sanitize the input strings.
- Center alignment not supported. This will result in a
fatalError(). - It should be possible to create columns without headers, but this hasn't been tested and likely doesn't work yet.
SPM Dependency Snippet
.Package(url: "https://github.com/cfilipov/TextTable", Version(1, 0, 0, prereleaseIdentifiers: ["alpha", "0"]))