Skip to content

Releases: tdwright/contabs

Computed columns

25 Aug 10:02
Compare
Choose a tag to compare

This release sees the introduction of computed columns. These can be easily added to your table with values derived from values in other columns.

Tables from anonymous objects

25 Aug 09:57
Compare
Choose a tag to compare

This release features a simpler method for creating tables, which now allows for tables of anonymous types. Also in this release are XML comments for IntelliSense hints and a new exception when a table has no visible columns.

Fixed wrapping behaviour

02 Jan 21:35
Compare
Choose a tag to compare

Output builder is now capable of handling multi-line strings, which fixes the broken word-wrap functionality.

Long string behaviour, search whole inheritance chain, developer goodness

30 Dec 15:44
Compare
Choose a tag to compare

Long string handling

By adding a LongStringBehaviour property to columns, this change allows users to specify how long strings should be handled.

Users can choose from:

  1. Doing nothing (default behaviour)
  2. Truncating, with or without ellipsis (customisable; defaults to "...")
  3. Wrapping

When truncating or wrapping, the width can also be specified.

Minor changes

  • Improved test coverage of PublicPropertiesNotFoundException (addressing http://bit.ly/2E4GQCg)
  • Some debugging sugar in the form of DebuggerDisplay attributes
  • Now searches base classes for public properties available through inheritance

Format strings and lots of refactoring

18 Dec 20:28
273ed3e
Compare
Choose a tag to compare

This release has one new piece of functionality: format strings. If the underlying type has a ToString() method that accepts a string, the column's FormatString property will be applied. This allows things like dates and numbers to have formatting applied at the column level.

Additionally, the codebase has been extensively refactored. There is one breaking change, as the Corners property of the Style class is no longer an array of chars. Several methods (including one of Style's constructors) have been deprecated, but may still be used at this time.

First release - basic functionality works

15 Nov 07:38
42b3ffc
Compare
Choose a tag to compare
Merge pull request #10 from tdwright/develop

Added support for styling