Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.01 KB

UPGRADING.md

File metadata and controls

23 lines (14 loc) · 1.01 KB

Upgrading

Documents the changes that may be required when upgrading to a newer component version.

Upgrade to 0.3.6

ACON::Application version is now represented as a String

If passing a SemanticVersion as the version of an ACON::Application, call #to_s on it or ideally pass a semver String directly. If using the #version getter off the ACON::Application, your code will either need to adapt to it now being a String. Either by manually constructing a SemanticVersion or ideally just supporting the returned String.

Upgrade to 0.3.3

New ACON::Style::Interface methods

If implementing a custom style, you will now need to implement the following methods:

  • abstract def progress_start(max : Int32? = nil) : Nil
  • abstract def progress_advance(by step : Int32 = 1) : Nil
  • abstract def progress_finish : Nil

These should use an internal ACON::Helper::ProgressBar customized to fit your style that delegates to the related methods.