Skip to content

Commit 9ed314e

Browse files
authored
Merge pull request #1100 from EnterpriseDB/release/2021-03-19
Production Release 2021-03-19 Former-commit-id: 02e8e92
2 parents af20e65 + 41147c8 commit 9ed314e

File tree

1,202 files changed

+24404
-4213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,202 files changed

+24404
-4213
lines changed

.github/workflows/deploy-develop.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
env:
2727
NODE_ENV: ${{ secrets.NODE_ENV }}
2828

29-
# - name: Checking Gatsby cache
30-
# id: gatsby-cache-build
31-
# uses: actions/cache@v2
32-
# with:
33-
# path: |
34-
# public
35-
# .cache
36-
# key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
37-
# restore-keys: |
38-
# ${{ runner.os }}-gatsby-build-develop-
29+
- name: Checking Gatsby cache
30+
id: gatsby-cache-build
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
public
35+
.cache
36+
key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
37+
restore-keys: |
38+
${{ runner.os }}-gatsby-build-develop-
3939
4040
- name: Fix mtimes
4141
run: yarn fix-mtimes --force

.github/workflows/deploy-main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
env:
2727
NODE_ENV: ${{ secrets.NODE_ENV }}
2828

29-
# - name: Checking Gatsby cache
30-
# id: gatsby-cache-build
31-
# uses: actions/cache@v2
32-
# with:
33-
# path: |
34-
# public
35-
# .cache
36-
# key: ${{ runner.os }}-gatsby-build-main-${{ github.run_id }}
37-
# restore-keys: |
38-
# ${{ runner.os }}-gatsby-build-main-
29+
- name: Checking Gatsby cache
30+
id: gatsby-cache-build
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
public
35+
.cache
36+
key: ${{ runner.os }}-gatsby-build-main-${{ github.run_id }}
37+
restore-keys: |
38+
${{ runner.os }}-gatsby-build-main-
3939
4040
- name: Fix mtimes
4141
run: yarn fix-mtimes --force

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js'

advocacy_docs/supported-open-source/postgresql/installer/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: "EDB Installers"
33
description: "The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer."
4+
legacyRedirects:
5+
- "/edb-docs/d/postgresql/installation-getting-started/installation-guide/13.0/index.html"
46
---
57

68
The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer. The installer provides:

gatsby-config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ const indexQuery = `
131131

132132
/********** Gatsby config *********/
133133
module.exports = {
134-
flags: {
135-
PRESERVE_WEBPACK_CACHE: true,
136-
FAST_REFRESH: true,
137-
},
138134
pathPrefix: '/docs',
139135
siteMetadata: {
140136
title: 'EDB Docs',

gatsby-node.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ const createDoc = (navTree, prevNext, doc, productVersions, actions) => {
251251

252252
const template = doc.frontmatter.productStub ? 'doc-stub.js' : 'doc.js';
253253
const path = isLatest ? replacePathVersion(doc.fields.path) : doc.fields.path;
254+
255+
// workaround for https://github.com/gatsbyjs/gatsby/issues/26520
256+
actions.createPage({
257+
path: path,
258+
component: require.resolve(`./src/templates/${template}`),
259+
context: {},
260+
});
261+
254262
actions.createPage({
255263
path: path,
256264
component: require.resolve(`./src/templates/${template}`),
@@ -301,6 +309,13 @@ const createAdvocacy = (navTree, prevNext, doc, learn, actions) => {
301309
fileUrlSegment,
302310
)}`;
303311

