github spacecloud-io/space-cloud v0.18.0

latest releases: v0.21.5, v0.21.4, v0.21.3...
3 years ago

Improvements

Remote Services

  • Added support to set headers using values from JWT claims and payload
  • Added ability to transform body of the request and response
  • Added feature to run prepared Space Cloud GraphQL queries. This is a more secure way of using Space Cloud. Guide on this is coming soon

Ingress Routing

  • Added ability to add security rules to ingress routing. Now you can expose your microservices securely to the outside world without any fear!
  • Added support to set headers using values from JWT claims and payload
  • Added ability to transform body of the request and response

Database module

  • Database module can load connection strings from secrets. This protects the connection string from being exposed.
  • Finally added support for aggregations for SQL databases. Support for the same in Mongo is coming soon. Docs
  • Improved support for tracking existing tables. Currently tables with indexes do not get tracked properly. Should be fixed soon.
  • Added ability to execute raw SQL queries written in Mission Control. This helps one extract maximum performance and perform queries which would not be possible otherwise. This also eliminates the need of writing custom views for niche scenarios. Docs
  • Added JSON type for MySQL

Misc

  • Filestore modules can load credentials files from secrets.
  • Several improvements in space-cli
  • Security rules can now compare dates as well
  • Added ability to customize the error message returned on failed authorization

Fixes

Fixed quite a few bugs as well.

Upgrade guide

Upgrade is possible from v0.17.0 and above.

Before upgrading your cluster, make sure you backup cluster config using space-cli --project <project_id> get all /path/to/backup/dir. If things go wrong, you'll be able to reapply all saved project config using space-cli apply /path/to/backup/dir.

For Docker based deployments:

Simply run space-cli upgrade.

For Kubernetes based deployment:

We recommend setting up a fresh Kubernetes cluster and installing Istio and SC on top of it. Don't forget to backup all project config first!

For the complete list of all changes and bug fixes, checkout the v0.18.0 milestone

Don't miss a new space-cloud release

NewReleases is sending notifications on new releases.