CHANGELOG.md 22 KB

2.6.2 (2020-08-29)

Bug Fixes

  • default-renderer: timer with title change (6cf1eec)

2.6.1 (2020-08-27)

Bug Fixes

  • new version for replicate.npmjs (09dcb9c)

2.6.0 (2020-08-16)

Bug Fixes

  • keep persistent output on error (de7e661)

Features

  • listr: accessing parent task (544a130), closes #141
  • isolated error and skip messages (5b8735d)
  • default-renderer: added timer to renderer (4b8d757)

2.5.1 (2020-08-10)

Bug Fixes

  • prompt: fixed an issue with one prompt not returning default (375a441)

2.5.0 (2020-08-10)

Bug Fixes

  • deps: update dependency rxjs to ^6.6.2 (5175991)
  • prompt: enquirer custom prompts (6317ec6)

Features

  • renderer: added disable color and enable silent renderer via options (74f91c2)

2.4.1 (2020-07-29)

Bug Fixes

  • default-renderer: added a tiny fix when persistent bottom bar is enabled and task is skipped (d6a25a8)

2.4.0 (2020-07-27)

Bug Fixes

  • deps: removed bundle of rxjs (a103acb)
  • rxjs: retry for rxjs export with webpack (ac537e5)

Features

  • build: bundle rxjs with webpack, reduce total bundle size, since i started to use this everywhere (4cc922a)

Reverts

2.4.0-beta.3 (2020-07-27)

Bug Fixes

  • deps: removed bundle of rxjs (a103acb)

Reverts

2.4.0-beta.2 (2020-07-27)

Bug Fixes

  • rxjs: retry for rxjs export with webpack (ac537e5)

2.4.0-beta.1 (2020-07-27)

Features

  • build: bundle rxjs with webpack, reduce total bundle size, since i started to use this everywhere (4cc922a)

2.3.6 (2020-07-27)

Bug Fixes

  • remove unused import (46a72c7)
  • default-renderer: fix output rendering with empty subtasks (8299c3f)
  • default-renderer: output from subtask of subtask (4096e62)

2.3.5 (2020-07-26)

Bug Fixes

  • default-renderer: renderer to show spinner if all subtasks has no title (58aaadc)
  • deps: update all minor dependency updates (4fccbc4)

2.3.4 (2020-07-26)

Bug Fixes

  • default-renderer: fixed the issue when there is all empty subtasks and it leaves one extra space (57b0809)

2.3.3 (2020-07-24)

Bug Fixes

  • prompts: removed prompt bind type to use it in other scripts directly (655334a)

2.3.2 (2020-07-23)

Bug Fixes

  • tests: change env variable for tests, esspecially chalk because node_env test is more common (5c7c9ca)

2.3.1 (2020-07-22)

Bug Fixes

  • readme: added badge for npm (61f6bc3)

2.3.0 (2020-07-22)

Bug Fixes

  • colors: disable colors for test (b81ee08)
  • deps: update all minor package updates (aba8cf2)
  • truncate: fix truncate to 80 on columns unknown (3454aed)

Features

  • added lazy option to default renderer. moved enquirer to inject wrapper key from root (78f3984)
  • prompts: added external enquirer injection for testing, fallback condition, fixed catching err (a0bf6fd), closes #66 #67 #68

2.3.0-beta.2 (2020-07-22)

Features

  • added lazy option to default renderer. moved enquirer to inject wrapper key from root (78f3984)

2.3.0-beta.1 (2020-07-22)

Bug Fixes

  • deps: update all minor package updates (aba8cf2)

Features

  • prompts: added external enquirer injection for testing, fallback condition, fixed catching err (a0bf6fd), closes #66 #67 #68

2.2.1 (2020-07-18)

Bug Fixes

  • prompts: added return when prompt error (6c89e56)
  • prompts: fixed prompt error message when enquirer is not installed optionally (8fc5849)

2.2.0 (2020-07-03)

Features

  • display elegant spinner on Windows Terminal (a86868b)

2.1.9 (2020-07-01)

Bug Fixes

  • manager: manager type problem with indent (9444d3d)

2.1.9-beta.1 (2020-06-18)

Bug Fixes

  • manager: manager type problem with indent (9444d3d)

2.1.8 (2020-06-17)

Bug Fixes

  • renderer: add skip to verbose output (f577df0)

2.1.7 (2020-06-14)

Bug Fixes

  • renderer: verbose renderer (794f966)

2.1.6 (2020-06-14)

Bug Fixes

2.1.5 (2020-06-14)

Bug Fixes

  • renderer: verbose renderer defaults (3246fe1)

2.1.4 (2020-06-14)

Bug Fixes

  • added verbose renderer options: added new options of log empty title and title change (5a5eb79)
  • types: enquirer types (d309d91)

2.1.3 (2020-06-04)

Bug Fixes

  • enquirer: moved prompt flattening around again for my own scripts (a40a569)
  • enquirer: optional stdout (703658f)

2.1.2 (2020-06-04)

Bug Fixes

  • prompt: added option to call prompt from outside for my applicatiosn (27dbdfa)

2.1.1 (2020-06-04)

Bug Fixes

  • streams: add legacy streams to accepted types (f63dd52)

2.1.0 (2020-06-03)

