Releases: nzzdev/Q-server
Releases · nzzdev/Q-server
v10.0.7
Fix request to view
v10.0.6
- update aws sdk to v3
v10.0.5
- Updates node to v14
- Updates dependencies
- Replaces
@hapi/joi
withjoi
v10.0.4
- Enables cors on search route. So requests made from q-editor with cookies are working.
v10.0.3
- Fix arguments that are passed to Chromium when restarting it
v10.0.2
- Allows multipart upload for file route (default was set to false starting from hapi v19)
- Removes unused dependency uuid
v10.0.1
- Fix joi validation of objects/arrays
Related to this breaking change in@hapi/joi
v16:
RemoveJoi.object()
andJoi.array()
string coerce
See hapijs/joi#2037
v10.0.0
Update to new major versions of hapi dependencies.
Summary of relevant changes
@hapi/joi v16
- Changes in
allow()
andvalid()
No longer accepts array arguments. Must pass each value as a separate argument.
See hapijs/joi#2037 - Change error in sync
validate()
result toundefined
instead ofnull
when there is no error
See hapijs/joi#2036
See hapijs/joi#2037
@hapi/hapi v19
- No joi schema compiler is loaded by default and must be explicitly loaded using
server.validator()
See hapijs/hapi#4017
See https://hapi.dev/api/?v=19.1.0#-servervalidatorvalidator
@hapi/boom v8
- Change
new Boom()
tonew Boom.Boom()
See hapijs/boom#253
v9.0.1
v9.0.0
breaking
- renames export-options-schema to display-options-schema
- the route /display-options-schema returns a schema that is combined from various sources (as was export-options-schema before
how to migrate
- rename all references of exportOptions to displayOptions in your server config.