Cosmic JS Changelog

Follow the changelog for product updates and feature roll-outs.

CloudFront CDN Now Included


Faster is better. And Cosmic JS media assets just got a whole lot faster. We are excited to announce that AWS CloudFront CDN asset delivery is now included free and automatically for all media assets delivered from the Cosmic JS API. This means that all of your global users will now receive your media assets faster on the global Cosmic JS CloudFront CDN.

Go into your Bucket and notice media urls will now originate from the Cosmic JS CloudFront CDN with the following base URL:

https://cdn.cosmicjs.com


What is CloudFront?
From the AWS website:
"Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment."

We hope you enjoy this added value for you, your team, and your end users. Join the conversation on Slack and follow us on Twitter.

New GraphQL API Release


We're excited to announce a big update to our GraphQL API. Check out the all of the new features in the GraphQL API documentation section in the new docs area. The changes include:

Serverless FTW!
Our new GraphQL API is powered by AWS Lambda Functions. So you have the assurance of infinite scalability and reliability for your content queries. This is what some call "Serverless" but we won't get into that debate, but we can all agree that it's awesome 😁 

More Queries
We have included lots of new methods to query your content as well as expanded account-level access queries. Old methods are still available, and have been deprecated. Check out the new queries.

Mutations
A much-requested feature, mutations allow you to perform writes, edits, and deletes on your Bucket content. We're happy to now include this functionality with the GraphQL API. Check out mutations.

Playground
We have a new playground setup to explore all of the features, docs, and schema for the new GraphQL API. Check out the playground.

Special thanks to the developers in our community who helped us make these big improvements. We plan to continue to provide more tools and resources for our GraphQL API users.

Let me know if you have any questions. Join the community on Slack and reach out on Twitter.

Introducing the new docs


We're excited to announce that we have made a big update to the Cosmic JS documentation. We think you'll agree that the experience is much improved and makes thumbing through the docs much easier and even enjoyable 😁

Here are the updates:

  1. All of the docs for the main features are all now in a single location for easy access: REST API, GraphQL API, CLI, Webhooks, Extensions, and Functions.
  2. Speed between pages is now blazing fast.
  3. Search! You can now search through all of the documentation to find what you need quickly.


Good documentation is so important. It can be the deal-maker or deal-breaker when deciding which tools to use on your team. And we think this release is a big improvement that we hope you like.

Check out the new docs and let me know what you think! Join the community on Slack and on Twitter.

Introducing the 'Powered by Cosmic JS' Badge


We're excited to unveil a new feature for the Cosmic Community: the Powered by Cosmic JS Badge.

Here's how it looks 😍 


Add the badge to the footer of your website to let your visitors know how you power your content (API-first!). Enable sharing to allow others to clone your content to their own Bucket.

You will get a Free Personal plan forever for helping us spread the word.


Here's how to do it: 

1. Navigate to Your Bucket > Settings and turn sharing on.

2. Copy and paste the code to the footer of your website using HTML or markdown.

3. Reach out to Cosmic support with a link to the badge and we'll upgrade your Bucket of choice to a free Personal plan forever!


Photo by israel palacio on Unsplash

Optimize images on the fly with the new image settings editor 📷 🛠


You can now edit your images on the fly using the new editor available on every image Metafield.

To see the new feature, login to your Cosmic JS account and go to any Object with an image Metafield and you'll notice a button to edit "Settings". (Note: you will need to have a role that includes developer features)



Click the button and you will be able to edit and optimize the image using imgix query params.


If you have any questions about this feature or others, join the conversation on Slack and reach out to us on Twitter.

View as Editor


We're happy to release a new feature that helps you collaborate with your team members easier using Cosmic JS. Introducing View as Editor.

As a developer, getting a CMS set up for your content creators requires a certain level of empathy. It's your job to make a technology choice that allows them to work in a comfortable environment and only see what they need to get their job done.

With the new "View as Editor" toggle now available in your Bucket for the developer and admin roles (see gif below), you can preview the entire Bucket experience from the vantage point of your content creators hiding all developer features and settings.


So now when you add your content creators in the editor role, you can be sure that you are giving them an intuitive and easy-to-use editing experience.

I'd love to hear your thoughts on this and other ways to make it easier for teams of developers and content creators to collaborate. Join the conversation on Slack and reach out to us on Twitter.

Photo by Scott Webb on Unsplash.