@platformatic/service 1.46.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config.d.ts CHANGED
@@ -80,7 +80,9 @@ export interface PlatformaticService {
80
80
  requestIdLogLabel?: string;
81
81
  jsonShorthand?: boolean;
82
82
  trustProxy?: boolean | string | string[] | number;
83
+ http2?: boolean;
83
84
  https?: {
85
+ allowHTTP1?: boolean;
84
86
  key:
85
87
  | string
86
88
  | {
@@ -12,7 +12,10 @@ async function setupGraphQL (app, opts) {
12
12
  opts = {}
13
13
  }
14
14
  const graphqlOptions = deepmerge({
15
- graphiql: true
15
+ graphiql: true,
16
+ additionalRouteOptions: {
17
+ schema: { hide: true }
18
+ }
16
19
  }, opts)
17
20
 
18
21
  app.register(mercurius, graphqlOptions)
package/lib/schema.js CHANGED
@@ -293,9 +293,15 @@ const server = {
293
293
  { type: 'integer' }
294
294
  ]
295
295
  },
296
+ http2: {
297
+ type: 'boolean'
298
+ },
296
299
  https: {
297
300
  type: 'object',
298
301
  properties: {
302
+ allowHTTP1: {
303
+ type: 'boolean'
304
+ },
299
305
  key: {
300
306
  anyOf: [
301
307
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "1.46.0",
3
+ "version": "1.47.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -78,13 +78,13 @@
78
78
  "rfdc": "^1.3.1",
79
79
  "semgrator": "^0.3.0",
80
80
  "undici": "^6.9.0",
81
- "@platformatic/client": "1.46.0",
82
- "@platformatic/generators": "1.46.0",
83
- "@platformatic/authenticate": "1.46.0",
84
- "@platformatic/config": "1.46.0",
85
- "@platformatic/scalar-theme": "1.46.0",
86
- "@platformatic/telemetry": "1.46.0",
87
- "@platformatic/utils": "1.46.0"
81
+ "@platformatic/client": "1.47.0",
82
+ "@platformatic/authenticate": "1.47.0",
83
+ "@platformatic/config": "1.47.0",
84
+ "@platformatic/scalar-theme": "1.47.0",
85
+ "@platformatic/utils": "1.47.0",
86
+ "@platformatic/telemetry": "1.47.0",
87
+ "@platformatic/generators": "1.47.0"
88
88
  },
89
89
  "standard": {
90
90
  "ignore": [
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://platformatic.dev/schemas/v1.46.0/service",
3
- "version": "1.46.0",
2
+ "$id": "https://platformatic.dev/schemas/v1.47.0/service",
3
+ "version": "1.47.0",
4
4
  "title": "Platformatic Service",
5
5
  "type": "object",
6
6
  "properties": {
@@ -247,9 +247,15 @@
247
247
  }
248
248
  ]
249
249
  },
250
+ "http2": {
251
+ "type": "boolean"
252
+ },
250
253
  "https": {
251
254
  "type": "object",
252
255
  "properties": {
256
+ "allowHTTP1": {
257
+ "type": "boolean"
258
+ },
253
259
  "key": {
254
260
  "anyOf": [
255
261
  {