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

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