40 KiB
40 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.3.0 (2022-11-23)
⚠ BREAKING CHANGES
- requires Node with stable ES modules. Consumers targeting versions of Node or browsers without module support will need to use a bundler to replace the imports.
- config: this updates config loading to use the fs.promises API and does not resolve paths from HOME or __dirname. Using an absolute or relative path in the args option is still supported.
Features
- remote: prepare gitlab remote for gitbeaker upgrade (b26fb78)
- switch output to es module, use c8 for coverage (24d96a5)
- config: load and validate config directly, without js-config lib (c32ac31)
Bug Fixes
- config: switch args to an async call, options map (7311407)
- add istanbul schema for c8 (f51590e)
- improve error handling for TS 4.5 (6c93fa9)
- swap out deprecated helper (f007787)
- build: handle image build errors in script (b23eb38)
- build: set image build root path (2cd1e5a)
- build: update docker build vars (12f63b5)
- build: update package version (c487efb)
- build: use sanitized git tag or ref for image tag (6ebad3c)
- image: use correct package manager in stretch image (190784b)
- module: be selective about gitlab client options (be153a8)
- remote: remove fake typeguard around gitlab responses (f2475c7)
- remote/github: extract label name when listing issues (d777147)
- sync: better logging for existing/updated labels (6c9916d)
- sync: log errors during issue and project sync (#554) (4e6c007)
- update prng typedef (4342faf)
0.2.0 (2021-07-10)
⚠ BREAKING CHANGES
- includes all breaking changes from js-yaml v4 and readonly include options from js-yaml-schema. This is breaking because documents may parse differently, but the API of this library has not changed.
Features
- build: enable terser (6413dde)
- add initial labels to project (1f3cbac)
- build: add package binary, switch to cjs for cli (71d534d)
- build: add vscode task to compile (622617f)
- config: add project comment, state divider to config (2feb5a3)
- config: validate using json schema, compare issue labels for update (272a566)
- graph: cluster flags (97d2ec5)
- main: capture command as mode (8dd63f7)
- main: get config name from args (e6857d7)
- main: load config from hard-coded file (63878d3)
- main: seed random generator with project name (50cf48f)
- remote: implement issue, label list methods for Gitlab (9f85e22)
- remote: implement issue, label update methods for gitlab, add dryrun support (e3351fe)
- add graphviz output mode (ddc1d6b)
- create remote via DI container (a38c130)
- logger: add bunyan without DI (25b375d)
- main: add project option, use to filter project sync (e4ab01a)
- main: wire up sync command stubs (d510a3a)
- remote: sketch out interface, stub github/gitlab remotes (7af3f35)
- remote/github: add dry run option (4460c98)
- remote/github: add token auth based on config (d121275)
- remote/github: implement label create, delete (abd7ac5)
- remote/github: wire up auth, issue list (903eba9)
- remote/github: wire up label list endpoint (fa81e86)
- resolve: add checks for label rules to states logic (8aaa397)
- resolve: adds missing tests for requires rule (54c6f4a)
- resolve: comment & formatting fixes (32c3fa9)
- resolve: implement flag rules for issue labels (bba4f52)
- resolve: implement state becomes logic (b18d6f3)
- resolve: record label changes made during resolution (9bd41aa)
- sync: basic label sync logic (28c9ee8)
- sync: check actual difference between labels (d651c34)
- sync: leave comment with changes (8edcd03)
- sync: select label color from flag or state, value, and project (365a23c)
- sync: update label color, desc (c7581df)
- sync: use config labels per project (41be935)
- add issue, label sync stubs, remote options to config, flatten resolver inputs (0d34158)
- add main function, arg parsing for CLI (1f641fc)
- initial project structure from template (3442b8f)
- sketch out config, label interfaces (efb294e)
- support multiple projects in one config (0edbdea)
- test: add example data-driven tests (c5dc410)
Bug Fixes
- build: add cc config (6cb6d18)
- build: build images from cached version (579b66f)
- build: configure markdownlint (6bf84c4)
- build: copy template renovate config (e623a28)
- build: filter scripts, tests out of coverage report (65cf8e7)
- build: install build deps (fbd294d)
- build: install packages from nexus (544ff83)
- build: isolate rollup entrypoint (4570a2c)
- build: publish to npm central (51ba7ba)
- build: remove lingering deploy jobs (fe160fa)
- build: remove tslint packages (cd8d376)
- build: use library node as base image (17eed58)
- reduce renovate noise, automerge test deps (8dddf2e)
- build: include yargs in bundle (4e83723)
- build: prepend index with hashbang (fa573d2)
- build: pull images from nexus (50c6d4b)
- build: update eslint for typescript-eslint 4 rules (fb496f5)
- config: describe CLI options (5947139)
- config: group gitbeaker updates (5dab083)
- config: match command names and docs, cover parts of sync (505636f)
- config: restore yargs exit behavior for now (b3669da)
- config: switch to js-config fully (98391a9)
- config: use extended schema with js-config (512112f)
- config: validate color values (e6faf1a)
- config: validate remote options (3935172)
- config: validate state changes (9a69044)
- docs: 22 typos (ec1f336)
- docs: add checking out project (2bdd9d4)
- docs: add codeclimate badge (086307e)
- docs: add developer guide with setup (89325d8)
- docs: add example config (af41614)
- docs: add merging changes to workflow.md (76cd161)
- docs: add readme, basic run targets (5868383)
- docs: add skeleton architecture doc (a50f36b)
- docs: begin fleshing out getting-started guide (cbf5c51)
- docs: describe running, CLI options (ceafdba)
- docs: describe state changes, values, and remote options (432ef13)
- docs: explain config structure, auth methods (b7b3c5f)
- docs: generating and viewing graphs (72f48af)
- docs: note gitlab support (df3b1eb)
- docs: remove references to remote option (1b9eccb)
- docs: start workflow guide, add ToC to guides (f00dcb9)
- docs: typo (03f297d)
- docs: update remote names for DI (d78e5df)
- graph: merge edges between the same pair of nodes (80caa7a)
- graph: use label colors for nodes (2eba08e)
- main: log env and version on startup (c1394f3)
- remote: usage of internal gitbeaker types (1e2b2a0)
- use commonjs version of yargs to detect named exports (2411adf)
- build: install deps into image (d2c8ecf)
- docs: add logo to readme (07e97e8)
- docs: add test coverage to workflow.md (52b225c)
- docs: replace broken david-dm, fossa badges (d0fb19f)
- labels: copy before priority sort (20d1175)
- remote: return created comment for gitlab, cover remaining endpoints (040ad3c)
- remote/github: do not create octokit client for dry run (b1adb11)
- remote/github: selectively disable requests for dry run (b562f80)
- remote/github: use data type for auth method (39a7091)
- resolve: check combined state/value rules (06cb70d)
- resolve: continue handling state values after removal (3a3facb)
- resolve: moves labels rule check to broader scope (65b0de5)
- resolve: record correct name when becomes rule removes label (0cd176d)
- resolve: resolve branch conflicts (445a0ab)
- resolve: sort output labels (1ddb341)
- resolve: split up the resolve labels (804c3bb)
- sync: handle negative random indices (686cb83)
- sync: wire up basic issue logic (b2fac34)
- test: add cases for state changes (2e816f7)
- test: begin covering github auth (c16c10e)
- test: begin covering main (9364266)
- test: cover config loading, graph styles (0ea5791)
- test: cover config validation, more github endpoints (4fea5c8)
- test: cover dependent flags (0735bf3)
- test: cover dot graph helpers (ccb4a7c)
- test: cover label color selection and update (6229e2b)
- test: cover merge edges helper (6ce4ca0)
- test: cover more remote endpoints (9e769e3)
- test: cover state subgraph (12144ca)
- test: cover subgraphs (d0f3452)
- test: use container for remotes (545e5b9)
- remote ctor takes options, stub tests for main (c2d54aa)
- remove changeset trait from state label, test colorize logic (4aeb324)
update
- js-yaml and js-yaml-schema (c2dbfff)
0.2.0 (2021-07-10)
⚠ BREAKING CHANGES
- includes all breaking changes from js-yaml v4 and readonly include options from js-yaml-schema. This is breaking because documents may parse differently, but the API of this library has not changed.
Features
- build: enable terser (6413dde)
- add initial labels to project (1f3cbac)
- build: add package binary, switch to cjs for cli (71d534d)
- build: add vscode task to compile (622617f)
- config: add project comment, state divider to config (2feb5a3)
- config: validate using json schema, compare issue labels for update (272a566)
- graph: cluster flags (97d2ec5)
- main: capture command as mode (8dd63f7)
- main: get config name from args (e6857d7)
- main: load config from hard-coded file (63878d3)
- main: seed random generator with project name (50cf48f)
- remote: implement issue, label list methods for Gitlab (9f85e22)
- remote: implement issue, label update methods for gitlab, add dryrun support (e3351fe)
- add graphviz output mode (ddc1d6b)
- create remote via DI container (a38c130)
- logger: add bunyan without DI (25b375d)
- main: add project option, use to filter project sync (e4ab01a)
- main: wire up sync command stubs (d510a3a)
- remote: sketch out interface, stub github/gitlab remotes (7af3f35)
- remote/github: add dry run option (4460c98)
- remote/github: add token auth based on config (d121275)
- remote/github: implement label create, delete (abd7ac5)
- remote/github: wire up auth, issue list (903eba9)
- remote/github: wire up label list endpoint (fa81e86)
- resolve: add checks for label rules to states logic (8aaa397)
- resolve: adds missing tests for requires rule (54c6f4a)
- resolve: comment & formatting fixes (32c3fa9)
- resolve: implement flag rules for issue labels (bba4f52)
- resolve: implement state becomes logic (b18d6f3)
- resolve: record label changes made during resolution (9bd41aa)
- sync: basic label sync logic (28c9ee8)
- sync: check actual difference between labels (d651c34)
- sync: leave comment with changes (8edcd03)
- sync: select label color from flag or state, value, and project (365a23c)
- sync: update label color, desc (c7581df)
- sync: use config labels per project (41be935)
- add issue, label sync stubs, remote options to config, flatten resolver inputs (0d34158)
- add main function, arg parsing for CLI (1f641fc)
- initial project structure from template (3442b8f)
- sketch out config, label interfaces (efb294e)
- support multiple projects in one config (0edbdea)
- test: add example data-driven tests (c5dc410)
Bug Fixes
- build: add cc config (6cb6d18)
- build: build images from cached version (579b66f)
- build: configure markdownlint (6bf84c4)
- build: copy template renovate config (e623a28)
- build: filter scripts, tests out of coverage report (65cf8e7)
- build: install build deps (fbd294d)
- build: install packages from nexus (544ff83)
- build: isolate rollup entrypoint (4570a2c)
- build: publish to npm central (51ba7ba)
- build: remove lingering deploy jobs (fe160fa)
- build: remove tslint packages (cd8d376)
- build: use library node as base image (17eed58)
- reduce renovate noise, automerge test deps (8dddf2e)
- build: include yargs in bundle (4e83723)
- build: prepend index with hashbang (fa573d2)
- build: pull images from nexus (50c6d4b)
- build: update eslint for typescript-eslint 4 rules (fb496f5)
- config: describe CLI options (5947139)
- config: group gitbeaker updates (5dab083)
- config: match command names and docs, cover parts of sync (505636f)
- config: restore yargs exit behavior for now (b3669da)
- config: switch to js-config fully (98391a9)
- config: use extended schema with js-config (512112f)
- config: validate color values (e6faf1a)
- config: validate remote options (3935172)
- config: validate state changes (9a69044)
- docs: 22 typos (ec1f336)
- docs: add checking out project (2bdd9d4)
- docs: add codeclimate badge (086307e)
- docs: add developer guide with setup (89325d8)
- docs: add example config (af41614)
- docs: add merging changes to workflow.md (76cd161)
- docs: add readme, basic run targets (5868383)
- docs: add skeleton architecture doc (a50f36b)
- docs: begin fleshing out getting-started guide (cbf5c51)
- docs: describe running, CLI options (ceafdba)
- docs: describe state changes, values, and remote options (432ef13)
- docs: explain config structure, auth methods (b7b3c5f)
- docs: generating and viewing graphs (72f48af)
- docs: note gitlab support (df3b1eb)
- docs: remove references to remote option (1b9eccb)
- docs: start workflow guide, add ToC to guides (f00dcb9)
- docs: typo (03f297d)
- docs: update remote names for DI (d78e5df)
- graph: merge edges between the same pair of nodes (80caa7a)
- graph: use label colors for nodes (2eba08e)
- main: log env and version on startup (c1394f3)
- remote: usage of internal gitbeaker types (1e2b2a0)
- use commonjs version of yargs to detect named exports (2411adf)
- build: install deps into image (d2c8ecf)
- docs: add logo to readme (07e97e8)
- docs: add test coverage to workflow.md (52b225c)
- docs: replace broken david-dm, fossa badges (d0fb19f)
- labels: copy before priority sort (20d1175)
- remote: return created comment for gitlab, cover remaining endpoints (040ad3c)
- remote/github: do not create octokit client for dry run (b1adb11)
- remote/github: selectively disable requests for dry run (b562f80)
- remote/github: use data type for auth method (39a7091)
- resolve: check combined state/value rules (06cb70d)
- resolve: continue handling state values after removal (3a3facb)
- resolve: moves labels rule check to broader scope (65b0de5)
- resolve: record correct name when becomes rule removes label (0cd176d)
- resolve: resolve branch conflicts (445a0ab)
- resolve: sort output labels (1ddb341)
- resolve: split up the resolve labels (804c3bb)
- sync: handle negative random indices (686cb83)
- sync: wire up basic issue logic (b2fac34)
- test: add cases for state changes (2e816f7)
- test: begin covering github auth (c16c10e)
- test: begin covering main (9364266)
- test: cover config loading, graph styles (0ea5791)
- test: cover config validation, more github endpoints (4fea5c8)
- test: cover dependent flags (0735bf3)
- test: cover dot graph helpers (ccb4a7c)
- test: cover label color selection and update (6229e2b)
- test: cover merge edges helper (6ce4ca0)
- test: cover more remote endpoints (9e769e3)
- test: cover state subgraph (12144ca)
- test: cover subgraphs (d0f3452)
- test: use container for remotes (545e5b9)
- remote ctor takes options, stub tests for main (c2d54aa)
- remove changeset trait from state label, test colorize logic (4aeb324)
update
- js-yaml and js-yaml-schema (c2dbfff)