Skip to content

Releases: nathanrpage97/lua-fort

v1.1.0 - Add Command Chaining

25 Dec 00:50
97f54dc
Compare
Choose a tag to compare

Add command chaining to shorten writing code

Old

ftable:print_ln("test")
ftable:print_ln("test2")

New

ftable:print_ln("test"):print_ln("test2")

v1.0.0 - Full Release

08 Jan 19:12
f878b89
Compare
Choose a tag to compare

v1.0.0 (2022.1.8)

  • [Fix] ftable metatable now links to fort instead of cfort module.
  • [Added] negative indices for rows and columns
    • fort.set_cur_cell
    • fort.erase_range
    • fort.set_cell_prop
    • fort.set_cell_span
  • [Fix] splitting of rows follows libfort methodology
    • "" -> {""}
    • "|" -> {"",""}

Full Changelog: v0.3.0...v1.0.0

v0.3.0 - Last before v1 release

26 Dec 16:39
e3be37c
Compare
Choose a tag to compare

v0.3.0 (2021.12.26)

This should be the last minor release before v1 stable is released.

  • [BREAKING] row and col arguments are now 1 indexed to follow lua
    convention. The following functions are affected:
    • fort.cur_row
    • fort.cur_col
    • fort.set_cur_cell
    • fort.erase_range
    • fort.set_cell_prop
    • fort.set_cell_span
  • [Updated] libfort updated 0.4.2 → 0.5.0
  • [Added] fort.col_count (new in libfort 0.5.0)
  • [Changed] in lua ≥ 5.3 returns integer values instead of floats. Input still
    accepting of floats
  • [Added] ftable implements the __tostring() metamethod to return formatted
    table string. print(ftable:to_string())print(ftable)
  • [Fixed] fort.copy_table now works correctly with utf8 tables
  • [Added] fort.__call alias of fort.create_table

v0.2.0 - Class Module Support

22 Dec 20:21
72b888f
Compare
Choose a tag to compare

Changes

  • [Added] fort.new and fort.__call aliases of fort.create_table

  • [Added] fort.copy alias of fort.copy_table

  • [Fixed] fort.ftable and fort.border_style udata types to ensure the user
    passes the correct type

  • [Added] fort is now a class module which means the function can be accessed
    from ftable.

    Example fort.printf(ftable, "test1|test2")ftable:printf("test1|test2")

    local fort = require "fort"
    local simple_table = fort()
    simple_table:print("test1|test2")
    print(simple_table:to_string())
  • [Fixed] error code now properly checked in fort.write_ln/fort.write

v0.1.0 - Initial Release

21 Dec 04:29
Compare
Choose a tag to compare
Pre-release

Create an initial beta release to try. It tries to be a faithful wrapping around the libfort library.