Skip to content

Commit

Permalink
changelog: Clever Tools 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davlgd committed Feb 16, 2024
1 parent 35bdc21 commit 9521763
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions content/changelog/2024-02-16-clever-tools-3.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: Clever Tools 3.4.0 is available
date: 2024-02-16
tags:
- clever-tools
- cli
authors:
- name: David Legrand
link: https://github.com/davlgd
image: https://github.com/davlgd.png?size=40
- name: Hubert Sablonière
link: https://github.com/hsablonniere
image: https://github.com/hsablonniere.png?size=40
description: JSON everywhere, create more easily!
excludeSearch: true
---

This week, we published two Clever Tools updates in a row. 3.3.0 was about adding [our new Gravelines HDS region](/changelog/2024-02-12-new-grahds-region/) support and fixing a bug in our add-ons logs feature. 3.4.0 brings `json` and `json-stream` formats for applications logs. The latter uses the Newline delimited JSON (NDJSON) specification (`jq` compatible). You can learn more about it [here](https://github.com/ndjson/ndjson-spec/blob/master/README.md).

Check notice on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Google.Parens] Use parentheses judiciously.
Raw output
{"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 1}}}, "severity": "INFO"}

Check warning on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Google.We] Try to avoid using first-person plural like 'we'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 12}}}, "severity": "WARNING"}

Check warning on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 84}}}, "severity": "WARNING"}

Check failure on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Vale.Spelling] Did you really mean 'Gravelines'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'Gravelines'?", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 92}}}, "severity": "ERROR"}

Check notice on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Google.Acronyms] Spell out 'HDS', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'HDS', if it's unfamiliar to the audience.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 103}}}, "severity": "INFO"}

Check warning on line 18 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L18

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 18, "column": 185}}}, "severity": "WARNING"}

But it's the `create` and `deploy` commands which are the most improved by this release. First, you'll now get the application or add-on name confirmed after creation. You can also get a JSON response adding `--format json` or `-F json` to the `create` or `create-addon` command. Second, the current folder name is now used as default application name if none is provided.

Check warning on line 20 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L20

[Google.WordList] Use 'app' instead of 'application'.
Raw output
{"message": "[Google.WordList] Use 'app' instead of 'application'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 20, "column": 116}}}, "severity": "WARNING"}

Check warning on line 20 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L20

[Google.WordList] Use 'app' instead of 'application'.
Raw output
{"message": "[Google.WordList] Use 'app' instead of 'application'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 20, "column": 336}}}, "severity": "WARNING"}

Check notice on line 20 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L20

[Google.Passive] In general, use active voice instead of passive voice ('is provided').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('is provided').", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 20, "column": 361}}}, "severity": "INFO"}

To create a Node.js application once logged in, you can now just:

Check warning on line 22 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L22

[Google.WordList] Use 'app' instead of 'application'.
Raw output
{"message": "[Google.WordList] Use 'app' instead of 'application'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 22, "column": 21}}}, "severity": "WARNING"}

```
clever create -t node
```

If you need a JSON response for a Go application deployed on Gravelines HDS:

Check warning on line 28 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L28

[Google.WordList] Use 'app' instead of 'application'.
Raw output
{"message": "[Google.WordList] Use 'app' instead of 'application'.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 28, "column": 38}}}, "severity": "WARNING"}

Check failure on line 28 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L28

[Vale.Spelling] Did you really mean 'Gravelines'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'Gravelines'?", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 28, "column": 62}}}, "severity": "ERROR"}

Check notice on line 28 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L28

[Google.Acronyms] Spell out 'HDS', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'HDS', if it's unfamiliar to the audience.", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 28, "column": 73}}}, "severity": "INFO"}

```
clever create --type go --region grahds --format json
```

Last but not least: you can deploy a specific tag from your local git repository adding the `--tag` or `-t` option:

```
clever deploy --tag v0.4.2
```

To upgrade Clever Tools, [use your favorite package manager](https://github.com/CleverCloud/clever-tools/blob/master/docs/setup-systems.md#how-to-install-clever-tools). For example with npm:

Check failure on line 40 in content/changelog/2024-02-16-clever-tools-3.4.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-16-clever-tools-3.4.0.md#L40

[Vale.Spelling] Did you really mean 'npm'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'npm'?", "location": {"path": "content/changelog/2024-02-16-clever-tools-3.4.0.md", "range": {"start": {"line": 40, "column": 187}}}, "severity": "ERROR"}

```
npm update -g clever-tools
clever version
```

0 comments on commit 9521763

Please sign in to comment.