Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions website/docs/docs/on-premises-2x/migrating-from-1x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: Migrating from 1.x
---

This major release introduces significant architectural changes and new features:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"This release includes major architectural updates and introduces new features, such as:"


1. A redesigned user interface
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"A redesigned user interface. Learn more about it in the UI migration guide."

- Learn more about the new interface and navigation in the [UI migration guide](/docs/user-interface/migration/new).
2. A switch to an Ubuntu Linux base image (from Alpine) for improved compatibility and security posture.
3. Internal architecture updates, including the use of `HAProxy` for traffic routing and `supervisord` for process management.
4. New caching and session management layers, requiring a Redis Serialization Protocol (RESP)-compatible key/value storage engine.

## Migration notes

The 2.x release line is almost entirely backwards compatible with 1.x. Only the following changes are required to install and run it:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"The 2.x release line remains largely compatible with 1.x. To install and run it, you must make the following changes:"


1. A [Redis-compatible data store](/docs/on-premises-2x/redis) (such as Redis or Valkey) is now required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must use a Redis-compatible data store (such as Redis or Valkey). Ensure you set the REDIS_URL environment variable.

- Ensure you set the [`REDIS_URL`](/docs/on-premises-2x/environment-variables#redis_url) environment variable.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete, as it's in the point above.

2. `PACTFLOW_COOKIE_SECRET` must now be at least 64 characters. See [documentation](/docs/on-premises-2x/environment-variables#pactflow_cookie_secret) for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"Set the PACTFLOW_COOKIE_SECRET environment variable to a value that is at least 64 characters. Read more in Environment Variables."

3. The `PACTFLOW_LOG_FORMAT` environment variable is deprecated and has no effect. All logs are now output in JSON only.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"Do not use the PACTFLOW_LOG_FORMAT environment variable. It is deprecated and has no effect. All logs now output in JSON format only."

4. The base image has changed from Alpine Linux to Ubuntu 24.04. If you customized the image, review and update your setup, including any additional tools or libraries.
Copy link
Contributor

@MateuszKupczakSB MateuszKupczakSB Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it a bit:

"We changed the base image from Alpine Linux to Ubuntu 24.04. If you customized the image, review your setup and update any installed tools or libraries accordingly."


> **Note**: This release does not include any database or data migrations. You can freely upgrade or roll back between 1.x and 2.x without concerns about database compatibility. All existing API calls, SDKs, and CLI integrations continue to work as expected.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"This release does not require any database or data migrations. You can upgrade or roll back between 1.x and 2.x without database compatibility issues. All existing API calls, SDKs, and CLI integrations continue to work."

## Migration Checklist

Use this checklist to prepare for upgrading from PactFlow 1.x to 2.x.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"Use the following checklist to prepare for the upgrade from PactFlow 1.x to 2.x."


**Redis requirement**
- [ ] Provision a [Redis-compatible data store](/docs/on-premises-2x/redis) (Redis or Valkey).
- [ ] Set the [`REDIS_URL`](/docs/on-premises-2x/environment-variables#redis_url) environment variable.

**Cookie secret length**
- [ ] Ensure `PACTFLOW_COOKIE_SECRET` is **at least 64 characters**.
- [ ] Update your environment configuration if required.

**Logging format**
- [ ] Remove any usage of the `PACTFLOW_LOG_FORMAT` environment variable.
- [ ] Update monitoring/forwarding pipelines to expect **JSON logs only**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"Update monitoring and forwarding pipelines to expect JSON logs only."


**Base image**
- [ ] Note that the base image has changed from Alpine Linux to **Ubuntu 24.04**.
- [ ] If you maintain a custom image, review and update any tools, libraries, or scripts.
6 changes: 6 additions & 0 deletions website/docs/docs/on-premises.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ title: PactFlow On-Premises Architecture
sidebar_label: Architecture
---

:::warning
The 1.x line of PactFlow On-Prem is now in maintenance mode and will only receive security updates. It will reach end of life on March 11, 2026, after which it will no longer be supported.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"PactFlow On-Prem 1.x is now in maintenance mode and receives security updates only. It will no longer be supported after March 11, 2026."


To ensure you have access to the latest features and improvements, please upgrade to 2.x as soon as possible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"To benefit from the latest features and improvements, upgrade to version 2.x as soon as possible."

:::

## System architecture

### Minimum requirements
Expand Down
5 changes: 3 additions & 2 deletions website/docs/docs/on-premises/releases/2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ For full details, including installation instructions, refer to the [2.x.x docum

Please review the following updates when migrating to version 2.0.0:

1. A [Redis-compatible data store](/docs/on-premises-2x/redis) is now required.
1. A [Redis-compatible data store](/docs/on-premises-2x/redis) is now required
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"You must use a Redis-compatible data store (such as Redis or Valkey). Ensure you set the REDIS_URL environment variable."

1. Ensure you set the [`REDIS_URL`](/docs/on-premises-2x/environment-variables#redis_url) environment variable.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete, as it's in the point above.

2. `PACTFLOW_COOKIE_SECRET` must now be at least 64 characters. [More info](/docs/on-premises-2x/environment-variables#pactflow_cookie_secret).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

""Set the PACTFLOW_COOKIE_SECRET environment variable to a value that is at least 64 characters. Read more in Environment Variables."

3. The `PACTFLOW_LOG_FORMAT` environment variable is deprecated and has no effect. All logs are now output in JSON only.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"Do not use the PACTFLOW_LOG_FORMAT environment variable. It is deprecated and has no effect. All logs now output in JSON format only."

4. The base image has changed from Alpine Linux to Ubuntu 24.04. If you have customized the image, review your setup and update any installed tools or libraries accordingly.
Copy link
Contributor

@MateuszKupczakSB MateuszKupczakSB Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"We changed the base image from Alpine Linux to Ubuntu 24.04. If you customized the image, review your setup and update any installed tools or libraries accordingly."


> **Note:** There are no breaking API or database changes in this release. All existing API calls, SDKs, and CLI integrations will continue to work as expected.
> **Note:** There are no breaking API or database changes in this release. All existing API calls, SDKs, and CLI integrations will continue to work as expected.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to:

"There are no breaking API or database changes in this release. All existing API calls, SDKs, and CLI integrations continue to work."

2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
position: "left",
},
{ to: "docs/examples", label: "Examples", position: "left" },
{ to: "docs/on-premises", label: "On-Premises", position: "left" },
{ to: "docs/on-premises-2x", label: "On-Premises", position: "left" },
{ to: "notices", label: "Notices", position: "left" },
{ to: "https://support.smartbear.com/pactflow/message/", label: "Support ↗", position: "left" },
],
Expand Down
109 changes: 55 additions & 54 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,153 +371,154 @@ module.exports = {
onprem: [
{
type: "category",
label: "On-Premises 1.x",
label: "On-Premises 2.x",
items: [
{
type: "category",
label: "Installation",
items: [
"docs/on-premises",
"docs/on-premises/system-requirements",
"docs/on-premises/docker-image-registry",
"docs/on-premises/network-configuration",
"docs/on-premises/installation/migrating",
"docs/on-premises/database",
"docs/on-premises/observability",
"docs/on-premises/logging",
"docs/on-premises-2x",
"docs/on-premises-2x/system-requirements",
"docs/on-premises-2x/migrating-from-1x",
"docs/on-premises-2x/docker-image-registry",
"docs/on-premises-2x/network-configuration",
"docs/on-premises-2x/installation/migrating",
"docs/on-premises-2x/database",
"docs/on-premises-2x/redis",
"docs/on-premises-2x/observability",
"docs/on-premises-2x/logging",
{
type: "category",
label: "Authentication",
items: [
"docs/on-premises/authentication/demo",
"docs/on-premises/authentication/saml",
"docs/on-premises-2x/authentication/demo",
"docs/on-premises-2x/authentication/saml",
],
},
{
type: "category",
label: "Application configuration",
items: [
"docs/on-premises/environment-variables",
"docs/on-premises/environment-variables/templates",
"docs/on-premises/environment-variables/timezones",
"docs/on-premises/license",
"docs/on-premises-2x/environment-variables",
"docs/on-premises-2x/environment-variables/templates",
"docs/on-premises-2x/environment-variables/timezones",
"docs/on-premises-2x/license",
],
},
"docs/on-premises/docker-compose-example",
"docs/on-premises/installation/load-testing",
"docs/on-premises/installation/checklist",
"docs/on-premises-2x/docker-compose-example",
"docs/on-premises-2x/installation/load-testing",
"docs/on-premises-2x/installation/checklist",
],
},
{
type: "category",
label: "Upgrading",
items: ["docs/on-premises/upgrading/database-migrations"],
items: ["docs/on-premises-2x/upgrading/database-migrations"],
},
{
type: "category",
label: "Operation",
items: ["docs/on-premises/authentication"],
items: ["docs/on-premises-2x/authentication"],
},
{
type: "category",
label: "Maintenance",
items: ["docs/on-premises/maintenance/database"],
items: ["docs/on-premises-2x/maintenance/database"],
},
{
type: "category",
label: "SCIM",
items: ["docs/on-premises/scim"],
items: ["docs/on-premises-2x/scim"],
},
{
type: "category",
label: "Security and support",
items: [
"docs/on-premises/security-audit-report",
"docs/on-premises/support-policy",
"docs/on-premises-2x/security-audit-report",
"docs/on-premises-2x/support-policy",
],
},
{
type: "category",
label: "Troubleshooting",
items: ["docs/on-premises/troubleshooting"],
}
items: ["docs/on-premises-2x/troubleshooting"],
},
],
},
{
type: "category",
label: "On-Premises 2.x",
label: "On-Premises 1.x",
items: [
{
type: "category",
label: "Installation",
items: [
"docs/on-premises-2x",
"docs/on-premises-2x/system-requirements",
"docs/on-premises-2x/docker-image-registry",
"docs/on-premises-2x/network-configuration",
"docs/on-premises-2x/installation/migrating",
"docs/on-premises-2x/database",
"docs/on-premises-2x/redis",
"docs/on-premises-2x/observability",
"docs/on-premises-2x/logging",
"docs/on-premises",
"docs/on-premises/system-requirements",
"docs/on-premises/docker-image-registry",
"docs/on-premises/network-configuration",
"docs/on-premises/installation/migrating",
"docs/on-premises/database",
"docs/on-premises/observability",
"docs/on-premises/logging",
{
type: "category",
label: "Authentication",
items: [
"docs/on-premises-2x/authentication/demo",
"docs/on-premises-2x/authentication/saml",
"docs/on-premises/authentication/demo",
"docs/on-premises/authentication/saml",
],
},
{
type: "category",
label: "Application configuration",
items: [
"docs/on-premises-2x/environment-variables",
"docs/on-premises-2x/environment-variables/templates",
"docs/on-premises-2x/environment-variables/timezones",
"docs/on-premises-2x/license",
"docs/on-premises/environment-variables",
"docs/on-premises/environment-variables/templates",
"docs/on-premises/environment-variables/timezones",
"docs/on-premises/license",
],
},
"docs/on-premises-2x/docker-compose-example",
"docs/on-premises-2x/installation/load-testing",
"docs/on-premises-2x/installation/checklist",
"docs/on-premises/docker-compose-example",
"docs/on-premises/installation/load-testing",
"docs/on-premises/installation/checklist",
],
},
{
type: "category",
label: "Upgrading",
items: ["docs/on-premises-2x/upgrading/database-migrations"],
items: ["docs/on-premises/upgrading/database-migrations"],
},
{
type: "category",
label: "Operation",
items: ["docs/on-premises-2x/authentication"],
items: ["docs/on-premises/authentication"],
},
{
type: "category",
label: "Maintenance",
items: ["docs/on-premises-2x/maintenance/database"],
items: ["docs/on-premises/maintenance/database"],
},
{
type: "category",
label: "SCIM",
items: ["docs/on-premises-2x/scim"],
items: ["docs/on-premises/scim"],
},
{
type: "category",
label: "Security and support",
items: [
"docs/on-premises-2x/security-audit-report",
"docs/on-premises-2x/support-policy",
"docs/on-premises/security-audit-report",
"docs/on-premises/support-policy",
],
},
{
type: "category",
label: "Troubleshooting",
items: ["docs/on-premises-2x/troubleshooting"],
},
items: ["docs/on-premises/troubleshooting"],
}
],
},
},
{
type: "category",
label: "Releases",
Expand Down