Skip to content

Latest commit

 

History

History
447 lines (282 loc) · 34.2 KB

CHANGELOG.md

File metadata and controls

447 lines (282 loc) · 34.2 KB

Changelog

4.2.3 (2024-09-11)

Bug Fixes

  • deps: update module carvel.dev/vendir to v0.41.0 (#325) (e7e3d51)
  • deps: update module carvel.dev/vendir to v0.41.1 (#332) (04b6fc4)
  • deps: update module carvel.dev/vendir to v0.42.0 (#334) (1149696)
  • deps: update module github.com/creasty/defaults to v1.8.0 (#329) (1032aed)
  • deps: update module golang.org/x/sync to v0.8.0 (#327) (9b8f7e3)
  • deps: update module golang.org/x/term to v0.23.0 (#328) (2de0605)
  • deps: update module golang.org/x/term to v0.24.0 (#333) (0c879da)

4.2.2 (2024-07-16)

Bug Fixes

  • deps: update module carvel.dev/ytt to v0.50.0 (#324) (588d600)
  • deps: update module golang.org/x/term to v0.22.0 (#321) (2f63e3c)

4.2.1 (2024-06-17)

Bug Fixes

  • deps: update module github.com/spf13/cobra to v1.8.1 (#317) (8be47e3)

4.2.0 (2024-06-13)

Features

Bug Fixes

  • deps: update module carvel.dev/vendir to v0.40.2 (#313) (7e71793)
  • deps: update module carvel.dev/ytt to v0.49.1 (#314) (10825c2)

4.1.3 (2024-06-05)

Bug Fixes

  • deps: update module github.com/alecthomas/chroma/v2 to v2.14.0 (#301) (fc2ca8a)
  • deps: update module github.com/rs/zerolog to v1.33.0 (#303) (9176268)
  • deps: update module github.com/spf13/viper to v1.19.0 (#305) (8a6d8b7)
  • deps: update module golang.org/x/term to v0.21.0 (#307) (5452ab9)

4.1.2 (2024-05-20)

Bug Fixes

  • adjust the initial .gitignore for the latest changes (#294) (2e1940f)

4.1.1 (2024-05-15)

Bug Fixes

  • switch generated data values to schema to lower priority (#290) (8f86a11)

4.1.0 (2024-05-15)

Features

  • enchance cleanup command to take care of cache (#288) (da36786)

4.0.1 (2024-05-12)

Bug Fixes

  • empty ytt rendering step output is not an error but warning (8ba573a)
  • propagate errors from rendering steps (ca8f9ca)

4.0.0 (2024-05-11)

ℹ Upgrading to 4.0.0

In the new major version we introduced a central cache for external sources downloaded by vendir. With that, we also changed location of most of the myks-managed files. Here is the list of changes (examples are using the file system structure created by the myks init command):

  • <env>/_apps/<app>/.myks and <env>/_apps/<app>/vendor directories are moved under the .myks directory in the repository root. For example:
    • contents of envs/mykso/dev/_apps/argocd/.myks is moved under .myks/envs/mykso/dev/_apps/argocd,
    • envs/mykso/dev/_apps/argocd/vendor directory is now .myks/envs/mykso/dev/_apps/argocd/vendor.
  • vendor directories now contain links to directories in the central cache instead of files and directories as before.
  • The new .myks/vendir-cache directory contains cache entries named using (upon availability) vendir contents type, name, version and config hash.

There is nothing required to be done before you can start using the new myks. However, there are a few things to keep in mind:

  1. The first run of the new version will download all the sources used in your project, it might take a while.

  2. The old files are not cleaned up, so you can easily rollback to the old myks if needed. Otherwise, you have to do remove the files manually:

    # First, inspect what will be removed:
    find envs -name .myks
    # Then remove:
    find envs -name .myks -exec rm -rf {} \;
    # First, inspect what will be removed:
    find envs -name vendor
    # Then remove:
    find envs -name vendor -exec rm -rf {} \;

⚠ BREAKING CHANGES

  • central cache with symlinks (#274)

Features

Bug Fixes

  • deps: update module carvel.dev/vendir to v0.40.1 (#270) (fec8d50)
  • deps: update module golang.org/x/term to v0.20.0 (#278) (7074c8e)
  • remove ytt dependency everywhere (#284) (8265abc)
  • ship example prototypes with lazy flag enabled (1f91aa0)

3.4.4 (2024-04-07)

Bug Fixes

  • deps: update golang.org/x/exp digest to c0f41cb (#264) (59981d0)
  • deps: update module golang.org/x/sync to v0.7.0 (#262) (d1d231d)
  • deps: update module golang.org/x/term to v0.19.0 (#263) (2e28691)
  • deps: update, use upstream vendir (f2a1159)

3.4.3 (2024-03-29)

Bug Fixes

  • deps: update golang.org/x/exp digest to a685a6e (#258) (6ea07fe)
  • deps: update golang.org/x/exp digest to a85f2c6 (#254) (ead1322)
  • deps: update golang.org/x/exp digest to c7f7c64 (#252) (b1968c7)
  • edge case when processing all environments (2e17117)

3.4.2 (2024-03-13)

Bug Fixes

  • deps: update golang.org/x/exp digest to 814bf88 (#247) (01a68ce)
  • deps: update module github.com/alecthomas/chroma/v2 to v2.13.0 (#250) (305a16d)
  • deps: update module golang.org/x/term to v0.18.0 (#249) (8043b46)

3.4.1 (2024-02-20)

Bug Fixes

  • deps: update module carvel.dev/vendir to v0.40.0 (#244) (5ab69b4)

3.4.0 (2024-02-18)

Features

  • ui: shell completion for envs and apps (#240) (ef03b96)

Bug Fixes

  • deps: update golang.org/x/exp digest to 2c58cdc (#233) (e9c329a)
  • deps: update golang.org/x/exp digest to ec58324 (#241) (c017fc5)
  • deps: update module github.com/rs/zerolog to v1.32.0 (#232) (b0e0822)
  • deps: update module golang.org/x/term to v0.17.0 (#237) (33ad190)

3.3.1 (2024-01-22)

Bug Fixes

  • deps: update golang.org/x/exp digest to 1b97071 (#221) (d1affb1)
  • deps: update module carvel.dev/vendir to v0.39.0 (#225) (3a99a5d)
  • ui: provide better error message on multiple vendir configs (143cdf1)

3.3.0 (2024-01-13)

Features

  • ci: sign checksum file with GPG (a8673e9)

Bug Fixes

  • ci: create release PR with PAT, remove lint and test checks (16c01bb)
  • ci: lint and test on main before creating release PR (f42dcf6)

3.2.2 (2024-01-12)

Bug Fixes

  • deps: update golang.org/x/exp digest to 0dcbfd6 (#213) (dee31a0)
  • deps: update golang.org/x/exp digest to db7319d (#217) (69e3a30)
  • don't fail on attempt to clean up non existing files (#216) (5a20896)

3.2.1 (2024-01-10)

Bug Fixes

  • decrease amount of git-related errors and warnings (#208) (6635495)

3.2.0 (2024-01-07)

Bug Fixes

  • deps: update github.com/cppforlife/go-cli-ui digest to 9954948 (#201) (9836249)
  • deps: update golang.org/x/exp digest to be819d1 (#204) (9928ad1)
  • deps: update module golang.org/x/sync to v0.6.0 (#205) (d3b8ea0)
  • deps: update module golang.org/x/term to v0.16.0 (#206) (002cfe0)
  • sync: allow local paths in vendir config (#191) (73233eb)

Features

3.1.0 (2023-12-29)

Bug Fixes

Features

3.0.4 (2023-12-26)

Bug Fixes

  • deps: update module github.com/alecthomas/chroma to v2 (#185) (dd2d579)

3.0.3 (2023-12-25)

Bug Fixes

  • deps: update module github.com/alecthomas/chroma to v2 (#184) (6e6eede)
  • sync on integration tests (#177) (5d2e636)
  • sync: create vendor directory if not exists (#159) (fd8e878)

3.0.2 (2023-12-24)

Bug Fixes

  • sync: cover more cases of weird paths in vendir.yml configs (#158) (722ce01)
  • sync: trim path separator from vendir directories (#156) (7299eae), closes #155

3.0.1 (2023-12-22)

Bug Fixes

3.0.0 (2023-12-22)

Bug Fixes

  • consistent error logging with stderr and offending cmd (#143) (d9ed5ad)
  • smart mode: detect changes in untracked files (#144) (524a3c5)

Features

BREAKING CHANGES

  • sync: users have to remove the sync section from their configurations.

2.2.0 (2023-12-11)

Features

  • implement prototype overwrites in the envs tree (#110) (c3e550d), closes #109
  • include namespace in output file name (#141) (42fa566)
  • new plugin for copying static files (#132) (0f7c9dc)

2.1.1 (2023-11-21)

Bug Fixes

  • clean-up: Call env cleanup method when executing render and sync (#125) (c7cf621), closes #100

2.1.0 (2023-10-31)

Bug Fixes

  • init: ignore top level .myks folder (#116) (b39eb8d)
  • render: fix panic if metadata.name is not set (#123) (cdf3266)
  • smart-mode: correct detection of changes in "_env/argocd" (#111) (ec5dd1d)
  • smart-mode: filter out deleted envs and apps (93fa2e3), closes #114

Features

  • add metadata to ytt steps (#119) (6443a20)
  • global-ytt: log ytt output on error (#120) (a22f7aa)
  • ui: add smart-mode.only-print flag for debugging (0a6349a)

2.0.4 (2023-09-29)

Bug Fixes

2.0.3 (2023-09-29)

Bug Fixes

  • ui: sanitize environment search paths (#108) (e2262fb)

2.0.2 (2023-09-28)

Bug Fixes

  • ui: correctly process ALL environments with a custom set of applications (b7dd45a)
  • ui: corretly set step file number prefix (f58d689)
  • ui: render everything if Smart Mode failed (0a310b4)
  • ui: use correct rendering step name in logs (7cc93ce)

2.0.1 (2023-09-21)

Bug Fixes

  • move rendereded env-data.yaml to temporary dir (93426a3)
  • ui: provide more precise information about init errors (244e8b8)

2.0.0 (2023-09-19)

Bug Fixes

  • Add documentation the myks sync step (#38) (e61a10c), closes #37
  • apply smart mode logic only to supported commands (#83) (2bc754f)
  • argocd source plugin config type in schema (520156d)
  • cleanup vendir folder (#90) (a20df1a)
  • consistent behavior on rendering ALL applications (#79) (2aab516)
  • correct sources for the global-ytt rendering step (#50) (5a0e4d7)
  • create myks data schema file on init and on every run (#84) (976291e)
  • data values of prototype of argocd app (b5d7ff9)
  • do not fail on absent rendered directory (eaf1202)
  • do not fail without vendir configs (2f73cda)
  • do not override ArgoCD defaults set by user (#74) (f2cf4ce), closes #70
  • docker: do not build arm64, it is not supported (3971ae7)
  • docker: specify full image tag (f3222e5)
  • formatting (fd65f05)
  • generate ArgoCD secret only if enabled (4b3ed11)
  • helm value file merge (#33) (3c9c0ea), closes #32
  • init Globe core attributes earlier (#85) (20c48fd)
  • log errors during vendir sync (5dc1b5e)
  • make render errors appear in the log with full error message (c325da2)
  • process map keys instead of values (3b86a03)
  • reduce usage of pointers to cope with race conditions (#88) (d734933)
  • search in the default envs directory (ef4a75e)
  • skip helm rendering (80a8eb5)
  • smart-mode: detect changes when myks root is in subdirectory (0522b67)
  • update data-schema.ytt.yaml according to the latest Myks changes (5ef9d34)
  • use ArgoCD application path relatively to git root (92f0617)

Features

  • add a finalizer to ArgoCD project CR (acf67fd)
  • add argocd-apps prototype (6772744)
  • add arm binaries (a74d63e)
  • add common overlays example to assets (39965c5)
  • add example environment configs (8edba12)
  • add flag to control parallelism (#40) (144f5fd)
  • add git branch detection and refactor data schema (05e41d4)
  • add init command and a data schema file (c11c27a)
  • add prototypes in the init command (f31471e)
  • add step for rendering ytt packages (#36) (d1078c6)
  • Add vendir authentication via environment (b0c50c2)
  • Add vendir sync caching (24ff41c)
  • Added docker image (ae8988d)
  • Added Smart Mode that Automatically detects changed Environment… (#62) (e404b6b)
  • always write data-schema file (fa83bee)
  • ArgoCD support (#41) (e45d585)
  • configure ArgoCD Application finalizers and source.plugin (#56) (80940aa)
  • create initial .myks.yaml and print configs (#87) (215ccd3)
  • detect additional and missing applications (#89) (2c7e101)
  • do not convert git URL protocol (2823eb6)
  • dump configuration as ytt values (af65436)
  • fail on non existing apps (#52) (87aafa3), closes #3
  • fine-grained ArgoCD project destination (04d3b78)
  • get git repo URL (c9b726a)
  • helm: add support for helm capabilities (#48) (1a13ee1), closes #31
  • init: allow overwriting of data (#49) (f3f5983)
  • provide argocd-specific configuration with prototypes (06e5e5c)
  • provide example default values for all environments (0f9cab6)
  • Push images to docker hub and ghcr (#65) (10bdc63)
  • Refactoring to make log output more intelligible. (#39) (71cd34c)
  • release 2.0 (b7b486d)
  • smart-mode: configuration option for smart-mode base revision (#95) (4400184)
  • smart-mode: precisely select envs and apps for processing (#96) (ffb47ad)
  • support multiple content items in vendir configs (#92) (fc50be0)
  • tweak prefix logic on argo cr to allow for project names like "… (#72) (af01180)
  • validate root directory (f81b719)
  • vendir sync caching (7279cc7)

Performance Improvements

  • docker: ignore not needed files (3479804)

BREAKING CHANGES

  • release 2.0 This is an empty commit to trigger a major release.

1.2.0 (2023-06-03)

Features

Performance Improvements

  • process environments and applications in parallel (#28) (f319827), closes #9

1.1.0 (2023-06-03)

Features

1.0.0 (2023-06-03)

Bug Fixes

  • deps: update module github.com/spf13/viper to v1.16.0 (54a6af5)
  • helm rendering step (cb480f4)
  • Install vendir & fix bin name in test action (#15) (57b969b)

Features