|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## [0.0.27] - 2022-12-9 |
| 4 | + |
| 5 | +### Added |
| 6 | +- New `displayName` and `variables.exampeValues` properties in draft.yaml |
| 7 | + ```yaml |
| 8 | + # draft.yaml |
| 9 | + language: swift |
| 10 | + displayName: Swift # Add a display name for the selected resource (language/deploymentType/addon) |
| 11 | + variables: |
| 12 | + - name: "VERSION" |
| 13 | + description: "the version of swift used by the application" |
| 14 | + exampleValues: ["5.5","5.4"] # New optional field that is used to populate draft info, and which could be used in the cli for suggestions in the future. |
| 15 | + variableDefaults: |
| 16 | + - name: "VERSION" |
| 17 | + value: 5.5 |
| 18 | + ``` |
| 19 | +- Added `--dry-run` and `--dry-run-file` flags to `create` command |
| 20 | + - `--dry-run` enables dry run mode in which no files are written to disk, prints the dry run summary to stdout |
| 21 | + - `--dry-run-file` specifies a file to write the dry run summary in json format (requires `--dry-run` flag) |
| 22 | + ```json |
| 23 | + # Example dry run output |
| 24 | + { |
| 25 | + "variables": { |
| 26 | + "APPNAME": "testapp", |
| 27 | + "BUILDERVERSION": "null", |
| 28 | + "IMAGENAME": "testapp", |
| 29 | + "LANGUAGE": "gomodule", # Note that this variable is in addition to the draft config variables |
| 30 | + "NAMESPACE": "default", |
| 31 | + "PORT": "1323", |
| 32 | + "SERVICEPORT": "80", |
| 33 | + "VERSION": "1.18" |
| 34 | + }, |
| 35 | + "filesToWrite": [ |
| 36 | + "langtest/.dockerignore", |
| 37 | + "langtest/Dockerfile", |
| 38 | + "langtest/charts/.helmignore", |
| 39 | + "langtest/charts/Chart.yaml", |
| 40 | + "langtest/charts/production.yaml", |
| 41 | + "langtest/charts/templates/_helpers.tpl", |
| 42 | + "langtest/charts/templates/deployment.yaml", |
| 43 | + "langtest/charts/templates/namespace.yaml", |
| 44 | + "langtest/charts/templates/service.yaml", |
| 45 | + "langtest/charts/values.yaml" |
| 46 | + ] |
| 47 | + } |
| 48 | + ``` |
| 49 | + |
| 50 | +### Changed |
| 51 | +- **BREAKING** - `info` command output format includes additional information for supported languages with the following format changes: |
| 52 | + - keys are now camelCase |
| 53 | + - `supportedLanguages` is now an array of objects, enriched with `displayName` and `exampleValues` |
| 54 | + ```json |
| 55 | + # Example of the new info command output format |
| 56 | + { |
| 57 | + # keys are now camelCase, so supported_languages is now supportedLanguages |
| 58 | + "supportedLanguages": [ |
| 59 | + { |
| 60 | + "name": "javascript", |
| 61 | + "displayName": "JavaScript", # new field |
| 62 | + "exampleValues": { # new field |
| 63 | + "VERSION": [ |
| 64 | + "14.0", |
| 65 | + "16.0" |
| 66 | + ] |
| 67 | + } |
| 68 | + }, |
| 69 | + ... |
| 70 | + ], |
| 71 | + # keys are now camelCase, so supported_deployment_types is now supportedDeploymentTypes |
| 72 | + "supportedDeploymentTypes": [ |
| 73 | + "helm", |
| 74 | + ... |
| 75 | + ] |
| 76 | + } |
| 77 | + ``` |
3 | 78 | ## [0.0.26] - 2022-11-16 |
4 | 79 |
|
5 | 80 | ### Added |
|
0 commit comments