Skip to content

Latest commit

 

History

History
660 lines (419 loc) · 54.4 KB

CHANGELOG.md

File metadata and controls

660 lines (419 loc) · 54.4 KB

1.0.0-beta.19 (2025-02-16)

Features

  • templates: add simple CODEOWNERS file generation (ed19b3f)

Chores

  • deps: bump github.com/goccy/go-yaml in the minor-patch group (3d77c9a)
  • deps: bump the minor-patch group with 2 updates (7826ab5)
  • deps: update indirect dependencies (5f97c69)

Code Refactoring

  • add flexibility on generation with Generator function instead of just templates, allow patching generations with git diff files and generate gitignore from https://docs.gitignore.io/use/api (c481a82)

1.0.0-beta.18 (2025-01-12)

Features

  • golang: add a bunch of build info variables in Dockerfile and Makefile for easier build identification (66effd0)

Chores

  • build: rename Makefile command when only one binary is present (09f5cd0)
  • config: use vcs instead of git for naming (ad13de1)
  • deps: migrate from cli-sdk to compare to compare tests results (59a2f0a)
  • deps: upgrade dependencies (f6078f9)
  • go: add more dynamic build.go version Stringer implementation depending on version format (88c1141)

Code Refactoring

  • engine: allow any configuration type to be used in SDK mode (6425cee)
  • split craft engine from craft specific layout generator (3a63aba)

1.0.0-beta.17 (2024-12-25)

Features

  • schema: add conditions and Go validation following JSON schema - fixes #66 (485e464)

Bug Fixes

  • github: allow codecov reporting to fail without failing the whole workflow (b8ee5cf)
  • github: ignore coverage on renovate branches (19a4f13)
  • github: missing or build step present where is should not have been present or missing and avoid nodejs static configuration without any main (6c7c547)
  • gitlab: run renovate jobs only on web and schedule triggers (c16ce5f)
  • renovate: update dry run option and improve logging behavior (ad6c47f)
  • validation: avoid error on generate when craft file doesn't exist (10d152b)

Reverts

  • github: use codecov action v4 since codecov_yml_path cannot be used (0fbab2e)

