Skip to content

Releases: KusionStack/kusion

v0.12.1-rc.2

25 Jul 07:28
86905a8

Choose a tag to compare

What's Changed

Full Changelog: v0.12.1-rc.1...v0.12.1-rc.2

v0.12.1-rc.1

17 Jul 08:15
e037960

Choose a tag to compare

What's Changed

  • fix: goreleaser deprecation notices by @liu-hm19 in #1163
  • test: uncomment e2e tests by @SparkYuan in #1164
  • docs: update the Chinese readme and the Windows download command by @SparkYuan in #1172
  • feat: move secret references replacement form generating to applying by @SparkYuan in #1173
  • fix: skip replacing secret data without ref prefix by @liu-hm19 in #1175
  • feat: replace secret references in the preview by @SparkYuan in #1180
  • feat: add support for on-premises secret provider define in api.kusion.io by @Liuxingyu1111111 in #1179
  • chore(deps): bump github.com/docker/docker from 25.0.3+incompatible to 25.0.5+incompatible by @dependabot in #1184
  • chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3 by @dependabot in #1183
  • chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 by @dependabot in #1182
  • feat: support spec file as input of preview and apply by @liu-hm19 in #1185
  • feat: support path-style of bucket for s3 storage backend by @hoangndst in #1189
  • ci: check md links periodically by @SparkYuan in #1193
  • feat: support terraform resource import by @liu-hm19 in #1186
  • feat: support release unlock command by @liu-hm19 in #1191
  • feat: mask secret data in preview result by @liu-hm19 in #1176
  • test: add windows e2e test by @liu-hm19 in #1197
  • feat: enable concurrent manipulation of TF resources since they are stored in different directories by @SparkYuan in #1194
  • fix: a TF breaking change to enable reusing cached providers by @SparkYuan in #1199
  • chore(deps): bump github.com/hashicorp/go-getter from 1.7.4 to 1.7.5 by @dependabot in #1207
  • chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #1212
  • fix: the latter volume dirs overwrite the prior one by @vietanhtwdk in #1214
  • feat: support runtime configurations in workspace by @liu-hm19 in #1211
  • fix: locked release file caused by interruption by @liu-hm19 in #1219

New Contributors

Full Changelog: v0.12.0-rc.4...v0.12.1-rc.1

v0.12.0

12 Jun 12:44
88c4a17

Choose a tag to compare

Features

Kusion Apply Enhancement

In the previous versions, kusion apply by default only sends the apply request and does not wait for actual reconciliation of Kubernetes resources. In this version, the kusion apply command has been enhanced with upgraded functionality and user experience, including the support of timeout settings, default watch and real-time display for resource reconciliation, along with a better terminal user interface. @liu-hm19

State Upgrades to Release

In the previous versions, a state file would be created or updated in the storage backend to record the resource status after applying or destroying a stack. In this version, we have upgraded the state into release, which now records both the spec and the state of a stack, as well as the operation phase, making it more suitable and convenient for team collaboration and audit management. @healthjyk

Kusion Module Management Upgrade

In this version, we added the kusion mod list and kusion mod add commands for developers to better manage the Kusion modules. kusion mod list can help to obtain the name, version and URL of the available modules in a specific workspace. And kusion mod add enables users to fetch module artifacts and add the corresponding dependency declarations in kcl.mod. @SparkYuan

Workload Modularization

In the version of v0.11.1, the Workload schema was tightly coupled with the AppConfiguration model. And in this version, we implemented the modularization of the Workload. The built-in definitions for the Service and Job modules have been moved to the catalog repository. Users can also implement customized Workload modules according to their own needs. @SparkYuan

Bug Fixes

  • Fix a bug of customized namespace to correctly get Kubernetes namespace @adohe
  • Fix a bug of secrets management @SparkYuan
  • Fix some bugs of Kubernetes resource normalization and conversion @Liuxingyu1111111 @SparkYuan
  • Fix some bugs of applying and destroying Terraform resources on the Windows system @SparkYuan

New Contributors

Docker Images

  • kusionstack/kusion:v0.12.0

v0.12.0-rc.4

12 Jun 09:49
982e263

Choose a tag to compare

v0.12.0-rc.4 Pre-release
Pre-release

