Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 2.39 KB

CHANGELOG.md

File metadata and controls

81 lines (52 loc) · 2.39 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.5 - 2024-04-26

Fixed

  • Publishing process

1.1.4 - 2024-04-25

Added

  • Publishing on NPM and JSR via GitHub Actions

1.1.3 - 2024-04-25

Added

  • support for deno

1.1.2 - 2024-04-03

Added

  • tests

Fixed

  • calculation for EstimatedTimeEnroute

1.1.1 - 2024-03-22

Fixed

  • method toFormattedString(), so that output with fractions has a fixed size of 2.

1.1.0 - 2024-03-22

Added

  • This CHANGELOG file.
  • localization and formatting byte units.
  • method: setTotalCount(value: number): void

Changed

  • constructor signature: constructor(totalCount?: number | null, locale?: string | null, unit?: string | null)
  • method signature (added options): on(eventName: string, callback: Function, options: { updateIntervalMSThreshold?: number } | undefined = undefined): void

1.0.0 - 2024-03-21

Added

  • constructor: constructor(totalCount: number | null = null).
  • method: calculateEstimatedTimeEnroute(): {hours: number, minutes: number, seconds: number} | null
  • method: calculateEstimatedTimeOfArrival(): Date | null
  • method: incrementCounter()
  • method: on(eventName: string, callback: Function): void
  • method: setCounter(value: number): void
  • method: toFormattedString(format: string = Progress.DEFAULT_TO_STRING_FORMAT): string
  • property: Counter: number
  • property: ElapsedTime: { y: number, m: number, d: number, h: number, i: number, s: number, f: number }
  • property: PercentageCompleted: number | null
  • property: StartTime: Date
  • property: TotalCount: number | null