Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
APACHE-2.0 License
Published by HeyItsJs over 4 years ago
This is a patch release, mostly containing bug fixes.
For a complete list, check out the v0.18.1 milestone
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 right, you'll be able to reapply all saved project config using space-cli apply /path/to/backup/dir
.
Simply run space-cli upgrade
.
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!
Published by YourTechBud over 4 years ago
space-cli
Fixed quite a few bugs as well.
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
.
Simply run space-cli upgrade
.
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
Published by YourTechBud over 4 years ago
HTTP
traffic between different versions of a service. This enables support for canary deployment, A/B testing and load offloading. #769space-cli deploy
command to deploy code directly to SC. #861space-cli get --help
and space-cli generate --help
for reference. #726 #667space-cli get all
command to export all SC config. #738space-cli apply
command to apply exported config to SC. #737space-cli add registry
and space-cli add database
commands to ease the process of getting started with SC. This only works on docker
. #856space-cli upgrade
command to upgrade the current running SC cluster to the latest compatible version. This only works on docker
. #809Migration from previous versions to v0.17.0
is not possible since the release introduces breaking changes. You can follow these steps:
v0.16.0
.v0.16.0
cluster.space-cli
and create a new cluster.For the complete list of all changes and bug fixes, checkout the v0.17.0 milestone
Published by YourTechBud over 4 years ago
With v0.16.0
, we have added a new deployments module which integrates with Kubernetes and Docker to give you a serverless platform to scale and secure your microservices. The deployments module has the following advantages:
Visit our documentation to know more.
You can also checkout our step-by-step guide to get started with the new release.
utils.length()
function in security rules to get length of array [#697]letsencrypt
support for automatic HTTPS
[#630]You can find a more detailed list of all changes here
Published by HeyItsJs almost 5 years ago
Earlier, Space Cloud was capable of triggering a webhook for database events only when the document consisted of id/_id
field for SQL/Mongo. However, now Space Cloud's eventing module works for any database mutations that contains the fields uniquely identifying the document in the request.
Note: However, this causes a breaking in the
realtime
module (liveQuery
). Instead of sending thedocId
, Space Cloud now sends thefind
object which contains the field that uniquely identifies the document. i.e. the fields with either the@primary
or@unique
directive. Read more about theliveQuery
syntax.
The support of fetching distinct/unique values is added to Space Cloud in this version. Learn more about how you can use the distinct clause. Fixes #546
The mission control now displays the version number of Space Cloud that it is running with. This is helpful while debugging.
Published by HeyItsJs almost 5 years ago
Fixed bug of file storage module not accepting meta
Published by HeyItsJs almost 5 years ago
This is a major release of Space Cloud with tons of feature additions and bug fixes.
The security rules of Space Cloud have become more robust due to the following feature additions:
remove
. Fixes #552force
. Fixes #553in/notIn
array operators. Fixes #587Read more about the security in Space Cloud.
Note: Special thanks to @s-kris for his contribution via crucial feedback and feature requests! π
Read more about running Space Cloud in distributed mode
You can now use Space Cloud along with SQL Server. With this addition, Space Cloud now has the following databases support:
Space Cloud now supports event triggers for File operations as well (upload/delete). With this addition, you can
now trigger your custom business logic on the following events:
Read more about eventing in Space Cloud.
regex
operator for filtering/searching in the CRUD module.space-api-js
.Published by HeyItsJs almost 5 years ago
This release of Space Cloud has some significant changes to the schema module which makes modelling and using the CRUD module of Space Cloud very easy.
The @relation
directive has been dropped in favour of the @foreign
directive to make things more explicit and avoid the confusion with the @link
directive which is used for modelling relations.
Note: This is a breaking change. Follow the migration guide below to upgrade to
v0.14.0
So if your schema for foreign key looked like this:
type article {
id: ID! @primary
title: String!
author_id: author! @relation
}
Then you will have to change it to:
type article {
id: ID! @primary
title: String!
author_id: ID! @foreign(table: "author", field: "id")
}
@relation
directive.@relation
to @foreign
directive with the table
and field
arguments to dictate the target of the foreign key as shown in the above example.@relation
directive to ID
as shown in the above example.Now you can query relational data by making a simple query like this on frontend:
query {
author {
id
name
articles {
id
title
}
}
}
For this you would have to specify a @link
directive to describe the relationship between types like this:
type author {
id: ID! @primary
name: String!
articles: [article] @link(table: "article", from: "id", to: "author_id")
}
type article {
id: ID! @primary
title: String!
author_id: ID! @foreign(table: "author", field: "id")
}
Read more about links and modelling relationships.
This solves #494
You can now ask for the fields of the objects inserted in a mutation. Solves #511
Published by HeyItsJs almost 5 years ago
CONFIG
environment variable to configure the path of config file #489Published by HeyItsJs almost 5 years ago
This release simplifies the architecture of Space Cloud greatly and also introduces the support of remote services.
Space Cloud now uses Consul in the distributed mode for service discovery and config sync. This ensures a more robust and loosely coupled architecture.
We have removed the raft cluster which we used to maintain internally earlier. This means you can directly make changes to the config file now. We have also dropped the support of nats, pubsub and static module.
To deploy Space Cloud in distributed mode, checkout this guide.
We have dropped the support of functions
module in favour of normal HTTP services for custom business logic. This will help you leverage the existing ecosystem instead of adopting a new paradigm.
You can even perform joins on your remote services and database. Learn more about remote services from here.
The new mission control has major changes to improve the user experience. We have removed the global save button and setup database buttons which were confusing.
All bug fixes in v0.13.0
milestone
Published by YourTechBud about 5 years ago
It also added an endpoint to trigger events.
Published by HeyItsJs about 5 years ago
This is a major release of Space Cloud with super exciting new features:
This release adds GraphQL support for the following features:
Cool features:
Note: Space Cloud has added the GraphQL support in a schemaless fashion.
Space Cloud can now create schemas for tables/collections. Schemas serve the purpose of data validation and table creation/modification (in the case of SQL databases). This takes care of modeling relations and foreign keys as well.
Space Cloud can now trigger Space Functions on any database mutations.
Notable features:
Space Cloud now has a pubsub module which lets you publish and subscribe data. The security rules for the pubsub module works in the same fashion as the file storage module.
Each subscriber can subscribe with a queue name. Space Cloud assigns a random queue name to a subscriber if it does not mentions the queue name. Subscribers in the same queue are load balanced to receive a message.
Published by HeyItsJs over 5 years ago
This is a minor release. It contains the following features:
Published by HeyItsJs over 5 years ago
default
service and default
function to security rules of functions
moduleThe Mission Control UI now comes packed with a Space Cloud Explorer. This Explorer lets you run javascript code so that you can try Space Cloud APIs without having to set up any project. The api
object is available to all requests made by Explorer
The config of functions
module has been broken to make it flexible and future ready. The rules
have been renamed to services
which is a map of services where each service
holds a map of functions
where each function
holds a rule
field whose value is nothing but the rule
object.
Published by HeyItsJs over 5 years ago
This is the first release of Space Cloud with all major modules implemented (database, functions, file storage, user management and static).