Home>Blog>
Stoplight v4.2.0 and v4.1.2 Release

Stoplight v4.2.0 and v4.1.2 Release

Hubs Proxy Support and Import Files
author
Robert Wallach
Jun 4, 2018
https://d33wubrfki0l68.cloudfront.net/3c4a51b5c2bd37ea5cc8392b2f29dc41421d5b9f/0d67e/images/import-files.png

New ๐Ÿš€

  • [Hubs] Hubs basePath option to prefix all routes

  • [Hubs] Hubs Reverse Proxy Support: This feature + the basePath feature make it possible to mount a hub into a route in your existing applications

  • Support for importing files into a project

No longer need to copy and paste your specification files to import! No longer need to copy and paste your specification files to import!

Enhancements ๐Ÿ’ช

Fixes ๐Ÿ› 

  • [Projects] Manually re-ordering JSON schema properties in the โ€œRawโ€ tab

  • [Scenarios] When creating a โ€œGetโ€ step in a scenario from the Swagger/OAS matrix, the path parameter appeared twice (#192)

  • [Hubs] When using deref=all parameter in the export URL, OAS specs in the response section were not derefing (#227)

  • [Projects] Code generation failing if variable includes a double quote (#219)

  • [Modeling] OpenAPI Read view not rendering request body description (#205)

  • [Projects] Try It Out code generation not working with numeric $$.env variables in headers (#204)

  • [Hubs] Display model title instead of key in generated documentation sidebar (#199)

  • [Mocking] Prism instance methods are now an array of strings (#211)

  • [Projects] Tags are now sorted by the order they appear in the OAS spec. To change order, go to Code View and rearrange the tags. Any paths that arenโ€™t tagged will be sorted alphabetically within the Reference section (#214)

  • [Organizations] Users with read only access cannot run Scenarios(#228)

  • [Mocking] Prism instance method selector bug

  • [Organizations] Inviting users by email where the email capitalization differs from the existing account email

  • [Hub] Selection dropdown being cut off when referencing in a short markdown block

  • [Modeling] Edge case freeze when using โ€œlengthโ€ property in JSON examples

  • [Projects] JSON schema viewer now supports nesting up to 50 levels deep

v4.1.2 (Enterprise Only)

Enhancement ๐Ÿ’ช

  • Support HTTP Hubs via new env flags for configuring custom pubs scheme and/or port

Fixes ๐Ÿ› 

  • [Enterprise] Donโ€™t display the Change Password option under account settings if SSO is enabled

  • [Enterprise] Use app host environment var for generating magic invite link, instead of relying on Gitlab URL

  • [Scenarios] When creating a โ€œGetโ€ step in a scenario from the Swagger/OAS matrix, the path parameter appeared twice (#192)

  • [Hubs] When using deref=all parameter in the export URL, OAS specs in the response section were not derefing (#227)

  • [Projects] Code generation failing if variable includes a double quote (#219)

  • [Modeling] OpenAPI Read view not rendering request body description (#205)

  • [Projects] Try It Out code generation not working with numeric $$.env variables in headers (#204)

  • [Hubs] Display model title instead of key in generated documentation sidebar (#199)

  • [Mocking] Prism instance methods are now an array of strings (#211)

  • [Mocking] Prism instance method selector bug โ€” switching the method for a rule works again

  • [Organizations] Inviting users by email where the email capitalization differs from the existing account email

  • [Design] File selection dropdown being cut off when referencing in a short markdown block

  • [Modeling] Edge case freeze when have โ€œlengthโ€ property in JSON examples

  • [Projects] Manually re-ordering JSON schema properties in the โ€œrawโ€ tab