Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.0.0 Release Notes #587

Closed
robmcguinness opened this issue May 9, 2019 · 7 comments
Closed

10.0.0 Release Notes #587

robmcguinness opened this issue May 9, 2019 · 7 comments

Comments

@robmcguinness
Copy link
Collaborator

robmcguinness commented May 9, 2019

Summary

Breaking Changes

Known Issues

Features

  • any.meta({swaggerLabel: '<value>'}) can now be used to label alternative schemas like any.alternatives() or any.when(). joi >14.x forwards labels alternatives to underlying schemas in order to fix Need to override twice the key name for error messages hapijs/joi#1364 . This fix broke functionality in hapi-swagger that allowed labels to be appropriately applied to refs for alternatives. any.labels() still works for alternatives in joi <14.x.
  • templates option added which allows the directory path to be changed that is used by hapi-swagger and @hapi/vision to resolve and load the templates to render swagger-ui interface. The directory must contain index.html and debug.html templates. Default is templates directory in this package.
  • Typescript support typescript definition support #588, Closes Typings #510
  • ...

Updated dependencies

  • All hapi packages updated to use scoped version @hapi
  • hapi-swagger-ui upgraded to v3.x
  • Joi upgraded from v13.x to v15.x
  • handlebars upgraded to v4.x
  • swagger-ui upgraded to 3.x
  • ...
@robmcguinness
Copy link
Collaborator Author

hapi-swagger v10.0.0-alpha.0 has been released for preview:

npm i hapi-swagger@next -S

@robmcguinness
Copy link
Collaborator Author

hapi-swagger v10.0.0-alpha.1 has been released for preview:

npm i hapi-swagger@next -S

fixed: templates not published

@robmcguinness
Copy link
Collaborator Author

robmcguinness commented May 15, 2019

hapi-swagger v10.0.0-alpha.2 has been released for preview:

npm i hapi-swagger@next -S

fixed: swagger-ui-dist files must be served relative to confine setting for inert

@robmcguinness
Copy link
Collaborator Author

robmcguinness commented May 17, 2019

hapi-swagger v10.0.0-alpha.3 has been released for preview:

npm i hapi-swagger@next

fixed: docExpansion, apiSorter, operationsSorter are working again
fixed: add back support for auth bearer token strategy in swagger-ui

@robmcguinness
Copy link
Collaborator Author

hapi-swagger v10.0.0-alpha.4 has been released for preview:

npm i hapi-swagger@next

fixed: missing accessToken in default template

@robmcguinness
Copy link
Collaborator Author

hapi-swagger v10.0.0-alpha.5 has been released for preview:

npm i hapi-swagger@next

feature: added templates option

@robmcguinness robmcguinness changed the title 10.0.0 Release Notes (WIP) 10.0.0 Release Notes May 26, 2019
@robmcguinness
Copy link
Collaborator Author

Closed with release of v10.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant