Skip to content

Releases: ninech/nctl

v1.17.0

22 Apr 08:58
53c2a6e

Choose a tag to compare

What's Changed

  • fix: rebuild on language change by @thirdeyenick in #373
  • refactor: PostgresDatabase Collation Hint by @sislr in #374
  • build(deps): bump docker/login-action from 3 to 4 by @dependabot[bot] in #375
  • build(deps): bump crate-ci/typos from 1.44.0 to 1.45.0 by @dependabot[bot] in #376
  • build(deps): bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 by @dependabot[bot] in #378
  • build(deps): bump k8s.io/api from 0.35.2 to 0.35.3 by @dependabot[bot] in #380
  • build(deps): bump k8s.io/client-go from 0.35.2 to 0.35.3 by @dependabot[bot] in #379
  • build(deps): bump github.com/int128/kubelogin from 1.35.2 to 1.36.0 by @dependabot[bot] in #381
  • refactor: rename config to project-config and add config as alias by @SaadAssaf in #383
  • refactor: make help output more readable by @SaadAssaf in #386
  • feat(grafana): add command by @thirdeyenick in #387
  • add service linking for deploio apps by @gajicdev in #388

Full Changelog: v1.16.0...v1.17.0

v1.16.0

23 Mar 10:39
4a0fb0c

Choose a tag to compare

Changelog

  • Adds option to specify the collation for new PostgresDatabases.

What's Changed

  • feat(postgresdatabase): add option to specify collaction during creation by @josi19 in #370

Full Changelog: v1.15.0...v1.16.0

v1.15.0

20 Mar 14:13
3262d42

Choose a tag to compare

Changelog

  • Asks for confirmation before database deletion.
  • Adds structured output option to the whoami command.
  • Allows the configuration of custom headers for buckets.
  • Preparations for a new buildpack stack.

What's Changed

  • Print YAML and JSON output for whoami by @schmijos in #358
  • feat: add custom prompt for db deletion by @olknegate in #367
  • feat: add allowed-headers bucket CORS key by @sislr in #368
  • Add buildpack stack feature by @thirdeyenick in #371
  • build(deps): bump goreleaser/goreleaser-action from 6 to 7 by @dependabot[bot] in #361
  • build(deps): bump crate-ci/typos from 1.43.5 to 1.44.0 by @dependabot[bot] in #359
  • build(deps): bump k8s.io/kubectl from 0.35.0 to 0.35.2 by @dependabot[bot] in #363
  • build(deps): bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #360
  • build: fix govulncheck warnings by @thde in #366

New Contributors

Full Changelog: v1.14.2...v1.14.3

v1.14.2

26 Feb 10:03

Choose a tag to compare

Changelog

If you're using nctl auth set-project in CI with an APIServiceAccount you'll need to update the command to run nctl auth set-project --force.

Details

Until v1.14.0 nctl auth set-project would set a project without verifying if the user has access to that project in the first place. This led to confusion for users and therefore we introduced an error and suggestions how to verify which projects a user belongs to.

In some cases, nctl is unable to verify if it has access to a project and would always throw an error:

  1. When using an APIServiceAccount in a sub-project.
  2. When using an APIServiceAccount without organizational access.

The nctl auth set-project --force flag allows you to override these checks and set a project anyway.

What's Changed

  • fix: allow to force setting a project even if it can't be listed by @thde in #357

Full Changelog: v1.14.1...v1.14.2

v1.14.1

24 Feb 10:45

Choose a tag to compare

Changelog

  • Fixes a bug when updating the CORS for an S3 bucket. Flags that were not passed on update would default to false. This has been fixed so that only passed options are changed.

What's Changed

  • fix(bucket): preserve cors config on update by @thde in #356

Full Changelog: v1.14.0...v1.14.1

v1.14.0

23 Feb 15:43

Choose a tag to compare

Changelog

  • Adds suggestions and available options to different errors:
    ❯ nctl get postgresdatabase
     ✗ No "PostgresDatabases" found 💥
    
    Project: ninetest
    
    Suggested actions:
      - List all PostgresDatabases in your organization: nctl get postgresdatabases --all-projects
    
  • Adds new application sizes: standard-2 and standard-4
  • Improves project switching: If set-project cannot find the project in the current organization, it tries the user's other organizations from the token and switches to the one where the project exists.
  • Exposes project details in yaml and json output.
  • Adds the possibility to configure backup schedules for databases:
    nctl update postgresdatabase my-db --backup-schedule=daily
  • Improves autocomplete for projects.