312+
// workaround for https://github.com/gatsbyjs/gatsby/issues/26520
313+
actions.createPage({
314+
path: doc.fields.path,
315+
component: require.resolve('./src/templates/learn-doc.js'),
316+
context: {},
317+
});
318+
304319
actions.createPage({
305320
path: doc.fields.path,
306321
component: require.resolve('./src/templates/learn-doc.js'),
@@ -325,7 +340,7 @@ const createAdvocacy = (navTree, prevNext, doc, learn, actions) => {
325340
);
326341
}
327342

328-
const path = `${doc.fields.path}/${katacodaPage.scenario}`;
343+
const path = `${doc.fields.path}${katacodaPage.scenario}`;
329344
actions.createPage({
330345
path: path,
331346
component: require.resolve('./src/templates/katacoda-page.js'),

package.json

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"format": "prettier --write src/**/*.js gatsby-*.js",
1515
"build": "gatsby build --prefix-paths",
1616
"serve-build": "gatsby serve --prefix-paths",
17+
"prepare": "husky install",
1718
"update-icons": "git submodule update --init --remote && node scripts/createIconTypes.js && node scripts/createIconNames.js",
1819
"build-pdf": "docker-compose -f docker/docker-compose.build-pdf.yaml run --rm --entrypoint scripts/pdf/generate_pdf.py pdf-builder",
1920
"build-all-pdfs": "for i in product_docs/docs/**/*/ ; do echo \"$i\"; yarn build-pdf ${i%} || exit 1; done",
@@ -23,43 +24,37 @@
2324
"heroku-postbuild": "gatsby build",
2425
"build-legacy-redirects-nginx": "gatsby clean && gatsby build --prefix-paths && python3 scripts/legacy_redirects/clean_up_output.py"
2526
},
26-
"husky": {
27-
"hooks": {
28-
"pre-commit": "pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js'"
29-
}
30-
},
3127
"dependencies": {
3228
"@mdx-js/mdx": "^1.6.1",
3329
"@mdx-js/react": "^1.6.1",
3430
"algoliasearch": "^4.2.0",
3531
"balance-text": "^3.3.0",
36-
"bl": "4.0.3",
32+
"bl": "4.1.0",
3733
"bootstrap": "4.6.0",
38-
"gatsby": "^2.31.1",
39-
"gatsby-cli": "^2.12.93",
40-
"gatsby-image": "^2.4.1",
41-
"gatsby-plugin-algolia": "^0.16.3",
42-
"gatsby-plugin-catch-links": "^2.6.0",
34+
"gatsby": "^3.1.0",
35+
"gatsby-cli": "^3.1.0",
36+
"gatsby-plugin-algolia": "^0.17.0",
37+
"gatsby-plugin-catch-links": "^3.0.0",
4338
"gatsby-plugin-google-fonts": "^1.0.1",
44-
"gatsby-plugin-google-tagmanager": "^2.10.0",
45-
"gatsby-plugin-manifest": "^2.4.10",
46-
"gatsby-plugin-mdx": "^1.2.6",
39+
"gatsby-plugin-google-tagmanager": "^3.0.0",
40+
"gatsby-plugin-manifest": "^3.0.0",
41+
"gatsby-plugin-mdx": "^2.0.1",
4742
"gatsby-plugin-meta-redirect": "^1.1.1",
48-
"gatsby-plugin-netlify": "^2.3.13",
43+
"gatsby-plugin-netlify": "^3.0.1",
4944
"gatsby-plugin-nginx-redirect": "^0.0.11",
50-
"gatsby-plugin-react-helmet": "^3.3.1",
45+
"gatsby-plugin-react-helmet": "^4.0.0",
5146
"gatsby-plugin-react-svg": "^3.0.0",
5247
"gatsby-plugin-remove-fingerprints": "^0.0.2",
53-
"gatsby-plugin-sass": "^3.1.0",
54-
"gatsby-plugin-sharp": "^2.13.2",
55-
"gatsby-plugin-sitemap": "^2.4.13",
56-
"gatsby-remark-autolink-headers": "^2.3.1",
57-
"gatsby-remark-images": "^3.10.0",
58-
"gatsby-remark-prismjs": "^3.5.4",
59-
"gatsby-source-filesystem": "^2.3.1",
60-
"gatsby-transformer-json": "^2.4.3",
61-
"gatsby-transformer-remark": "^2.8.15",
62-
"gatsby-transformer-sharp": "^2.5.1",
48+
"gatsby-plugin-sass": "^4.0.2",
49+
"gatsby-plugin-sharp": "^3.0.1",
50+
"gatsby-plugin-sitemap": "^3.0.0",
51+
"gatsby-remark-autolink-headers": "^3.0.0",
52+
"gatsby-remark-images": "4.0.0",
53+
"gatsby-remark-prismjs": "^4.0.0",
54+
"gatsby-source-filesystem": "^3.0.0",
55+
"gatsby-transformer-json": "^3.0.0",
56+
"gatsby-transformer-remark": "^3.0.0",
57+
"gatsby-transformer-sharp": "^3.0.0",
6358
"graceful-fs": "^4.2.4",
6459
"is-absolute-url": "^3.0.3",
6560
"markdown-to-jsx": "^7.0.0",
@@ -77,7 +72,7 @@
7772
"fast-glob": "^3.2.5",
7873
"hast-util-is-element": "^1.1.0",
7974
"hast-util-to-text": "^2.0.1",
80-
"husky": "^4.3.5",
75+
"husky": "^5.1.3",
8176
"prettier": "^2.2.1",
8277
"pretty-quick": "^3.1.0",
8378
"react-refresh": "^0.9.0",
@@ -88,6 +83,7 @@
8883
"remark-frontmatter": "^2.0.0",
8984
"remark-mdx": "^1.6.22",
9085
"remark-stringify": "^8.1.1",
86+
"semver-compare": "^1.0.0",
9187
"to-vfile": "^6.1.0",
9288
"typescript": "^4.1.3"
9389
},

product_docs/docs/epas/13/epas_inst_linux/03_using_a_package_manager_to_install_advanced_server.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ You can use an RPM package to install Advanced Server on a CentOS host.
122122
On CentOS 8:
123123

124124
```text
125-
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
125+
# dnf -y install epel-release
126126

127127
# dnf makecache
128128
```
@@ -548,15 +548,15 @@ The following steps will walk you through using the EDB apt repository to instal
548548
sudo su
549549
```
550550

551-
- Configure the EDB repository:
551+
- Configure the EDB repository and replace the `username` and `password` placeholders in the following command:
552552

553-
On Debian 9, Ubuntu 18, and Ubuntu 20:
553+
On Debian 9:
554554

555555
```text
556556
sh -c 'echo "deb https://USERNAME:[email protected]/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list'
557557
```
558558

559-
On Debian 10:
559+
On Debian 10, Ubuntu 18, and Ubuntu 20:
560560

561561
a. Set up the EDB repository:
562562

@@ -852,9 +852,9 @@ You can also view online help for `initdb` by assuming superuser privileges and
852852

853853
Where `path_to_initdb_installation_directory` specifies the location of the `initdb` binary file.
854854

855-
### Modifying the Data Directory Location on CentOS or Redhat 7.x
855+
### Modifying the Data Directory Location on CentOS or Redhat 7.x | 8.x
856856

857-
On a CentOS or RedHat version 7.x host, the unit file is named `edb-as-13.service` and resides in `/usr/lib/systemd/system`. The unit file contains references to the location of the Advanced Server `data` directory. You should avoid making any modifications directly to the unit file because it may be overwritten during package upgrades.
857+
On a CentOS or RedHat version 7.x | 8.x host, the unit file is named `edb-as-13.service` and resides in `/usr/lib/systemd/system`. The unit file contains references to the location of the Advanced Server `data` directory. You should avoid making any modifications directly to the unit file because it may be overwritten during package upgrades.
858858

859859
By default, data files reside under `/var/lib/edb/as13/data` directory. To use a data directory that resides in a non-default location, perform the following steps:
860860

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "What’s New"
3+
---
4+
5+
<div id="whats_new" class="registered_link"></div>
6+
7+
The following features have been added to xDB Replication Server version 6.1 to create xDB Replication Server version 6.2:
8+
9+
> - Registering your xDB Replication Server product with an EnterpriseDB product license key is no longer required. Thus, all components related to registering the product have been removed. The following are the removed components: 1) the Product Registration dialog box accessed from the xDB Replication Console Help menu, 2) the `license_key` parameter located in the xDB Replication Configuration file, and 3) the xDB Replication Server CLI `registerkey` command.
10+
> - Partitioned tables created using the declarative partitioning feature of PostgreSQL and Advanced Server version 10 and later can now be replicated in a log-based single-master or multi-master replication system. For more information, see [Replicating Postgres Partitioned Tables](../07_common_operations/10_replicating_postgres_partitioned_tables/#replicating_postgres_partitioned_tables).
11+
> - In a single-master replication system, removal of a table from a publication that has one or more existing subscriptions is now permitted as long as the table to be removed is not the parent referenced in a foreign key constraint from a child table that is not being removed as well. Previously, no tables from a publication in a single-master replication system could be removed if there are existing subscriptions. For more information, see [Removing Tables from a Publication](../07_common_operations/06_managing_publication/03_updating_pub/#remove_tables_from_pub).
12+
> - Versions 11 and 12 of PostgreSQL and Advanced Server are now supported.

0 commit comments

Comments
 (0)