Changelog

Docker Images

  • kusionstack/kusion:0.12.0-rc.4

Dependent version

v0.12.0-rc.3

11 Jun 12:25
1df3c90

Choose a tag to compare

Changelog

Docker Images

  • kusionstack/kusion:0.12.0-rc.3

Dependent version

v0.12.0-rc.2

11 Jun 08:27
08b40e2

Choose a tag to compare

Changelog

Docker Images

  • kusionstack/kusion:0.12.0-rc.2

Dependent version

v0.12.0-rc.1

04 Jun 08:57
aabbb5e

Choose a tag to compare

Changelog

Docker Images

  • kusionstack/kusion:0.12.0-rc.1

Dependent version

v0.11.1

30 Apr 07:35
aa40a87

Choose a tag to compare

Features

Kusion Apply Supports Automatic Port Forwarding

In this version, kusion apply supports specifying the port of the application to forward with the --port-forward option. After the application resources are deployed, Kusion CLI will automatically forward the local port with the same number to the corresponding pod port of the application in the targeted Kubernetes cluster, which makes it easier for users to debug their application. @liu-hm19

Adding Sub Commands for Project and Stack

In this version, we added the kusion project and kusion stack sub commands for a better project and stack lifecycle management, facilitating the creation of new Project and Stack. A new stack can be created based on the existing ones, allowing users to quickly initiate a new set of application configurations. @liu-hm19

Adding Supports for Customized Namespace

In Kusion v0.11.0, application resources will by default be created in the namespace with the same name as the project. In this version, we added supports for customized namespaces. Users now can specify a namespace in the extension fields of project.yaml and stack.yaml files, and the application resources will be created in the specified namespace accordingly. @adohe

Kusion Mod Push Enhancement

In this version, we optimized the version management of Kusion Module OCI artifacts for kusion mod push cmd and introduced the support for multiple operating systems and architectures. @SparkYuan

Bug Fixes

  • Fixed some issues of the Kusion CLI interactive terminal display @liu-hm19
  • Fixed some issues of the Kusion CLI flag options @adohe @liu-hm19

Concept Update

The definitions, boundaries as well as their relationships of the Kusion core concepts, Project, Stack and Workspace, have been updated.

Docker Images

  • kusionstack/kusion:v0.11.1

v0.11.1-rc.1

29 Apr 12:16
13098d0

Choose a tag to compare

What's Changed

  • refactor: update api package for enhanced maintainability by @adohe in #871
  • chore: deprecate old core api pkg, use latest instead by @adohe in #1004
  • feat: add meta flags and options for common logic and data by @adohe in #1005
  • refactor: sign state to deprecated state by @healthjyk in #1031
  • feat: update stack api by @liu-hm19 in #1032
  • feat: adjust generate cmd behavior according to latest discussion by @adohe in #1034
  • refactor: preview&apply cmd implementation follow the command cmd pattern by @adohe in #1006
  • feat: generate cmd use terminal ui framework by @adohe in #1035
  • refactor: update delete cmd to follow the common cmd pattern by @adohe in #1041
  • feat: delete unused spec storage by @healthjyk in #1043
  • chore: delete useless signal handling logic by @adohe in #1045
  • feat: support os arch in mod push and ignore .git in the OCI artifact by @SparkYuan in #1046
  • feat: update state storage which is identified by project and workspace by @healthjyk in #1044
  • fix: unexpected output in format byte slice by @healthjyk in #1052
  • feat: group multiple os arch modules by image index by @SparkYuan in #1054
  • chore: delete application field from Meta by @adohe in #1053
  • feat: add Extension api types by @adohe in #1048
  • feat: init kcp core api by @ffforest in #1033
  • feat: add version tags to the image and image index by @SparkYuan in #1055
  • fix: add the version info in the index oci url to differentiate index… by @SparkYuan in #1056
  • feat: add clipath and pathutil pkg to calculate filesystem paths by @adohe in #1042
  • feat: support sub cmd of kusion project and stack by @liu-hm19 in #826
  • feat: update kusion init scaffold template by @liu-hm19 in #1049
  • feat: apply supports port forwarding by @liu-hm19 in #1057
  • feat: customize k8s resources namespace based on extensions by @adohe in #1060
  • feat: update port forward for kusion apply by @liu-hm19 in #1063
  • feat: update kusion project and stack create by @liu-hm19 in #1065
  • feat: update implementation of terminal ui for kusion by @liu-hm19 in #1061
  • feat: update workspace mod definition by @SparkYuan in #1066
  • feat: export some plugin functions by @SparkYuan in #1067
  • fix: Revert "feat: add configs in the workspace mod definition (#1066)" by @SparkYuan in #1069
  • feat: update kusion destroy progressbar by @liu-hm19 in #1071
  • fix: workspace update defaults to use current workspace by @liu-hm19 in #1075
  • fix: add workdir to meta flag of kusion cli by @liu-hm19 in #1074
  • feat: add shorthand of the work directory flag by @SparkYuan in #1076
  • feat: move module binary to KUSION_HOME by new path format by @SparkYuan in #1062
  • fix: replace current platform image with the new one when it already … by @SparkYuan in #1077
  • fix: broken links in the readme by @SparkYuan in #1079
  • feat: parse module name and version from the kcl.mod in mod push by @SparkYuan in #1080
  • fix: the bug of workspace update without name by @healthjyk in #1078
  • feat: download kusion modules with current os arch filter by @SparkYuan in #1081
  • feat: remove server from root cmd by @liu-hm19 in #1083
  • feat: update kpm version to ignore the module downloading hint by @SparkYuan in #1084

