Cosmic JS Changelog

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

Duplicate Object Types, Editor Publishing Restrictions

We have a couple new feature releases for your review:

Duplicate Object Types
You can now Duplicate Object Types. Go to any Object Type > Settings page and scroll to the bottom and find the "Duplicate Objects Type" button. This is a great time saver for when you need to duplicate Object Type Metafield content models and settings (it does not duplicate Objects).

Editor Restricted Publishing
You can now assign a team member access to all content in your Bucket but only allow them to save content to draft. This is a nice in-between role between Editor and Contributor.

Headless CMS Features and Solution Pages

We're excited to launch new resources to demonstrate how teams all over the world are using the Cosmic JS headless CMS to manage content for their websites and apps. You'll now notice:

  1. The Navigation Bar has grown to include a new Solutions Tab, which outlines use-cases like E-Commerce Websites, Blogs, Native Apps and more. Each Solution page provides helpful open-source example apps, extensions and customer stories that demonstrate that particular use-case.
  2. All Cosmic JS Headless CMS Features now have a Feature Detail Page for easier adoption and reference among teams. See example: Revision History.

Sign up / Log in with Google

We're excited to announce a new way to sign up and log in with Cosmic JS: using your Google account. It just takes 2 clicks 😎 

Authenticating with your Google account comes in addition to the existing options of using GitHub, Single Sign-On or manual account creation. We hope this makes your team's onboarding experience frictionless and easy.

Log in or sign up to check it out.

If you have any questions, or any other feature requests (the squeaky wheel gets the grease!) reach out to us on Slack and join us on Twitter.   

Dashboard Updates

Here's a quick update on some nice improvements to the Cosmic JS Dashboard, accompanied by gifs for your viewing pleasure 😁 

1. Easier Integration Tools
We are committed to a world-class developer experience. It's our goal to make it as easy as possible to integrate Cosmic JS content into any application. And now the experience is even better because with this new Integration Tools modal update, you have instant access to the API response for any dashboard resource in your Bucket. You also have easy access to all the other available integration methods: GraphQL API, NPM Module, and more. 

Just click the "Integration Tools" button to see the magic in action.

The high standard for an easy integration experience is Stripe. And we are aiming to make it even easier than Stripe to integrate your Cosmic JS code into your app. That's right, I said it, and you can hold me to it 😜 

2. Remove File Metafields
You can now remove files from File Metafields. This is a feature that falls in the category of "why wasn't this shipped earlier?", but here it is, better late than never.

We hope you like these improvements to get you up and running with cloud-powered content faster and easier. If you have any questions, or any other feature requests (the squeaky wheel gets the grease!) reach out to us on Slack and join us on Twitter

Photo by Chris Liverani on Unsplash

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:

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.

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.

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.