What's Changed

  • feat(autocomplete): use selected project for autocompleting resources by @thde in #336
  • feat(errors): add suggestions and options to errors by @thde in #349
  • feat: add standard-4 application size by @gajicdev in #345
  • feat: switch organization when project is in another org by @SaadAssaf in #327
  • feat: expose project specs in yaml/json output by @coorasse in #339
  • feat: add backup schedule flag for economy databases by @skyfox14 in #335
  • refactor: replace ObjectsBucket usage with Bucket by @pawelkuc in #309
  • fix: fallback to COMP_LINE for project parsing by @thde in #338
  • docs: improve readme by @thde in #347
  • refactor: rename header from NAME to APP NAME by @schmijos in #346
  • refactor: configure output centrally, allow testing output by @thde in #348
  • refactor: split up utils package by @thde in #353
  • build(deps): update dependencies by @thde in #332
  • build(goreleaser): update config keys by @thde in #337
  • build(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 by @dependabot[bot] in #343
  • build(deps): bump github.com/golang-jwt/jwt/v5 from 5.3.0 to 5.3.1 by @dependabot[bot] in #340
  • build(deps): bump github.com/grafana/loki/v3 from 3.6.3 to 3.6.4 by @dependabot[bot] in #341
  • build(deps): update dependencies by @thde in #350
  • build(deps): bump crate-ci/typos from 1.41.0 to 1.43.5 by @dependabot[bot] in #354
  • build(deps): update to go1.26 by @thde in #355
  • test: align test patterns by @thde in #351

New Contributors

Full Changelog: v1.13.1...v1.14.0

v1.13.1

12 Jan 14:46

Choose a tag to compare

What's Changed

  • fix: add serviceconnections alias for get serviceconnection by @thomhug in #329
  • fix: unable to create postgresdatabase: location not allowed, available locations: [nine-cz41 nine-cz42 nine-es34] by @thde in #331

Full Changelog: v1.13.0...v1.13.1

v1.13.0

06 Jan 11:04

Choose a tag to compare

Changelog

  • Adds mysql, mysqldatabase, postgres and postgresdatabase as service connection destinations.
  • Allows version selection for new opensearch clusters.
  • Improves the bucket update message.
  • Updates dependencies including API defaults.

What's Changed

  • build(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #305
  • build(deps): bump crate-ci/typos from 1.35.8 to 1.39.0 by @dependabot[bot] in #304
  • build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #297
  • build(deps): bump github.com/charmbracelet/bubbletea from 1.3.6 to 1.3.10 by @dependabot[bot] in #292
  • ci: fail if modernize check fails by @thde in #306
  • build(deps): bump github.com/int128/kubelogin from 1.34.0 to 1.34.1 by @dependabot[bot] in #291
  • add destinations by @olknegate in #308
  • feat: allow OpenSearch version selection on creation by @shieldwed in #310
  • build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #318
  • build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #317
  • build(deps): bump github.com/prometheus/common from 0.67.2 to 0.67.4 by @dependabot[bot] in #316
  • build(deps): bump k8s.io/kubectl from 0.34.1 to 0.34.2 by @dependabot[bot] in #312
  • build(deps): bump crate-ci/typos from 1.39.0 to 1.40.0 by @dependabot[bot] in #319
  • build(deps): bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 by @dependabot[bot] in #314
  • fix: improve Bucket update message by @pawelkuc in #311
  • fix: add new destinations by @olknegate in #320
  • build(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #322
  • build(deps): bump crate-ci/typos from 1.40.0 to 1.41.0 by @dependabot[bot] in #321
  • build(deps): bump github.com/alecthomas/kong from 1.12.1 to 1.13.0 by @dependabot[bot] in #323
  • build(deps): bump k8s.io/client-go from 0.34.2 to 0.35.0 by @dependabot[bot] in #326

New Contributors

Full Changelog: v1.12.3...v1.13.0

v1.12.3

14 Oct 08:52
269ae78

Choose a tag to compare

What's Changed

Full Changelog: v1.12.2...v1.12.3

v1.12.2

10 Oct 14:30
500c820

Choose a tag to compare

What's Changed

  • allow to set reverse DNS for cloudVMs by @thirdeyenick in #284
  • add bucketuser crud by @gajicdev in #283
  • fix: add missing BucketUser vars by @ctrox in #285
  • fix: remove duplicate verified app hosts by @ctrox in #286
  • adding flags and new funcions for the sensitive fields by @SaadAssaf in #269
  • feat(opensearch): add support to disable public networking and bucket users on creation by @thde in #287
  • tests(get): revert regex testing by @thde in #289
  • return an empty env var slice instead of nil by @thirdeyenick in #290
  • feat: add optional health probe configuration by @pawelkuc in #298
  • feat: add CRUD commands for bucket resources. by @pawelkuc in #288

Full Changelog: v1.12.1...v1.12.2