Full Changelog: v0.11.0...v0.11.1-rc.1

v0.11.0

01 Apr 12:24
c9ad0c1

Choose a tag to compare

Features

Kusion Module Extension Mechanism

In v0.10.0, we have introduced the collaboration paradigm between Application Developers and Platform Engineers. Here we further improve the relevant AppConfiguration model and Kusion Module extension mechanism. A Kusion module is a reusable building block designed by platform engineers to standardize application deployments and enable app developers to self-service, usually including a module schema and a module generator. We update the AppConfiguration model and open the accessories field to support various modules adding capabilities to application Workload. Some common modules like Network, MySQL, PostgreSQL, OpsRule and Monitoring have been built in by us. Meanwhile, we provide a Kusion Module development framework with which platform engineers can efficiently build their own customized modules, as well as the user guides for application developers. We also provide the kusion mod cmd for users to build and push local cross-platform module packages to remote repositories, such as Github Packages. @SparkYuan @ffforest @liu-hm19

Kusion Core Workflow Upgrade

The core workflow of Kusion CLI are getting some big changes. An internal demo application is embedded in simplified kusion init for users to get started with Kusion CLI more quickly. And kusion build has now been upgraded to kusion generate to adapt to using Kusion Modules to convert the users' Intent for workload accessories into the resource specification (Spec), support a versioned Spec storage. The interaction interfaces for kusion preview, kusion apply and kusion destroy has also been upgraded. @adohe @healthjyk @liu-hm19

Kusion Workspace Management Upgrade

In the previous version of Kusion, a Stack could only be bounded to the Workspace with the same name, both of which were tightly coupled. And now they have been decoupled, achieving a more flexible workspace management. Kusion provides a default workspace when no workspace is explicitly specified as the current workspace, and adds the kusion workspace switch cmd to switch the current workspace. @healthjyk

Kusion Backend Management Upgrade

We add the kusion config cmd for users to configure the storage backend of Kusion CLI with more flexibility and capability, enhancing the support for Workspace, Spec and State stored in Local, MySQL, S3 and OSS. Users can now configure and manage different backend storages for different workspaces with Kusion CLI. @healthjyk

User Experience Enhancement

Kusion now supports the automatic installation of Terraform CLI, eliminating the need for users to manually install it. @liu-hm19

Bug Fixes

  • Fix some issues of Kusion CLI when running on Windows. @healthjyk
  • Fix some outdated or inaccurate cmd prompts and outputs. @liu-hm19
  • Fix some issues related to the logging of Kusion CLI. @SparkYuan

Deprecations

  • The kusion init cmd no longer supports application templates.
  • The kusion build cmd has been upgraded to kusion generate.
  • The AppConfiguration and Workload models have been migrated from the catalog to the kam repository.

New Contributors

Docker Images

  • kusionstack/kusion:v0.11.0