diff --git a/versioned_docs/version-1.3.1/contributing/contributing.md b/versioned_docs/version-1.5.2/contributing/contributing.md similarity index 100% rename from versioned_docs/version-1.3.1/contributing/contributing.md rename to versioned_docs/version-1.5.2/contributing/contributing.md diff --git a/versioned_docs/version-1.3.1/contributing/documentation-style-guide.md b/versioned_docs/version-1.5.2/contributing/documentation-style-guide.md similarity index 100% rename from versioned_docs/version-1.3.1/contributing/documentation-style-guide.md rename to versioned_docs/version-1.5.2/contributing/documentation-style-guide.md diff --git a/versioned_docs/version-1.3.1/getting-started/architecture.md b/versioned_docs/version-1.5.2/getting-started/architecture.md similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/architecture.md rename to versioned_docs/version-1.5.2/getting-started/architecture.md diff --git a/versioned_docs/version-1.3.1/getting-started/movie-quotes-app-tutorial.md b/versioned_docs/version-1.5.2/getting-started/movie-quotes-app-tutorial.md similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/movie-quotes-app-tutorial.md rename to versioned_docs/version-1.5.2/getting-started/movie-quotes-app-tutorial.md diff --git a/versioned_docs/version-1.3.1/getting-started/new-api-project-instructions.md b/versioned_docs/version-1.5.2/getting-started/new-api-project-instructions.md similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/new-api-project-instructions.md rename to versioned_docs/version-1.5.2/getting-started/new-api-project-instructions.md diff --git a/versioned_docs/version-1.3.1/getting-started/platformatic-architecture.png b/versioned_docs/version-1.5.2/getting-started/platformatic-architecture.png similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatic-architecture.png rename to versioned_docs/version-1.5.2/getting-started/platformatic-architecture.png diff --git a/versioned_docs/version-1.3.1/getting-started/platformatic-composer-architecture.png b/versioned_docs/version-1.5.2/getting-started/platformatic-composer-architecture.png similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatic-composer-architecture.png rename to versioned_docs/version-1.5.2/getting-started/platformatic-composer-architecture.png diff --git a/versioned_docs/version-1.3.1/getting-started/platformatic-db-architecture.png b/versioned_docs/version-1.5.2/getting-started/platformatic-db-architecture.png similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatic-db-architecture.png rename to versioned_docs/version-1.5.2/getting-started/platformatic-db-architecture.png diff --git a/versioned_docs/version-1.3.1/getting-started/platformatic-runtime-architecture.png b/versioned_docs/version-1.5.2/getting-started/platformatic-runtime-architecture.png similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatic-runtime-architecture.png rename to versioned_docs/version-1.5.2/getting-started/platformatic-runtime-architecture.png diff --git a/versioned_docs/version-1.3.1/getting-started/platformatic-stackables-architecture.png b/versioned_docs/version-1.5.2/getting-started/platformatic-stackables-architecture.png similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatic-stackables-architecture.png rename to versioned_docs/version-1.5.2/getting-started/platformatic-stackables-architecture.png diff --git a/versioned_docs/version-1.3.1/getting-started/platformatid-composer-architecture.excalidraw b/versioned_docs/version-1.5.2/getting-started/platformatid-composer-architecture.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatid-composer-architecture.excalidraw rename to versioned_docs/version-1.5.2/getting-started/platformatid-composer-architecture.excalidraw diff --git a/versioned_docs/version-1.3.1/getting-started/platformatid-db-architecture.excalidraw b/versioned_docs/version-1.5.2/getting-started/platformatid-db-architecture.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatid-db-architecture.excalidraw rename to versioned_docs/version-1.5.2/getting-started/platformatid-db-architecture.excalidraw diff --git a/versioned_docs/version-1.3.1/getting-started/platformatid-runtime-architecture.excalidraw b/versioned_docs/version-1.5.2/getting-started/platformatid-runtime-architecture.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatid-runtime-architecture.excalidraw rename to versioned_docs/version-1.5.2/getting-started/platformatid-runtime-architecture.excalidraw diff --git a/versioned_docs/version-1.3.1/getting-started/platformatid-stackables-architecture.excalidraw b/versioned_docs/version-1.5.2/getting-started/platformatid-stackables-architecture.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/platformatid-stackables-architecture.excalidraw rename to versioned_docs/version-1.5.2/getting-started/platformatid-stackables-architecture.excalidraw diff --git a/versioned_docs/version-1.3.1/getting-started/quick-start-guide.md b/versioned_docs/version-1.5.2/getting-started/quick-start-guide.md similarity index 100% rename from versioned_docs/version-1.3.1/getting-started/quick-start-guide.md rename to versioned_docs/version-1.5.2/getting-started/quick-start-guide.md diff --git a/versioned_docs/version-1.3.1/guides/add-custom-functionality/extend-graphql.md b/versioned_docs/version-1.5.2/guides/add-custom-functionality/extend-graphql.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/add-custom-functionality/extend-graphql.md rename to versioned_docs/version-1.5.2/guides/add-custom-functionality/extend-graphql.md diff --git a/versioned_docs/version-1.3.1/guides/add-custom-functionality/extend-rest.md b/versioned_docs/version-1.5.2/guides/add-custom-functionality/extend-rest.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/add-custom-functionality/extend-rest.md rename to versioned_docs/version-1.5.2/guides/add-custom-functionality/extend-rest.md diff --git a/versioned_docs/version-1.3.1/guides/add-custom-functionality/introduction.md b/versioned_docs/version-1.5.2/guides/add-custom-functionality/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/add-custom-functionality/introduction.md rename to versioned_docs/version-1.5.2/guides/add-custom-functionality/introduction.md diff --git a/versioned_docs/version-1.3.1/guides/add-custom-functionality/prerequisites.md b/versioned_docs/version-1.5.2/guides/add-custom-functionality/prerequisites.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/add-custom-functionality/prerequisites.md rename to versioned_docs/version-1.5.2/guides/add-custom-functionality/prerequisites.md diff --git a/versioned_docs/version-1.3.1/guides/add-custom-functionality/raw-sql.md b/versioned_docs/version-1.5.2/guides/add-custom-functionality/raw-sql.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/add-custom-functionality/raw-sql.md rename to versioned_docs/version-1.5.2/guides/add-custom-functionality/raw-sql.md diff --git a/versioned_docs/version-1.3.1/guides/applications-with-stackables.md b/versioned_docs/version-1.5.2/guides/applications-with-stackables.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/applications-with-stackables.md rename to versioned_docs/version-1.5.2/guides/applications-with-stackables.md diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/architecture-diagram.excalidraw b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/architecture-diagram.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/architecture-diagram.excalidraw rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/architecture-diagram.excalidraw diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/architecture-diagram.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/architecture-diagram.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/architecture-diagram.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/architecture-diagram.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-a-static-app-workspace-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-a-static-app-workspace-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-a-static-app-workspace-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-a-static-app-workspace-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-a-static-app-workspace-02.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-a-static-app-workspace-02.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-a-static-app-workspace-02.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-a-static-app-workspace-02.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-an-app-on-platformati-cloud-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-an-app-on-platformati-cloud-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/create-an-app-on-platformati-cloud-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/create-an-app-on-platformati-cloud-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/make-the-composed-media-service-api-read-only-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/make-the-composed-media-service-api-read-only-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/make-the-composed-media-service-api-read-only-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/make-the-composed-media-service-api-read-only-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/start-the-runtime-app-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/start-the-runtime-app-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/start-the-runtime-app-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/start-the-runtime-app-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-books-service-api-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-books-service-api-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-books-service-api-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-books-service-api-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-composed-media-service-api-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-composed-media-service-api-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-composed-media-service-api-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-composed-media-service-api-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-movies-service-api-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-movies-service-api-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-movies-service-api-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-movies-service-api-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-people-service-01.png b/versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-people-service-01.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith-images/test-the-people-service-01.png rename to versioned_docs/version-1.5.2/guides/build-modular-monolith-images/test-the-people-service-01.png diff --git a/versioned_docs/version-1.3.1/guides/build-modular-monolith.md b/versioned_docs/version-1.5.2/guides/build-modular-monolith.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/build-modular-monolith.md rename to versioned_docs/version-1.5.2/guides/build-modular-monolith.md diff --git a/versioned_docs/version-1.3.1/guides/compiling-typescript-for-deployment.md b/versioned_docs/version-1.5.2/guides/compiling-typescript-for-deployment.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/compiling-typescript-for-deployment.md rename to versioned_docs/version-1.5.2/guides/compiling-typescript-for-deployment.md diff --git a/versioned_docs/version-1.3.1/guides/debug-platformatic-db.md b/versioned_docs/version-1.5.2/guides/debug-platformatic-db.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/debug-platformatic-db.md rename to versioned_docs/version-1.5.2/guides/debug-platformatic-db.md diff --git a/versioned_docs/version-1.3.1/guides/deploying-on-lambda.md b/versioned_docs/version-1.5.2/guides/deploying-on-lambda.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/deploying-on-lambda.md rename to versioned_docs/version-1.5.2/guides/deploying-on-lambda.md diff --git a/versioned_docs/version-1.3.1/guides/deployment/advanced-fly-io-deployment.md b/versioned_docs/version-1.5.2/guides/deployment/advanced-fly-io-deployment.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/deployment/advanced-fly-io-deployment.md rename to versioned_docs/version-1.5.2/guides/deployment/advanced-fly-io-deployment.md diff --git a/versioned_docs/version-1.3.1/guides/deployment/deploy-to-fly-io-with-sqlite.md b/versioned_docs/version-1.5.2/guides/deployment/deploy-to-fly-io-with-sqlite.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/deployment/deploy-to-fly-io-with-sqlite.md rename to versioned_docs/version-1.5.2/guides/deployment/deploy-to-fly-io-with-sqlite.md diff --git a/versioned_docs/version-1.3.1/guides/deployment/deployment.md b/versioned_docs/version-1.5.2/guides/deployment/deployment.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/deployment/deployment.md rename to versioned_docs/version-1.5.2/guides/deployment/deployment.md diff --git a/versioned_docs/version-1.3.1/guides/dockerize-platformatic-app.md b/versioned_docs/version-1.5.2/guides/dockerize-platformatic-app.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/dockerize-platformatic-app.md rename to versioned_docs/version-1.5.2/guides/dockerize-platformatic-app.md diff --git a/versioned_docs/version-1.3.1/guides/generate-frontend-code-to-consume-platformatic-rest-api.md b/versioned_docs/version-1.5.2/guides/generate-frontend-code-to-consume-platformatic-rest-api.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/generate-frontend-code-to-consume-platformatic-rest-api.md rename to versioned_docs/version-1.5.2/guides/generate-frontend-code-to-consume-platformatic-rest-api.md diff --git a/versioned_docs/version-1.3.1/guides/images/frontend-screenshot-1.jpg b/versioned_docs/version-1.5.2/guides/images/frontend-screenshot-1.jpg similarity index 100% rename from versioned_docs/version-1.3.1/guides/images/frontend-screenshot-1.jpg rename to versioned_docs/version-1.5.2/guides/images/frontend-screenshot-1.jpg diff --git a/versioned_docs/version-1.3.1/guides/images/frontend-screenshot-2.jpg b/versioned_docs/version-1.5.2/guides/images/frontend-screenshot-2.jpg similarity index 100% rename from versioned_docs/version-1.3.1/guides/images/frontend-screenshot-2.jpg rename to versioned_docs/version-1.5.2/guides/images/frontend-screenshot-2.jpg diff --git a/versioned_docs/version-1.3.1/guides/images/frontend-screenshot-3.jpg b/versioned_docs/version-1.5.2/guides/images/frontend-screenshot-3.jpg similarity index 100% rename from versioned_docs/version-1.3.1/guides/images/frontend-screenshot-3.jpg rename to versioned_docs/version-1.5.2/guides/images/frontend-screenshot-3.jpg diff --git a/versioned_docs/version-1.3.1/guides/images/frontend-screenshot-4.jpg b/versioned_docs/version-1.5.2/guides/images/frontend-screenshot-4.jpg similarity index 100% rename from versioned_docs/version-1.3.1/guides/images/frontend-screenshot-4.jpg rename to versioned_docs/version-1.5.2/guides/images/frontend-screenshot-4.jpg diff --git a/versioned_docs/version-1.3.1/guides/jwt-auth0.md b/versioned_docs/version-1.5.2/guides/jwt-auth0.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/jwt-auth0.md rename to versioned_docs/version-1.5.2/guides/jwt-auth0.md diff --git a/versioned_docs/version-1.3.1/guides/migrating-express-app-to-platformatic-service.md b/versioned_docs/version-1.5.2/guides/migrating-express-app-to-platformatic-service.md similarity index 87% rename from versioned_docs/version-1.3.1/guides/migrating-express-app-to-platformatic-service.md rename to versioned_docs/version-1.5.2/guides/migrating-express-app-to-platformatic-service.md index 5a91874398..b8303eb49b 100644 --- a/versioned_docs/version-1.3.1/guides/migrating-express-app-to-platformatic-service.md +++ b/versioned_docs/version-1.5.2/guides/migrating-express-app-to-platformatic-service.md @@ -164,17 +164,47 @@ Edit your app's `platformatic.service.json` to load your root plugin: "paths": [{ "path": "./root-plugin.js", "encapsulate": false - }], - "hotReload": false - }, - "watch": false + }] + } } ``` These settings are important when using `@fastify/express` in a Platformatic Service app: - `encapsulate` — You'll need to disable encapsulation for any Fastify plugin which mounts Express routes. This is due to the way that `@fastify/express` works. -- `hotReload` and `watch` — You'll need to disable hot reloading and watching for your app, as they don't currently work when using `@fastify/express`. This is a known issue that we're working to fix. + +### Using @fastify/express with Platformatic Runtime + +If you are using [Platformatic Runtime](/referece/runtime/introduction.md), you must configure your other services to connect to this one using an actual TCP socket +instead of the virtual network. + +Edit your app's `platformatic.runtime.json` and add the `useHttp` option: + +```json +{ + "$schema": "https://platformatic.dev/schemas/v1.3.0/runtime", + "entrypoint": "b", + "autoload": { + "path": "./services", + "mappings": { + "myexpressservice": { + "id": "a", + "config": "platformatic.service.json", + "useHttp": true + } + } + }, + "server": { + "hostname": "127.0.0.1", + "port": 3000, + "logger": { + "level": "info" + } + } +} +``` + +Where the Platformatic Service using express is located at `./services/myexpressservice`. ## Wrapping up diff --git a/versioned_docs/version-1.3.1/guides/migrating-fastify-app-to-platformatic-service.md b/versioned_docs/version-1.5.2/guides/migrating-fastify-app-to-platformatic-service.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/migrating-fastify-app-to-platformatic-service.md rename to versioned_docs/version-1.5.2/guides/migrating-fastify-app-to-platformatic-service.md diff --git a/versioned_docs/version-1.3.1/guides/monitoring.md b/versioned_docs/version-1.5.2/guides/monitoring.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/monitoring.md rename to versioned_docs/version-1.5.2/guides/monitoring.md diff --git a/versioned_docs/version-1.3.1/guides/prisma.md b/versioned_docs/version-1.5.2/guides/prisma.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/prisma.md rename to versioned_docs/version-1.5.2/guides/prisma.md diff --git a/versioned_docs/version-1.3.1/guides/securing-platformatic-db.md b/versioned_docs/version-1.5.2/guides/securing-platformatic-db.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/securing-platformatic-db.md rename to versioned_docs/version-1.5.2/guides/securing-platformatic-db.md diff --git a/versioned_docs/version-1.3.1/guides/seed-a-database.md b/versioned_docs/version-1.5.2/guides/seed-a-database.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/seed-a-database.md rename to versioned_docs/version-1.5.2/guides/seed-a-database.md diff --git a/versioned_docs/version-1.3.1/guides/telemetry-images/compose-openapi.png b/versioned_docs/version-1.5.2/guides/telemetry-images/compose-openapi.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/telemetry-images/compose-openapi.png rename to versioned_docs/version-1.5.2/guides/telemetry-images/compose-openapi.png diff --git a/versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-1.png b/versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-1.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-1.png rename to versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-1.png diff --git a/versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-2.png b/versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-2.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-2.png rename to versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-2.png diff --git a/versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-3.png b/versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-3.png similarity index 100% rename from versioned_docs/version-1.3.1/guides/telemetry-images/jaeger-3.png rename to versioned_docs/version-1.5.2/guides/telemetry-images/jaeger-3.png diff --git a/versioned_docs/version-1.3.1/guides/telemetry.md b/versioned_docs/version-1.5.2/guides/telemetry.md similarity index 100% rename from versioned_docs/version-1.3.1/guides/telemetry.md rename to versioned_docs/version-1.5.2/guides/telemetry.md diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/deploy-database-neon.md b/versioned_docs/version-1.5.2/platformatic-cloud/deploy-database-neon.md similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/deploy-database-neon.md rename to versioned_docs/version-1.5.2/platformatic-cloud/deploy-database-neon.md diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/app-workspace-static-deployed.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/app-workspace-static-deployed.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/app-workspace-static-deployed.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/app-workspace-static-deployed.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/button-continue-with-github.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/button-continue-with-github.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/button-continue-with-github.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/button-continue-with-github.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/cloud-apps-empty.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/cloud-apps-empty.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/cloud-apps-empty.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/cloud-apps-empty.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-deploy-comment.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-deploy-comment.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-deploy-comment.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-deploy-comment.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-deploy-in-progress.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-deploy-in-progress.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-deploy-in-progress.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-deploy-in-progress.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-risk-calculation-comment.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-risk-calculation-comment.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/github-pr-risk-calculation-comment.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/github-pr-risk-calculation-comment.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/hello-json-response.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/hello-json-response.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/hello-json-response.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/hello-json-response.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/platformatic-db-swagger-ui.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/platformatic-db-swagger-ui.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/platformatic-db-swagger-ui.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/platformatic-db-swagger-ui.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/workspace-create-dynamic.png b/versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/workspace-create-dynamic.png similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/images/quick-start-guide/workspace-create-dynamic.png rename to versioned_docs/version-1.5.2/platformatic-cloud/images/quick-start-guide/workspace-create-dynamic.png diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/pricing.md b/versioned_docs/version-1.5.2/platformatic-cloud/pricing.md similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/pricing.md rename to versioned_docs/version-1.5.2/platformatic-cloud/pricing.md diff --git a/versioned_docs/version-1.3.1/platformatic-cloud/quick-start-guide.md b/versioned_docs/version-1.5.2/platformatic-cloud/quick-start-guide.md similarity index 100% rename from versioned_docs/version-1.3.1/platformatic-cloud/quick-start-guide.md rename to versioned_docs/version-1.5.2/platformatic-cloud/quick-start-guide.md diff --git a/versioned_docs/version-1.3.1/reference/cli.md b/versioned_docs/version-1.5.2/reference/cli.md similarity index 97% rename from versioned_docs/version-1.3.1/reference/cli.md rename to versioned_docs/version-1.5.2/reference/cli.md index fd799355e6..1db5bba110 100644 --- a/versioned_docs/version-1.3.1/reference/cli.md +++ b/versioned_docs/version-1.5.2/reference/cli.md @@ -227,14 +227,18 @@ To create a client for a remote Graphql API, you can use the following command: $ platformatic client http://example.com/graphql -n myclient ``` -Instead of a URL, you can also use a local file: +Instead of an URL, you can also use a local file: ```bash $ platformatic client path/to/schema -n myclient ``` -This will create a Fastify plugin that exposes a client for the remote API in a folder `myclient` -and a file named myclient.js inside it. +To create a client for a service running in a Platformatic runime use the following command: +```bash +$ platformatic client --runtime SERVICE_NAME -n myclient +``` + +All the above commands will create a Fastify plugin that exposes a client in the `request` object for the remote API in a folder `myclient` and a file named myclient.js inside it. If platformatic config file is specified, it will be edited and a `clients` section will be added. Then, in any part of your Platformatic application you can use the client. @@ -244,7 +248,7 @@ You can use the client in your application in Javascript, calling a GraphQL endp ```js module.exports = async function (app, opts) { app.post('/', async (request, reply) => { - const res = await app.myclient.graphql({ + const res = await request.myclient.graphql({ query: 'query { hello }' }) return res @@ -260,8 +264,8 @@ import { FastifyInstance } from 'fastify' /// export default async function (app: FastifyInstance) { - app.get('/', async () => { - return app.myclient.get({}) + app.get('/', async (request, reply) => { + return request.myclient.get({}) }) } ``` @@ -272,6 +276,7 @@ Options: * `-n, --name ` - Name of the client. * `-f, --folder ` - Name of the plugin folder, defaults to --name value. * `-t, --typescript` - Generate the client plugin in TypeScript. +* `-R, --runtime ` - Generate the client for the `serviceId` running in the current runtime * `--frontend` - Generated a browser-compatible client that uses `fetch` * `--full-response` - Client will return full response object rather than just the body. * `--full-request` - Client will be called with all parameters wrapped in `body`, `headers` and `query` properties. Ignored if `--frontend` diff --git a/versioned_docs/version-1.3.1/reference/client/frontend.md b/versioned_docs/version-1.5.2/reference/client/frontend.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/client/frontend.md rename to versioned_docs/version-1.5.2/reference/client/frontend.md diff --git a/versioned_docs/version-1.3.1/reference/client/introduction.md b/versioned_docs/version-1.5.2/reference/client/introduction.md similarity index 98% rename from versioned_docs/version-1.3.1/reference/client/introduction.md rename to versioned_docs/version-1.5.2/reference/client/introduction.md index 263cce4a84..814f797400 100644 --- a/versioned_docs/version-1.3.1/reference/client/introduction.md +++ b/versioned_docs/version-1.5.2/reference/client/introduction.md @@ -32,7 +32,7 @@ You can use the client in your application in Javascript, calling a GraphQL endp /** @type {import('fastify').FastifyPluginAsync<{} */ module.exports = async function (app, opts) { app.post('/', async (request, reply) => { - const res = await app.myclient.graphql({ + const res = await request.myclient.graphql({ query: 'query { movies { title } }' }) return res @@ -48,8 +48,8 @@ import { FastifyInstance } from 'fastify' /// export default async function (app: FastifyInstance) { - app.get('/', async () => { - return app.myclient.get({}) + app.get('/', async (request, reply) => { + return requests.myclient.get({}) }) } ``` @@ -323,7 +323,7 @@ module.exports = async function (app, opts) { }) app.post('/', async (request, reply) => { - const res = await app.myclient.graphql({ + const res = await request.myclient.graphql({ query: 'query { movies { title } }' }) return res diff --git a/versioned_docs/version-1.3.1/reference/client/programmatic.md b/versioned_docs/version-1.5.2/reference/client/programmatic.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/client/programmatic.md rename to versioned_docs/version-1.5.2/reference/client/programmatic.md diff --git a/versioned_docs/version-1.3.1/reference/composer/api-modification.md b/versioned_docs/version-1.5.2/reference/composer/api-modification.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/composer/api-modification.md rename to versioned_docs/version-1.5.2/reference/composer/api-modification.md diff --git a/versioned_docs/version-1.3.1/reference/composer/configuration.md b/versioned_docs/version-1.5.2/reference/composer/configuration.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/composer/configuration.md rename to versioned_docs/version-1.5.2/reference/composer/configuration.md diff --git a/versioned_docs/version-1.3.1/reference/composer/introduction.md b/versioned_docs/version-1.5.2/reference/composer/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/composer/introduction.md rename to versioned_docs/version-1.5.2/reference/composer/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/composer/plugin.md b/versioned_docs/version-1.5.2/reference/composer/plugin.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/composer/plugin.md rename to versioned_docs/version-1.5.2/reference/composer/plugin.md diff --git a/versioned_docs/version-1.3.1/reference/composer/programmatic.md b/versioned_docs/version-1.5.2/reference/composer/programmatic.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/composer/programmatic.md rename to versioned_docs/version-1.5.2/reference/composer/programmatic.md diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/http.png b/versioned_docs/version-1.5.2/reference/db/authorization/images/http.png similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/http.png rename to versioned_docs/version-1.5.2/reference/db/authorization/images/http.png diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/jwt.png b/versioned_docs/version-1.5.2/reference/db/authorization/images/jwt.png similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/jwt.png rename to versioned_docs/version-1.5.2/reference/db/authorization/images/jwt.png diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/sources/http.excalidraw b/versioned_docs/version-1.5.2/reference/db/authorization/images/sources/http.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/sources/http.excalidraw rename to versioned_docs/version-1.5.2/reference/db/authorization/images/sources/http.excalidraw diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/sources/jwt.excalidraw b/versioned_docs/version-1.5.2/reference/db/authorization/images/sources/jwt.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/sources/jwt.excalidraw rename to versioned_docs/version-1.5.2/reference/db/authorization/images/sources/jwt.excalidraw diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/sources/webhook.excalidraw b/versioned_docs/version-1.5.2/reference/db/authorization/images/sources/webhook.excalidraw similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/sources/webhook.excalidraw rename to versioned_docs/version-1.5.2/reference/db/authorization/images/sources/webhook.excalidraw diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/images/webhook.png b/versioned_docs/version-1.5.2/reference/db/authorization/images/webhook.png similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/images/webhook.png rename to versioned_docs/version-1.5.2/reference/db/authorization/images/webhook.png diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/introduction.md b/versioned_docs/version-1.5.2/reference/db/authorization/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/introduction.md rename to versioned_docs/version-1.5.2/reference/db/authorization/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/rules.md b/versioned_docs/version-1.5.2/reference/db/authorization/rules.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/rules.md rename to versioned_docs/version-1.5.2/reference/db/authorization/rules.md diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/strategies.md b/versioned_docs/version-1.5.2/reference/db/authorization/strategies.md similarity index 90% rename from versioned_docs/version-1.3.1/reference/db/authorization/strategies.md rename to versioned_docs/version-1.5.2/reference/db/authorization/strategies.md index f34644e0b6..af450b9cd2 100644 --- a/versioned_docs/version-1.3.1/reference/db/authorization/strategies.md +++ b/versioned_docs/version-1.5.2/reference/db/authorization/strategies.md @@ -176,3 +176,18 @@ that presented the `adminSecret` to perform any operation on any entity: "save": false } ``` + +## Custom authorization strategies + +You can create your own authorization strategy using a `addAuthStrategy` function. `addAuthStrategy` accepts a strategy `name` and a `createSession` function as a params. `createSession` function should set `request.user` object. All custom strategies will be executed after `jwt` and `webhook` default strategies. + +_Example_ + +```js +app.addAuthStrategy({ + name: 'custom-auth-strategy', + createSession: async (req, reply) => { + req.user = { id: 42, role: 'admin' } + } +}) +``` diff --git a/versioned_docs/version-1.3.1/reference/db/authorization/user-roles-metadata.md b/versioned_docs/version-1.5.2/reference/db/authorization/user-roles-metadata.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/authorization/user-roles-metadata.md rename to versioned_docs/version-1.5.2/reference/db/authorization/user-roles-metadata.md diff --git a/versioned_docs/version-1.3.1/reference/db/configuration.md b/versioned_docs/version-1.5.2/reference/db/configuration.md similarity index 92% rename from versioned_docs/version-1.3.1/reference/db/configuration.md rename to versioned_docs/version-1.5.2/reference/db/configuration.md index 5840f7ea97..6440f5f9f8 100644 --- a/versioned_docs/version-1.3.1/reference/db/configuration.md +++ b/versioned_docs/version-1.5.2/reference/db/configuration.md @@ -89,6 +89,20 @@ A **required** object with the following settings: } ``` + Enables GraphQL support with the `enabled` option + + ```json + { + "db": { + ... + "graphql": { + ... + "enabled": true + } + } + } + ``` + Enables GraphQL support with GraphiQL ```json @@ -165,6 +179,20 @@ A **required** object with the following settings: } ``` + Enables OpenAPI using the `enabled` option + + ```json + { + "db": { + ... + "openapi": { + ... + "enabled": true + } + } + } + ``` + Enables OpenAPI with prefix ```json @@ -252,6 +280,12 @@ A **required** object with the following settings: - **`poolSize`** (`number`, default: `10`) — Maximum number of connections in the connection pool. +- **`idleTimeoutMilliseconds`** (`number`, default: `30000`) - Max milliseconds a client can go unused before it is removed from the pool and destroyed. + +- **`queueTimeoutMilliseconds`** (`number`, default: `60000`) - Number of milliseconds to wait for a connection from the connection pool before throwing a timeout error. + +- **`acquireLockTimeoutMilliseconds`** (`number`, default: `60000`) - Number of milliseconds to wait for a lock on a connection/transaction. + - **`limit`** (`object`) - Set the default and max limit for pagination. Default is 10, max is 1000. _Examples_ @@ -289,6 +323,20 @@ A **required** object with the following settings: _Examples_ + Enable events using the `enabled` option. + + ```json + { + "db": { + ... + "events": { + ... + "enabled": true + } + } + } + ``` + ```json { "db": { diff --git a/versioned_docs/version-1.3.1/reference/db/introduction.md b/versioned_docs/version-1.5.2/reference/db/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/introduction.md rename to versioned_docs/version-1.5.2/reference/db/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/db/logging.md b/versioned_docs/version-1.5.2/reference/db/logging.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/logging.md rename to versioned_docs/version-1.5.2/reference/db/logging.md diff --git a/versioned_docs/version-1.3.1/reference/db/migrations.md b/versioned_docs/version-1.5.2/reference/db/migrations.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/migrations.md rename to versioned_docs/version-1.5.2/reference/db/migrations.md diff --git a/versioned_docs/version-1.3.1/reference/db/plugin.md b/versioned_docs/version-1.5.2/reference/db/plugin.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/plugin.md rename to versioned_docs/version-1.5.2/reference/db/plugin.md diff --git a/versioned_docs/version-1.3.1/reference/db/programmatic.md b/versioned_docs/version-1.5.2/reference/db/programmatic.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/programmatic.md rename to versioned_docs/version-1.5.2/reference/db/programmatic.md diff --git a/versioned_docs/version-1.3.1/reference/db/schema-support.md b/versioned_docs/version-1.5.2/reference/db/schema-support.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/db/schema-support.md rename to versioned_docs/version-1.5.2/reference/db/schema-support.md diff --git a/versioned_docs/version-1.3.1/reference/errors.md b/versioned_docs/version-1.5.2/reference/errors.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/errors.md rename to versioned_docs/version-1.5.2/reference/errors.md diff --git a/versioned_docs/version-1.3.1/reference/runtime/configuration.md b/versioned_docs/version-1.5.2/reference/runtime/configuration.md similarity index 93% rename from versioned_docs/version-1.3.1/reference/runtime/configuration.md rename to versioned_docs/version-1.5.2/reference/runtime/configuration.md index 7adeb13649..48945a58ac 100644 --- a/versioned_docs/version-1.3.1/reference/runtime/configuration.md +++ b/versioned_docs/version-1.5.2/reference/runtime/configuration.md @@ -67,6 +67,10 @@ these default values. microservice ID. - **`config` (**required**, `string`) - The overridden configuration file name. This is the file that will be used when starting the microservice. + - **`useHttp`** (`boolean`) - The service will be started on a random HTTP port + on `127.0.0.1`, and exposed to the other services via that port; set it to `true` + if you are using [@fastify/express](https://github.com/fastify/fastify-express). + Default: `false`. ### `services` @@ -83,6 +87,10 @@ property or the `name` field in the client's `package.json` file if a the microservice. - **`config`** (**required**, `string`) - The configuration file used to start the microservice. +- **`useHttp`** (`boolean`) - The service will be started on a random HTTP port +on `127.0.0.1`, and exposed to the other services via that port; set it to `true` +if you are using [@fastify/express](https://github.com/fastify/fastify-express). +Default: `false`. ### `entrypoint` @@ -103,6 +111,8 @@ While hot reloading is useful for development, it is not recommended for use in production. ::: +Note that `watch` should be enabled for each individual service in the runtime. + ### `allowCycles` An optional boolean, defaulting to `false`, indicating if dependency cycles diff --git a/versioned_docs/version-1.3.1/reference/runtime/introduction.md b/versioned_docs/version-1.5.2/reference/runtime/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/runtime/introduction.md rename to versioned_docs/version-1.5.2/reference/runtime/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/runtime/programmatic.md b/versioned_docs/version-1.5.2/reference/runtime/programmatic.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/runtime/programmatic.md rename to versioned_docs/version-1.5.2/reference/runtime/programmatic.md diff --git a/versioned_docs/version-1.3.1/reference/service/configuration.md b/versioned_docs/version-1.5.2/reference/service/configuration.md similarity index 91% rename from versioned_docs/version-1.3.1/reference/service/configuration.md rename to versioned_docs/version-1.5.2/reference/service/configuration.md index b6b2c133f1..eee12e953c 100644 --- a/versioned_docs/version-1.3.1/reference/service/configuration.md +++ b/versioned_docs/version-1.5.2/reference/service/configuration.md @@ -123,6 +123,16 @@ An optional object that defines the plugins loaded by Platformatic Service. - `options` (`object`): Optional plugin options. - `encapsulate` (`boolean`): if the path is a folder, it instruct Platformatic to not encapsulate those plugins. - `maxDepth` (`integer`): if the path is a folder, it limits the depth to load the content from. + - `autoHooks` (`boolean`): Apply hooks from autohooks.js file(s) to plugins found in folder. + - `autoHooksPattern` (`string`): Regex to override the autohooks naming convention. + - `cascadeHooks` (`boolean`): If using autoHooks, cascade hooks to all children. Ignored if autoHooks is false. + - `overwriteHooks` (`boolean`): If using cascadeHooks, cascade will be reset when a new autohooks.js file is encountered. Ignored if autoHooks is false. + - `routeParams` (`boolean`): Folders prefixed with _ will be turned into route parameters. + - `forceESM` (`boolean`): If set to 'true' it always use await import to load plugins or hooks. + - `ignoreFilter` (`string`): Filter matching any path that should not be loaded. Can be a RegExp, a string or a function returning a boolean. + - `matchFilter` (`string`): Filter matching any path that should be loaded. Can be a RegExp, a string or a function returning a boolean. + - `ignorePattern` (`string`): RegExp matching any file or folder that should not be loaded. + - `indexPattern` (`string`): Regex to override the index.js naming convention - **`typescript`** (`boolean` or `object`): enable TypeScript compilation. A `tsconfig.json` file is required in the same folder. See [TypeScript compilation options](#typescript-compilation-options) for more details. _Example_ @@ -144,7 +154,7 @@ _Example_ The `typescript` can also be an object to customize the compilation. Here are the supported options: -* `enabled` (`boolean`): enables compilation +* `enabled` (`boolean` or `string`): enables compilation * `tsConfig` (`string`): path to the `tsconfig.json` file relative to the configuration * `outDir` (`string`): the output directory of `tsconfig.json`, in case `tsconfig.json` is not available and and `enabled` is set to `false` (procution build) @@ -173,10 +183,12 @@ Example: ### `watch` -Disable watching for file changes if set to `false`. It can also be customized with the following options: +Enables watching for file changes if set to `true` or `"true"`. It can also be customized with the following options: +* **`enabled`** (`boolean` or `string`): enables watching. - **`ignore`** (`string[]`, default: `null`): List of glob patterns to ignore when watching for changes. If `null` or not specified, ignore rule is not applied. Ignore option doesn't work for typescript files. - **`allow`** (`string[]`, default: `['*.js', '**/*.js']`): List of glob patterns to allow when watching for changes. If `null` or not specified, allow rule is not applied. Allow option doesn't work for typescript files. +- _Example_ diff --git a/versioned_docs/version-1.3.1/reference/service/introduction.md b/versioned_docs/version-1.5.2/reference/service/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/service/introduction.md rename to versioned_docs/version-1.5.2/reference/service/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/service/plugin.md b/versioned_docs/version-1.5.2/reference/service/plugin.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/service/plugin.md rename to versioned_docs/version-1.5.2/reference/service/plugin.md diff --git a/versioned_docs/version-1.3.1/reference/service/programmatic.md b/versioned_docs/version-1.5.2/reference/service/programmatic.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/service/programmatic.md rename to versioned_docs/version-1.5.2/reference/service/programmatic.md diff --git a/versioned_docs/version-1.3.1/reference/sql-events/fastify-plugin.md b/versioned_docs/version-1.5.2/reference/sql-events/fastify-plugin.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-events/fastify-plugin.md rename to versioned_docs/version-1.5.2/reference/sql-events/fastify-plugin.md diff --git a/versioned_docs/version-1.3.1/reference/sql-events/introduction.md b/versioned_docs/version-1.5.2/reference/sql-events/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-events/introduction.md rename to versioned_docs/version-1.5.2/reference/sql-events/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/examples/deleteEntity.js b/versioned_docs/version-1.5.2/reference/sql-graphql/examples/deleteEntity.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/examples/deleteEntity.js rename to versioned_docs/version-1.5.2/reference/sql-graphql/examples/deleteEntity.js diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/examples/insertEntity.js b/versioned_docs/version-1.5.2/reference/sql-graphql/examples/insertEntity.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/examples/insertEntity.js rename to versioned_docs/version-1.5.2/reference/sql-graphql/examples/insertEntity.js diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/examples/query.js b/versioned_docs/version-1.5.2/reference/sql-graphql/examples/query.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/examples/query.js rename to versioned_docs/version-1.5.2/reference/sql-graphql/examples/query.js diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/examples/saveEntity.js b/versioned_docs/version-1.5.2/reference/sql-graphql/examples/saveEntity.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/examples/saveEntity.js rename to versioned_docs/version-1.5.2/reference/sql-graphql/examples/saveEntity.js diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/ignore.md b/versioned_docs/version-1.5.2/reference/sql-graphql/ignore.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/ignore.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/ignore.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/introduction.md b/versioned_docs/version-1.5.2/reference/sql-graphql/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/introduction.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/many-to-many.md b/versioned_docs/version-1.5.2/reference/sql-graphql/many-to-many.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/many-to-many.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/many-to-many.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/mutations.md b/versioned_docs/version-1.5.2/reference/sql-graphql/mutations.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/mutations.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/mutations.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/queries.md b/versioned_docs/version-1.5.2/reference/sql-graphql/queries.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/queries.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/queries.md diff --git a/versioned_docs/version-1.3.1/reference/sql-graphql/subscriptions.md b/versioned_docs/version-1.5.2/reference/sql-graphql/subscriptions.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-graphql/subscriptions.md rename to versioned_docs/version-1.5.2/reference/sql-graphql/subscriptions.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/api.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/api.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/api.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/api.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/example.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/example.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/example.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/example.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/fields.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/fields.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/fields.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/fields.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/hooks.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/hooks.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/hooks.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/hooks.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/introduction.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/introduction.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/relations.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/relations.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/relations.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/relations.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/timestamps.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/timestamps.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/timestamps.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/timestamps.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/entities/transactions.md b/versioned_docs/version-1.5.2/reference/sql-mapper/entities/transactions.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/entities/transactions.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/entities/transactions.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/count.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/count.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/count.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/count.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/delete.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/delete.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/delete.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/delete.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/fastify-plugin.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/fastify-plugin.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/fastify-plugin.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/fastify-plugin.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/fields.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/fields.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/fields.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/fields.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/find.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/find.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/find.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/find.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/hooks.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/hooks.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/hooks.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/hooks.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/insert.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/insert.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/insert.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/insert.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/relations.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/relations.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/relations.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/relations.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/examples/save.js b/versioned_docs/version-1.5.2/reference/sql-mapper/examples/save.js similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/examples/save.js rename to versioned_docs/version-1.5.2/reference/sql-mapper/examples/save.js diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/fastify-plugin.md b/versioned_docs/version-1.5.2/reference/sql-mapper/fastify-plugin.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/fastify-plugin.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/fastify-plugin.md diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/images/plt-db-hooks.svg b/versioned_docs/version-1.5.2/reference/sql-mapper/images/plt-db-hooks.svg similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/images/plt-db-hooks.svg rename to versioned_docs/version-1.5.2/reference/sql-mapper/images/plt-db-hooks.svg diff --git a/versioned_docs/version-1.3.1/reference/sql-mapper/introduction.md b/versioned_docs/version-1.5.2/reference/sql-mapper/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-mapper/introduction.md rename to versioned_docs/version-1.5.2/reference/sql-mapper/introduction.md diff --git a/versioned_docs/version-1.3.1/reference/sql-openapi/api.md b/versioned_docs/version-1.5.2/reference/sql-openapi/api.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-openapi/api.md rename to versioned_docs/version-1.5.2/reference/sql-openapi/api.md diff --git a/versioned_docs/version-1.3.1/reference/sql-openapi/ignore.md b/versioned_docs/version-1.5.2/reference/sql-openapi/ignore.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-openapi/ignore.md rename to versioned_docs/version-1.5.2/reference/sql-openapi/ignore.md diff --git a/versioned_docs/version-1.3.1/reference/sql-openapi/introduction.md b/versioned_docs/version-1.5.2/reference/sql-openapi/introduction.md similarity index 100% rename from versioned_docs/version-1.3.1/reference/sql-openapi/introduction.md rename to versioned_docs/version-1.5.2/reference/sql-openapi/introduction.md diff --git a/versioned_sidebars/version-1.3.1-sidebars.json b/versioned_sidebars/version-1.5.2-sidebars.json similarity index 100% rename from versioned_sidebars/version-1.3.1-sidebars.json rename to versioned_sidebars/version-1.5.2-sidebars.json diff --git a/versions.json b/versions.json index 9a4b5680f2..6f208dc8f9 100644 --- a/versions.json +++ b/versions.json @@ -1,7 +1,7 @@ [ + "1.5.2", "1.5.1", "1.5.0", "1.4.1", - "1.4.0", - "1.3.1" + "1.4.0" ] \ No newline at end of file