Bug Fixes

  • deps: remove trivial deps (de8dec0)
  • deps: remove unnecassary types (b37f416)
  • deps: updated deps to latest (c4ad38f)
  • figures: made microsoft icons to use the fancy ones, even though it may fail in some cases (f0e5817), closes #31
  • prompt: enquirer to peer (cae55e9)
  • prompt: types (110130a)
  • prompts: fixed type for array prompts, added name as mandatory (a08b1e4)
  • stream: fixed streams added example (614d89f), closes #37

Features

  • prompt: make prompt module optional, be more compatible to underlying enqurier (64cecc1), closes #34
  • prompt: use enquirer directly (b34e9d0), closes #34
  • renderer: added hook and stdout support (bd73c68), closes #31

2.1.0-beta.6 (2020-06-03)

Bug Fixes

  • deps: remove trivial deps (de8dec0)
  • deps: remove unnecassary types (b37f416)
  • deps: updated deps to latest (c4ad38f)
  • stream: fixed streams added example (614d89f), closes #37

2.1.0-beta.5 (2020-06-03)

Bug Fixes

2.1.0-beta.4 (2020-06-02)

Bug Fixes

  • prompt: enquirer to peer (cae55e9)

2.1.0-beta.3 (2020-06-02)

Bug Fixes

  • prompts: fixed type for array prompts, added name as mandatory (a08b1e4)

2.1.0-beta.2 (2020-06-02)

Features

  • prompt: make prompt module optional, be more compatible to underlying enqurier (64cecc1), closes #34
  • prompt: use enquirer directly (b34e9d0), closes #34

2.1.0-beta.1 (2020-05-25)

Bug Fixes

  • figures: made microsoft icons to use the fancy ones, even though it may fail in some cases (f0e5817), closes #31

Features

  • renderer: added hook and stdout support (bd73c68), closes #31

2.0.4 (2020-05-20)

Bug Fixes

  • types: match version of uuid (33a1e80)
  • uuid: added implicit tests for 13.6, rollback to uuid working version (75ade63), closes #28

2.0.3 (2020-05-19)

Bug Fixes

  • deps: exchange uuid with nanoid (2048b3d), closes #25

2.0.2 (2020-05-18)

Bug Fixes

2.0.1 (2020-05-06)

Bug Fixes

  • manager: fixed manager types (10d74e9), closes #22
  • manager: fixed types for manager (033c7d1)

2.0.0 (2020-05-06)

Bug Fixes

  • default-renderer: added back cli truncate (22132a5)
  • error-collection: fixed error collection on non-failing tasks (4239094)
  • manager: added error context (4f8f387)
  • manager: fixed manager (57dcd7f)
  • types: fix (b3ee9be)
  • fixed types for isolated renderer options (4521832)

Features

  • release: ready to update to new version (50fb773), closes #19 #18
  • renderer-options: started to isolate the renderer options instead of writing them directly (95f7f87)

BREAKING CHANGES

  • release: - Renderer Options

    • Reason: This was changed because of having all the renderer options that are mangled together and not respecting which renderer has been choosen. It also allows for custom renderers to have their own logic by exposing their options in a single class file rather than expecting that functionality from the project itself.
    • Before <v1.3.12:

      new Listr<Ctx>([
      {
      task: async (ctx, task): Promise<void> => {
      },
      persistentOutput: true
      }
      ], {
      concurrent: [secure],
      collapse: true
      
      • After ([ { task: async (ctx, task): Promise => { }, options: { persistentOutput: true } // per task based options are moved to their own key } ], { concurrent: [secure], rendererOptions: { collapse: [secure] } // global renderer options moved to their own key }) ```
    • Some of the types has been changed.

      • Reason: Some of the types had to be changed due to compatability reasons with new autocomplete functionality of the dynamic renderer options.
      • Before
    • task = new Listr(..., { renderer: 'verbose' })

        - After <v1.3.12:
        ```typescript
        // this without the indication of verbose will now fail due to default renderer being 'default' for autocompleting goodness of the IDEs.
        // So you have to overwrite it manually to 'verbose'.
        // If it does not have a default you had to explicitly write { renderer: 'default' } everytime to have the auto complete feature
        let task: Listr<Ctx, 'verbose'>
      
        task = new Listr(..., { renderer: 'verbose' })
      
      • Test renderer removed.

        • Reason: On non-tty environments that the verbose renderer is intended for there is no need to show icons. Since icons are now optional with the default being disabled for the verbose renderer, there is no need for a renderer that does have the same functionality since verbose and test are now basically the same thing. Verbose seemed a better name then test, so I had to remove test from the equation.
        • Before <v1.3.12:

          const task = new Listr(..., { renderer: 'test' })
          
          • After <v1.3.12: typescript const task = new Listr(..., { renderer: 'verbose' })

      1.3.12 (2020-04-30)

      Bug Fixes

      • ignore: note to self dont do late night commits (56ff7b7)

      1.3.11 (2020-04-30)

      Bug Fixes

      • build: ignored tests files (16d8d93)

      1.3.10 (2020-04-30)

      Bug Fixes

      • tests: add tests to npm ignore (83cd9d3)

      1.3.9 (2020-04-30)

      Bug Fixes

      • added e2e and unit tests, not comprehensive (4d3076b)

      Reverts

      • task: revert back to enable boolean for not breaking compatability (45b6c32)