Fix a panic when working with extreme paddings, where (padding.left + padding.right) > u16::MAX.
Fix a panic when working with extremely long content, where (content_width + padding) > u16::MAX.
Properly enforce lower boundary constraints.
Previously, "normal" columns were allocated before lower boundaries were respected.
This could lead to scenarios, where the table would grow beyond the specified size, when there was a lower boundary.
Fix calculation of column widths for empty columns.
The minimum content width for a column is 1 char, but the column_max_content_widths function on the table returned a 0 width for fully empty columns.
This resulted in tables becoming larger than specified if there were any empty columns.
Misc
Extend property tests, which lead to the discovery of some bugs.
Fix a panic when working with extreme paddings, where (padding.left + padding.right) > u16::MAX.
Fix a panic when working with extremely long content, where (content_width + padding) > u16::MAX.
Properly enforce lower boundery constraints.
Previously, "normal" columns were allocated before lower boundaries were respected.
This could lead to scenarios, where the table would grow beyond the specified size, when there was a lower boundary.
Fix calculation of column widths for empty columns.
The minimum content width for a column is 1 char, but the column_max_content_widths function on the table returned a 0 width for fully empty columns.
This resulted in tables becoming larger than specified if there were any empty columns.
Misc
Extend property tests, which lead to the discovery some bugs.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps comfy-table from 7.0.0 to 7.0.1.
Release notes
Sourced from comfy-table's releases.
Changelog
Sourced from comfy-table's changelog.
Commits
69b2ccb
chore: Release comfy-table version 7.0.13fa8654
docs: Set 7.0.1 release date968e75f
Merge pull request #115 from Nukesor/development0aa0ce0
docs: Add boundary docscc98124
chore: Remove outdated todos458eca3
tests: Switch assert_eq statements left-right58a4c40
tests: Rework and fix property tests1b3cf40
docs: Update docs for unicode hack446bd0d
fix: Enforce lower boundaries before distributing contentf8e4606
fix: Correct column widths for empty columnsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show