Chores

  • cmd: report caller in logs (e7bdb5d)
  • codecov: update CodeCov Action version (65c6055)
  • deps: bump github.com/charmbracelet/bubbletea (c9c81e4)
  • deps: bump github.com/charmbracelet/bubbletea (21a822b)
  • deps: bump github.com/charmbracelet/bubbletea (e020aec)
  • deps: bump github.com/charmbracelet/bubbletea (d78a8d9)
  • deps: bump github.com/go-playground/validator/v10 (d34333e)
  • deps: bump github.com/stretchr/testify in the minor-patch group (673ffcd)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (245345d)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (a6f2b32)
  • deps: bump golang.org/x/mod in the minor-patch group (a268fdf)
  • deps: migrate GitLab Go SDK to gitlab.com/gitlab-org/api/client-go (ebc3daa)
  • deps: upgrade codecov github action version to v5 (89dbcc3)
  • deps: upgrade various dependencies (d042bb9)
  • go: edit test coverage ignore and golangci-lint linters (remove errcheck since it's covered by revive) (4b082f3)
  • helm: avoid running cronjobs every minutes (f159fa7)
  • mk: clean ignored directories in make clean (35aa2e3)
  • mk: move mk files to subdir scripts/mk (c2c8031)
  • renovate: bump github action version (08b09b3)
  • schema: removed duplicated information (dbd1e22)

Code Refactoring

  • log: migrate internal logging to charmbracelet/log and remove clog usage in generate package (0b8c7a1)
  • simplify the whole CI (reducing the number of executable workflows) and rework engine to avoid multiple weird types (c40c1e3)

1.0.0-beta.16 (2024-10-30)

🐛 Bug Fixes

  • releaserc: invalid fail and success comments conditions (8b2e4d0)
  • releaserc: update conditions for fail and success comments for gitlab (700633a)
  • renovate: ensure patch and minor upgrades are in the same pull requests (533b6d4)

⚙️ Chores

  • releaserc: add some icon to releases section and update semantic-release/github or /gitlab options with new versions (5c6c026)
  • schema: add default values for CI name with availability to enter anything without a schema error (33a4045)

1.0.0-beta.15 (2024-10-27)

Features

  • prepare mono repositories generation (rename some files that could be conflictual) (c553a82)

Bug Fixes

  • github actions: missing run-workflow dependencies in docker actions file (de0a432)
  • github actions: use input to run build job with nodejs and golang since 'workflow_call' isn't available for github.event_name (60d7da1)
  • missing rights in github actions release golang workflow call (0f40fe7)
  • missing secrets inheritance in github release action (0a55afd)
  • nodejs: ensure build job in release workflow (github) is present only when release publishes on a registry (1dba0c8)

Chores

  • deps: bump github.com/charmbracelet/bubbletea (dfea6c2)
  • readme: remove gitlab cicd and github actions badge since pipeline can be seen on last commit (fced30e)

1.0.0-beta.14 (2024-10-16)

Bug Fixes

  • ci: add required permissions for docker and netlify github jobs when run with workflow_dispatch (0279970)
  • ci: invalid rights on docker jobs in github release action (506bb7b)
  • config defaults: avoid panic with bot default authentication when no CI is defined (be67d51)
  • github: invalid CI configurations for netlify and pages in release workflow with shared build workflow call (7908dd5)
  • hugo: change production directory to dist to be coherent with CICD generation (7ade0f6)
  • schema: add available CI option from craft codebase with extensibility possibilities (960623e)

Chores

  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (3410f37)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (ed34afb)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (7861c3d)

1.0.0-beta.13 (2024-10-05)

⚠ BREAKING CHANGES

  • release: gh-release, release-drafter and release-please aren't available anymore

Signed-off-by: kilianpaquier [email protected]

Features

  • add no_readme option in .craft (8b100be)
  • github: implement release please for releasing part - #65 (87a875f)
  • initialize: use huh lib for a better project initialization UI (1aae28a)

Bug Fixes

  • github: inverted description for workflow dispatch in release action (0191249)
  • go: add test timeout to all test commands (7aa3257)
  • golangci-lint: add some exceptions for varnamelen and remove err113 (1b0166c)
  • labeler: add missing branches configuration for autolabeler (f234291)
  • lint: rename HandleDir into BasicExecFunc (471cb44)
  • multiple fixes on ci for docker and release and straighten golangci-lint rules with multiple new linters (c56f1a5)
  • release please: fix envsubst with release PR title version variable (c701666)
  • release please: invalid config and manifest file name in github CI (fe160e4)
  • release please: override computed version in some cases since configuration file can't be edited dynamically (25389d3)
  • release please: use .json config and manifest file (098ee18)

Chores

  • deps: bump the minor-patch group with 2 updates (a054222)
  • deps: bump the minor-patch group with 2 updates (e57c60e)
  • deps: upgrade golang.org/x/mod (6a202bc)
  • generated: add markdown comment style in regexp for IsGenerated (087a4d3)

Code Refactoring

  • generate: add suffixes to Detec, Exec types and FileHandlers functions (1202a0e)
  • generate: simplify logging feature (6fa1977)
  • generate: use metadata as ptr in Detect function and add Generic in global Detects slice to simplify Run behavior (bb7f9a3)
  • release: keep only semantic-release as available releaser in generation (6df9b18)

1.0.0-beta.12 (2024-08-25)

Features

  • gitlab: implement netlify and pages deployments (d6a5890)
  • renovate: add configuration for both gitlab and github CI (4aa4350)
  • upgrade: add new command for easier upgrade of craft (2dfefa0)

Bug Fixes

  • ci: change return 0 to exit 0 since returns can only be used in shell functions (f60378d)
  • dependabot: add specific time and zone for checks (3dad6e8)
  • github: ensure version job has the same rights as release one (1d9e45c)
  • github: invalid version action path and name (44608c1)
  • gitlab: invalid semrel version when semantic-release successfully computed it (ead6d67)
  • labeler: invalid configuration and comittish name in CI (7629601)
  • nodejs: invalid required on repository when repository is private (769b68c)
  • renovate: add author email and git signoff (b884e19)

Documentation

  • upgrade: add default installation destination path in help (97049a8)

Chores

  • deps: bump github.com/go-viper/mapstructure/v2 (82b7360)
  • deps: migrate mergo go.mod import (906ecfc)
  • deps: upgrade indirect dependencies (829fe00)
  • golangci: lighten gocognit max-complixity to 30 (8a84802)
  • makefile: remove for golang docker install script when no executable is detected (98bb7e7)
  • renovate: change base branches configuration for only default one and maintenance branches (1dc5966)
  • renovate: remove config migration option (7c4760a)
  • renovate: remove git author configuration (6ab7ecb)
  • renovate: use CI variables instead of generation variable for autodiscover filter and git author (59ce09f)

Code Refactoring

  • filehandler: rework github and gitlab handling of optional files (bf43c29)
  • github: a lot of things reworked, but a small summary (051680e)

1.0.0-beta.11 (2024-08-12)

Features

  • github: add gh-release for CI release action (2e5394d)
  • implement release-drafter as release action - #46 (c64ed3c)
  • nodejs: implement npm publish in node-build when working with release-drafter or gh-release (1674391)

Bug Fixes

  • allow detections to return error in case something unrecoverable is encountered (1d00a91)
  • drafter: add missing artifacts download step (16b3562)
  • drafter: bad glob for assets upload in release (4a1ec05)
  • drafter: remove contributors footer since github already does it when contributor is tagged in release (a5f7ea9)
  • drafter: remove GE_HOST setup (0c891e9)
  • github: add needs on version job for release job (b3bae1b)
  • github: move permission in dependencies submission job to specific job (582f64c)
  • github: print released version in release process (9eb3056)
  • github: various fixes on release file actions (additional git checkouts, new breaking section in release note) (5629dc0)
  • golangci-lint: lighten cyclop alert and harden cognit alert (456a785)
  • print destination filename instead of template one in logs (17c4466)
  • print only filename instead of full path when not regenerating it (f016ead)

Reverts

  • semrel: put back specific version for conventionalcommits parser (b5bbaf4)

Documentation

  • readme: add missing netlify option (24754a6)

Chores

  • actions: enforce docker environment in github actions for docker build and docker trivy (ce1ab97)
  • golangci: remove nested-structs rule (57efd62)
  • makefile: print installing or current version on install scripts (e77dd8c)
  • semrel: remove dist when not working with golang (cb7426a)
  • semrel: remove specific conventionalcommits version since semantic-release upgraded (2202798)

Code Refactoring

  • nodejs: make packageManager required in package.json file (2d12dd2)

1.0.0-beta.10 (2024-08-05)

Features

  • github: use package.json packageManager version for bun projects (28be5cd)
  • makefile: add install.mk for golang and hugo with various installation scripts (48f9038)
  • netlify: add github action job and as such option with github actions (9f3c250)
  • sdk: move and refactor craft to be used also as a SDK - #45 (78b0e4e)

Bug Fixes

  • go: rename revive option imports-blocklist (11f3f44)
  • netlify: add dev folder in gitignore for nodejs and hugo (1a98fd1)
  • netlify: add netlify.toml file in github actions job (06c7567)
  • npm: add id-token to release for provenance signature (33ea480)

Chores

  • deps: bump github.com/samber/lo in the minor-patch group (f4e0991)
  • deps: bump github.com/samber/lo in the minor-patch group (f7466b4)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (1c372be)
  • deps: bump golang.org/x/mod in the minor-patch group (b950e15)
  • deps: upgrade various dependencies (9917992)
  • generate: remove SplitSlice unused function (23d1925)
  • schema: add chart schema for craft chart file (e54f313)

1.0.0-beta.9 (2024-06-24)

Documentation

  • deps: upgrade kubernetes in values.yml (d6999a3)
  • readme: update some description around ci release options (d017c47)

Chores

  • dependabot: setup bot to run every day to avoid batches every week (eba239f)
  • deps: bump docker build push action to v6 (d17ffa4)
  • deps: bump github.com/go-playground/validator/v10 (76c309b)
  • deps: bump github.com/xanzy/go-gitlab in the minor-patch group (d8a900f)
  • deps: bump setup-bun github actions to v2 (bf7666b)
  • deps: only use major version for bun setup in ci (5235da8)
  • deps: upgrade goreleaser action to v6 and associated schema usage (8cf2d52)
  • deps: upgrade multiple dependencies (8331b0f)
  • deps: upgrade pnpm version to 9 in ci templates (355f0b8)

1.0.0-beta.8 (2024-05-10)

Bug Fixes

  • config: bad json tag for newly added disable key in release (e795500)

Chores

  • ci: update golangci-lint action to v6 (0c45037)
  • deps: upgrade toolchain to go1.22.3 (116315f)
  • gitlab: update semrel_ref variable name and prof_ref value since semrel_ref is the variable used for semantic-release (9bb2f61)

Code Refactoring

  • gitlab: rework version.yml in CICD (977d1ce)

1.0.0-beta.7 (2024-05-07)

Features

  • config: add release mode for github and migration backmerge / auto_release option in new ci release section (5d0bc67)
  • config: add release option to disable release at all (4f4051e)

Bug Fixes

  • readme: only add CI badges when CI is provided (561791a)

Documentation

  • readme: add linux installation section for no go developers (8a9ae0f)

Chores

  • github: upgrade pnpm action to v4 and remove version from actions in case it's specified in package.json (e6ae1af)
  • gitlab: update semrel_ref to include all semantic-release to release (072a546)

1.0.0-beta.6 (2024-05-06)

Bug Fixes

  • ci: ensure for both gitlab and github that a version is computed and fix associated regexp (0839a1d)
  • dependabot: bad commit prefix for code dependencies (f328ecd)

1.0.0-beta.5 (2024-05-04)

Bug Fixes

  • backmerge: only set fetch-depth: 0 for gitlab and github cicd when option is provided (a44ef0e)
  • gitlab: bad regexp on version job (0530a6d)

Documentation

  • ci: add information about dot not being espaced in github branches regexp (35517ed)

Chores

  • gitlab: update prod_ref and integ_ref in main .gitlab-ci.yml (1a58a2b)

Code Refactoring

  • github: rework release workflow in github actions following latest modifications (557a6d4)

1.0.0-beta.4 (2024-05-04)

Features

  • ci: add backmerge option using @kilianpaquier/semantic-release-backmerge (alpha plugin) (0e4fea1)
  • ci: handle minor maintenance branch (4a50859)
  • nodejs: add NPM_TOKEN when package.json is not private for semantic releasing (7717b43)
  • nodejs: add reports folder exclusion (40ede9a)
  • nodejs: handle properly package managers (97349f9)

Bug Fixes

  • generic: enable auto release and backmerge features for empty languages projects (like readme only, etc.) (49ed7ba)
  • github: release action not having the right conditions nor the right rights for version job (fb0d770)
  • gitlab: bad semrel plugin in plugins file (c657725)
  • nodejs: add built dist to semantic-release job and git depth for backmerge (cc0fee6)
  • semantic-release: add conventionalcommits preset for commit-analyzer and fix version to 7 (5138247)

Chores

  • backmerge: allow backmerge for all platforms in releaserc (1ddf381)
  • deps: bump golangci-lint action to v5 in templates (8ead59d)
  • deps: upgrade dependencies (b2c74bf)
  • deps: upgrade generated github semantic-release ci to v23 (d6d592e)
  • nodejs: add fields to parsed package.json (1d73537)
  • releaserc: disable issue opening on release error (1552b50)

Code Refactoring

  • auto_release: move option into ci.options (072fe6c)
  • dependabot: remove default keys and use ci prefix for github actions updates (5d8b469)

1.0.0-beta.3 (2024-04-13)

⚠ BREAKING CHANGES

  • generate: openapi generation was removed

Features

  • github: add hugo-build needs for release job (b64f324)
  • release: add auto_release option to auto run release job - available for both gitlab and github (1e3b2c8)

Bug Fixes

  • auto_release: move option to CI configuration part (d27d379)
  • releaserc: changed failComment to default value (513d939)

Documentation

  • auto_release: add missing doc (6dcfe6c)

Code Refactoring

  • generate: remove openapi generation and rework helm generation to take this into account (aff7b9c)

1.0.0-beta.2 (2024-04-07)

Features

  • generate: add craft notice in .craft configuration file (72382bd)
  • generate: save edited .craft configuration from generate (a03b11e)

Bug Fixes

  • generic: remove readme github actions since there's no integration workflow (26e3a4f)
  • github: add branches for integration actions workflow (next, beta, alpha) (6285f1e)
  • github: bad path on npm-build and hugo-build artifacts for github-pages (74615f9)
  • github: let github actions set the github-pages job's token (ba97741)
  • hugo: put specific exclusions of hugo files in gitignore to avoid ignoring hugo configuration files (9a1d6d7)

Chores

  • github: update cache action for hugo build (2119229)

Code Refactoring

  • generate: drop plugin notion in favor of something more flexible to handle languages frameworks (1f757b8)

1.0.0-beta.1 (2024-03-31)

⚠ BREAKING CHANGES

  • config: many options moved to substructures, like openapi_version into api.openapi_version or docker_registry into docker.registry

Features

  • add codecov option, rework some things around gitlab-ci cicd integration, rework some things around makefile generation (a2ba08a)
  • add dependabot configuration for github and remove description from init command (2f73b05)
  • add github cicd for generic and golang plugins (a9e5e2d)
  • add some features around nodejs and golang (includes some refactor around generate engine) (3c98be8)
  • ci: handle only vN as maintenance branch - #17 (e1ef4b7)
  • ci: handle properly workflow result even on push events (fe6af3b)
  • docker: push snapshot images to specific registry and review codecov projects' configuration (9b3bd1a)
  • don't handle multiple primary plugins in the same repository yet (bcba65d)
  • github: add docker-hadolint and docker-trivy analysis, remove version on integration, update codecov configuration (f77eb46)
  • gitlab: handle cicd generation with to-be-continuous - #18 (02f1a97)
  • go: handle go test with multiple OS (c257ea3)
  • go: handle golang docker build stage version (5815d62)
  • golang: add docker build in github release workflow and improve Dockerfile labeling (6381cd1)
  • import project from gitlab (36a4f96)
  • introduce languages property to share more generated files between plugins (81307f0)
  • nodejs: add generation (742b57c)
  • readme: add various badges depending on git platform (82ce9d0)

Bug Fixes

  • add back release specific worfklow (11bda70)
  • add issues write on release and add exclusions to go build artifacts (80eaa29)
  • bad publish github actions condition (e0585c8)
  • bad publish github actions condition (3c7eedc)
  • ci: add sufficient rights for semantic release comments on issues and pull requests (c44c717)
  • ci: change os matrix to include to avoid subnames usage (e75946a)
  • ci: codecov config in subdir really doesn't work (649583d)
  • ci: ensure releaserc only have necessary artifacts on git plugin for semantic release (84ca91b)
  • ci: executables not being uploaded in release - #14 (dcb3e77)
  • ci: handle correctly dependabot codecov ignore (bea2c7c)
  • ci: handle correctly push github actions rules with semantic release branches rules (ca6f7fe)
  • ci: multiple improvements around github workflow runs (09924b4)
  • github: handle properly codecov options (1dca49f)
  • github: handle properly release branches for docker build (5ae920c)
  • github: remove codecov on dependabot branches (fbedf74)
  • github: remove dependabot weird prefix (42c5e1b)
  • gitlab: update IMAGE_VERSION to VERSION (c48c74e)
  • golang: invalid order in Dockerfile instructions (726edc5)
  • go: remove hadolint pull request comment (f294d46)
  • handle correctly windows generation (c3e8573)
  • include publish in base integration github actions workflow (28b7e04)
  • missing examples update after last github actions feature (c955bbf)
  • release: add v prefix on github workflows version output (85874f8)
  • remove ref_protected condition on publish job (environment constraint should do the job) (bf664e0)
  • remove release github actions useless strategy (e60e901)
  • try match github actions condition on ref_protected (24b7603)

Documentation

  • add newly github actions workflows doc (f59abe5)
  • readme: add CC of craft commands instead of manul explanation (867fd60)
  • readme: add schema tips in craft file section (90f425c)
  • readme: remove code section language to avoid weird colors (a8f0f91)
  • readme: update plugins part (3028000)
  • schema: add root craft schema for easier setup (2e6d5c5)
  • schema: typo on no_ options (aae2b6b)

Chores

  • ci: add merge-check (26641ff)
  • ci: remove build/ci directory (f9e218b)
  • ci: update golangci rules (e56e047)
  • codecov: add mocks coverage exclusion (47bb177)
  • deps: update dependencies (63132ca)
  • deps: update dependencies (4e8c9a5)
  • deps: update go-playground/validator (91ead6b)
  • release: update release environment name (ab50051)
  • release: v1.0.0-alpha.1 [skip ci] (ae7bc77)
  • release: v1.0.0-alpha.2 [skip ci] (9d62a52)
  • release: v1.0.0-alpha.3 [skip ci] (257069f)
  • release: v1.0.0-alpha.4 [skip ci] (a970772), closes #14

Code Refactoring

  • config: rework craft config structure (83aa207)

1.0.0-alpha.4 (2024-03-06)

Bug Fixes

  • ci: executables not being uploaded in release - #14 (dcb3e77)

1.0.0-alpha.3 (2024-03-06)

⚠ BREAKING CHANGES

  • config: many options moved to substructures, like openapi_version into api.openapi_version or docker_registry into docker.registry

Features

  • github: add docker-hadolint and docker-trivy analysis, remove version on integration, update codecov configuration (f77eb46)
  • go: handle go test with multiple OS (c257ea3)
  • go: handle golang docker build stage version (5815d62)

Bug Fixes

  • ci: handle correctly dependabot codecov ignore (bea2c7c)
  • ci: handle correctly push github actions rules with semantic release branches rules (ca6f7fe)
  • go: remove hadolint pull request comment (f294d46)
  • handle correctly windows generation (c3e8573)

Documentation

  • readme: add CC of craft commands instead of manul explanation (867fd60)

Code Refactoring

  • config: rework craft config structure (83aa207)

1.0.0-alpha.2 (2024-03-03)

Features

  • add codecov option, rework some things around gitlab-ci cicd integration, rework some things around makefile generation (a2ba08a)
  • add dependabot configuration for github and remove description from init command (2f73b05)
  • don't handle multiple primary plugins in the same repository yet (bcba65d)
  • golang: add docker build in github release workflow and improve Dockerfile labeling (6381cd1)

Bug Fixes

  • add issues write on release and add exclusions to go build artifacts (80eaa29)
  • github: handle properly codecov options (1dca49f)
  • github: handle properly release branches for docker build (5ae920c)
  • github: remove codecov on dependabot branches (fbedf74)
  • github: remove dependabot weird prefix (42c5e1b)
  • gitlab: update IMAGE_VERSION to VERSION (c48c74e)
  • golang: invalid order in Dockerfile instructions (726edc5)
  • release: add v prefix on github workflows version output (85874f8)

Chores

  • codecov: add mocks coverage exclusion (47bb177)
  • deps: update go-playground/validator (91ead6b)

1.0.0-alpha.1 (2024-02-25)

Features

  • add github cicd for generic and golang plugins (a9e5e2d)
  • import project from gitlab (36a4f96)

Bug Fixes

  • add back release specific worfklow (11bda70)
  • bad publish github actions condition (e0585c8)
  • bad publish github actions condition (3c7eedc)
  • include publish in base integration github actions workflow (28b7e04)
  • missing examples update after last github actions feature (c955bbf)
  • remove ref_protected condition on publish job (environment constraint should do the job) (bf664e0)
  • remove release github actions useless strategy (e60e901)
  • try match github actions condition on ref_protected (24b7603)

Documentation

  • add newly github actions workflows doc (f59abe5)

Chores

  • release: update release environment name (ab50051)