Skip to content

Releases: cogu/cfile

v0.4.0

28 Mar 10:21
Compare
Choose a tag to compare

This is just a version bump from v0.3.2 to 0.4.0.

Notable changes compared to v0.2.0

  • New code base
    • New API, incompatible with v0.2.0
    • New core and factory modules
    • New writer module with formatting options
    • Annotate code with modern type hints
  • Added unit tests
  • Enabled linting with Pylint and flake8

v0.3.2

05 Feb 16:46
Compare
Choose a tag to compare

Until v0.3.1: Variables, functions and types were implicitly declared.

From v0.3.2: Variables, functions and types needs explicit declaration.

Due to a major design flaw in previous versions, breaking compatibility was necessary.

Removed

  • StuctRef (struct references).

Added

  • Declaration element
  • Constructor for Function takes an optional params argument.

Changed

  • Variables, functions, structs are no longer implicitly declared.
    • Use explicit element Declaration for all declarations.
  • Method FunctionCall.add_arg renamed to FunctionCall.append.

v0.3.1

27 Oct 14:59
Compare
Choose a tag to compare
  • New core and factory modules
  • Separate code elements from code formatting
  • Modern type hinting
  • Added unit test suite
  • Enable lint support (Pylint + flake8)

v0.2.0

20 Mar 18:29
Compare
Choose a tag to compare

Functionally the same as v0.1.5.

  • Upgraded build and release system to use a more modern version of setuptools.
    • Setup.py has been removed in favor of new setup.cfg.