Your weekly summary of Compose has news of those changes which may make your life easier and a rundown of the most recent database articles published.
Over the last several days, the Bach command line and GoComposeAPI have had some important changes.
Bach, the command line for the Compose API is adding some new commands and changing how details about Compose deployments are printed. The new
user command complements exiting the
roles commands. To enable this, the old
user command, which displayed the current user details has been replaced with the
user show command and makes space for
user add and
user del. The del command takes a user id which you can get via the bach
In other changes, more details of deployments will be shown when
bach details is used, including arrays of connection strings where there may have been only one displayed value. Bach will also skip fields if there's nothing to display as a value. If you have an application which uses Bach's output and are affected by this, please use the
--json flag and consume the JSON version of the results. Bach is also, now, displaying the Scylla Maps in
bach details. You'll find the binary release of Bach 0.3.0 in the repository. If you build your own Bach, also be aware we've switched from Glide to Dep.
If you use the GoComposeAPI to get connection strings, version 0.3.0 may be a breaking change for you. We have switched connection strings from strings to arrays of strings. This is to ensure better compatibility with possible changes in the Compose API as more databases offer more connections. As mentioned above, we also now return the Scylla Maps data. The updated GoComposeAPI is in its repository.
Since the last Noteworthy at Compose, we've had articles on Go and Compose databases, Node and the Compose API, and traversing Compose JanusGraph graphs along with our regular NewsBits.
We start with the third part of the Go Grand Tour, Go and Compose - etcd v3, Scylla, and MySQL where we offer a common example modified to work with each one of the Compose databases and designed to be the quickest way to get connected.
Next up, we looked at working with the Compose API, this time for creating users and teams. That's not database users, that's Compose users. Compose supports teams and multiple users on one account so you can coordinate your database deployers.
If you are new to graph databases, check out Graph 101: Traversing and Querying JanusGraph using Gremlin. It's the second part of a series that sets out to explain the practical use graph databases.
And we ended the week with Compose's regular NewsBits - news from the data layer, from database updates - like PostgreSQL, RabbitMQ an ElasticSearch, to the latest on development tools, languages and cloud infrastructure.
That's it for this week's Noteworthy at Compose.
Read more articles about Compose databases - use our Curated Collections Guide for articles on each database type. If you have any feedback about this or any other Compose article, drop the Compose Articles team a line at email@example.com. We're happy to hear from you.