Stoplight v1.10.0 is now available! Included in this release is support for mocking API requests, a new "bundled" export format, and more. Read more below.
To download the latest version of Stoplight Platform with Docker, use the "1.10.0" image tag. Stoplight's production and managed environments are automatically upgraded to the latest release.
Please note that with v1.10.0, Stoplight now requires NodeJS v12. If you are an on-premise administrator of Stoplight, please see here for more information on how to upgrade.
Features Included in this Release
Send mock requests directly from your documentation
This release includes a new "Mocking" tab inside the "Try It" Request Maker under every API endpoint. This allows readers of your API docs to quickly send requests and get real-world responses, even without an API.
New "What depends on me?" Dependency View for API Models
Prior to v1.10.0, the "Dependencies" tab in Stoplight Explorer would only show you what the current model depends on. With this release, you now have the ability to see what depends on the current model instead. This allows you to see exactly what endpoints, APIs, and other models are directly using your model.
Reduce your exported API size with the new "bundled" export format
Previously exported API descriptions would be fully "de-referenced", meaning that anywhere JSON references were found, the reference would be inserted directly inline into the resulting file. While this is a pretty straightforward strategy, it would also result in enormous file sizes depending on how large your API is.
With v1.10.0, the new "bundled" strategy was added, where references are reinserted into the top-level API object. This allows them to only be included once, making for drastic (sometimes exponential) reductions in the resulting file size. (#275)
Fixes Included in this Release
- With this release, Stoplight was upgraded to use Node v12. If you are an on-premise administrator of Stoplight, please see here for more information on what this means for your install.
- Site administrators are now able to publish projects, regardless of their source-control permissions.
- An issue where source-control project permissions were not properly accounted for when publishing has been resolved.
- An issue where a project CI token would not properly be displayed has been resolved.
- The embedded version of Studio has been updated to the v1.10.0 release. See the full release notes for more information.