Skip to content

Commit 2dcd343

Browse files
author
10upbot on GitHub
committed
Committing built version of a1a336a
1 parent 765bf38 commit 2dcd343

File tree

88 files changed

+1677
-391
lines changed

Some content is hidden

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

88 files changed

+1677
-391
lines changed

.github/workflows/build-docs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2.4.0
13-
- name: Use Node.js 10
14-
uses: actions/setup-node@v1
13+
- name: Use desired version of NodeJS
14+
uses: actions/setup-node@v3
1515
with:
16-
node-version: '10.x'
16+
node-version-file: '.nvmrc'
17+
- name: Check versions
18+
run: npm -v; node -v
1719
- name: npm install, and build docs
1820
run: |
1921
npm install

.github/workflows/build-stable.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v2.4.0
13+
- name: Use desired version of NodeJS
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version-file: '.nvmrc'
17+
- name: Check versions
18+
run: npm -v; node -v
1319
- name: Install and build
1420
run: |
1521
composer install --no-dev

.github/workflows/cypress.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- develop
7+
- develop-v1
78
- trunk
89
pull_request:
910
branches:
1011
- develop
12+
- develop-v1
1113
jobs:
1214
cypress:
1315
name: ${{ matrix.core.name }}
@@ -21,6 +23,10 @@ jobs:
2123
steps:
2224
- name: Checkout
2325
uses: actions/checkout@v3
26+
- name: Use desired version of NodeJS
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version-file: '.nvmrc'
2430
- name: Check versions
2531
run: npm -v; node -v
2632

.github/workflows/lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,25 @@ on:
88
push:
99
branches:
1010
- develop
11+
- develop-v1
1112
- trunk
1213
pull_request:
1314
branches:
1415
- develop
16+
- develop-v1
1517

1618
jobs:
1719
eslint:
1820
name: eslint
1921
runs-on: ubuntu-latest
2022
steps:
2123
- uses: actions/checkout@v3
22-
- name: install node v16
24+
- name: Use desired version of NodeJS
2325
uses: actions/setup-node@v3
2426
with:
25-
node-version: 16
27+
node-version-file: '.nvmrc'
28+
- name: Check versions
29+
run: npm -v; node -v
2630
- name: npm install
2731
run: npm install
2832
- name: eslint
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release Pull Request Automation
2+
3+
on:
4+
create:
5+
jobs:
6+
release-pull-request-automation:
7+
if: ${{ github.event.ref_type == 'branch' && contains( github.ref, 'release/' ) }}
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
- name: Generate title
13+
run: |
14+
BRANCH=${GITHUB_REF##*/}
15+
echo $BRANCH
16+
VERSION=${BRANCH#'release/'}
17+
echo ::set-output name=result::"Release: ${VERSION}"
18+
id: title
19+
- name: Create Pull Request
20+
run: gh pr create --draft --title "${{ steps.title.outputs.result }}" --body-file ./.github/release-pull-request-template.md
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ on:
1010
push:
1111
branches:
1212
- develop
13+
- develop-v1
1314
- trunk
1415
pull_request:
1516
branches:
1617
- develop
18+
- develop-v1
1719

1820
jobs:
1921

CHANGELOG.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,71 +4,67 @@ All notable changes to this project will be documented in this file, per [the Ke
44

55
## [Unreleased] - TBD
66

7+
## [1.8.0] - 2022-09-29
8+
### Changed
9+
- Upgrade the Plugin Update Checker library, `yahnis-elsts/plugin-update-checker`, from 4.9 to 4.13 (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#937](https://github.com/10up/distributor/pull/937)).
10+
11+
### Other
12+
- Automated creation of release pull requests (props [@dinhtungdu](https://github.com/dinhtungdu), [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul) via [#940](https://github.com/10up/distributor/pull/940)).
13+
- Use config files to determine version of node used in GitHub actions (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@Sidsector9](https://github.com/Sidsector9), [@jeffpaul](https://github.com/jeffpaul) via [#933](https://github.com/10up/distributor/pull/933)).
14+
715
## [1.7.1] - 2022-08-04
816

917
### Added
10-
1118
- Cypress E2E tests (props [@dkotter](https://github.com/dkotter), [@faisal-alvi](https://github.com/faisal-alvi), [@dinhtungdu](https://github.com/dinhtungdu), [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#900](https://github.com/10up/distributor/pull/900)).
1219

1320
### Fixed
14-
1521
- Ensure we don't lose the post_type value when pushing or pulling content (props [@dkotter](https://github.com/dkotter), [@pdewouters](https://github.com/pdewouters), [@andygagnon](https://github.com/andygagnon), [@jmstew3](https://github.com/jmstew3) via [#922](https://github.com/10up/distributor/pull/922)).
1622

1723
## [1.7.0] - 2022-07-26
1824

1925
### Added
20-
2126
- Ability to set user roles to pull content (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#877](https://github.com/10up/distributor/pull/877)).
2227
- More robust PHP testing (props [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul) via [#853](https://github.com/10up/distributor/pull/853)).
2328
- Support for plugin auto-updates for registered sites (props [@dhanendran](https://github.com/dhanendran), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter), [@sksaju](https://github.com/sksaju) via [#726](https://github.com/10up/distributor/pull/726)).
2429
- Distributable post types made consistent (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#907](https://github.com/10up/distributor/pull/907)).
2530

2631
### Changed
27-
2832
- Bump WordPress "tested up to" version 6.0 (props [@jeffpaul](https://github.com/jeffpaul), [@lukaspawlik](https://github.com/lukaspawlik), [@vikrampm1](https://github.com/vikrampm1), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#902](https://github.com/10up/distributor/pull/902)).
2933
- Removed system post types for External Connections. (props [@dkotter](https://github.com/dkotter), [@faisal-alvi](https://github.com/faisal-alvi), [@peterwilsoncc](https://github.com/peterwilsoncc), [@dinhtungdu](https://github.com/dinhtungdu), [@jeffpaul](https://github.com/jeffpaul) via [#898](https://github.com/10up/distributor/pull/898)).
3034
- The `Distributor > Pull Content` menu is now be visible for all user roles. (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#877](https://github.com/10up/distributor/pull/877)).
3135
- Update how we check if someone is running a development version of Distributor (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@dinhtungdu](https://github.com/dinhtungdu) via [#882](https://github.com/10up/distributor/pull/882)).
3236
- GH Action used for deploy to GH Pages (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#886](https://github.com/10up/distributor/pull/886)).
3337

3438
### Fixed
35-
3639
- Unicode characters not escaped correctly (props [@amalajith](https://github.com/amalajith), [@dkotter](https://github.com/dkotter), [@cadic](https://github.com/cadic), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#890](https://github.com/10up/distributor/pull/890)).
3740
- Manually entering a page number doesn't work on the Pull screen (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter) via [#878](https://github.com/10up/distributor/pull/878)).
3841
- Account for plugin changes in test to determine editor type (classic or block). (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@dinhtungdu](https://github.com/dinhtungdu), [@jeffpaul](https://github.com/jeffpaul) via [#894](https://github.com/10up/distributor/pull/894)).
3942
- Prevent conflict with `pre_post_link` filter. (props [@jeremyfelt](https://github.com/jeremyfelt), [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul), [@dinhtungdu](https://github.com/dinhtungdu) via [#895](https://github.com/10up/distributor/pull/895)).
4043

4144
### Removed
42-
4345
- The `dt_capabilities` & `dt_pull_capabilities` filters are removed while displaying the menus. (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#877](https://github.com/10up/distributor/pull/877)).
4446
- Known Issue listing for full screen mode (issue fixed in 1.6.5). (props [@faisal-alvi](https://github.com/faisal-alvi), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#897](https://github.com/10up/distributor/pull/897)).
4547

4648
### Security
47-
4849
- build(deps): bump guzzlehttp/guzzle from 6.5.3 to 7.4.4 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#885](https://github.com/10up/distributor/pull/885), [#891](https://github.com/10up/distributor/pull/891)).
4950
- build(deps): bump terser from 4.7.0 to 4.8.1 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#911](https://github.com/10up/distributor/pull/911)).
5051

5152
## [1.6.9] - 2022-04-18
52-
5353
### Added
54-
5554
- Dependency security scanning (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#869](https://github.com/10up/distributor/pull/869)).
5655
- Added new code snippet to [Snippets](https://10up.github.io/distributor/tutorial-snippets.html) page detailing how to remove canonical links (props [@dkotter](https://github.com/dkotter) via [#855](https://github.com/10up/distributor/pull/855)).
5756

5857
### Changed
59-
6058
- Update the version of the bundled Application Passwords plugin to 0.1.3 (props [@claytoncollie](https://github.com/claytoncollie), [@Sidsector9](https://github.com/Sidsector9) via [#824](https://github.com/10up/distributor/pull/824)).
6159
- Clarified the instructions for setting up External Connections (props [@skorasaurus](https://github.com/skorasaurus), [@jeffpaul](https://github.com/jeffpaul) via [#838](https://github.com/10up/distributor/pull/838)).
6260
- Minor changes to the `remote_post` method (props [@dkotter](https://github.com/dkotter), [@cadic](https://github.com/cadic) via [#841](https://github.com/10up/distributor/pull/841)).
6361
- Bump WordPress "tested up to" version to 5.9 (props [@mohitwp](https://github.com/mohitwp), [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh) via [#854](https://github.com/10up/distributor/pull/854)).
6462

6563
### Fixed
66-
6764
- Ensure content updates work for distributed items that use the block editor in WordPress 5.9+ (props [@dkotter](https://github.com/dkotter), [@cadic](https://github.com/cadic) via [#845](https://github.com/10up/distributor/pull/845)).
6865
- Tidied up the position and style of the help icon that shows on the Distributor settings page (props [@willhowat](https://github.com/willhowat), [@dkotter](https://github.com/dkotter) via [#871](https://github.com/10up/distributor/pull/871)).
6966

7067
### Security
71-
7268
- Bump `tar` from 4.4.8 to 4.4.19 (props [@dependabot](https://github.com/apps/dependabot) via [#843](https://github.com/10up/distributor/pull/843)).
7369
- Bump `ajv` from 6.12.2 to 6.12.6 (props [@dependabot](https://github.com/apps/dependabot) via [#849](https://github.com/10up/distributor/pull/849)).
7470
- Bump `lodash.template` from 4.4.0 to 4.5.0 (props [@dependabot](https://github.com/apps/dependabot) via [#850](https://github.com/10up/distributor/pull/850)).
@@ -396,6 +392,7 @@ This adds a post type selector when viewing the Pull Content list for both exter
396392
- Initial closed release.
397393

398394
[Unreleased]: https://github.com/10up/distributor/compare/trunk...develop
395+
[1.8.0]: https://github.com/10up/distributor/compare/1.7.1...1.8.0
399396
[1.7.1]: https://github.com/10up/distributor/compare/1.7.0...1.7.1
400397
[1.7.0]: https://github.com/10up/distributor/compare/1.6.9...1.7.0
401398
[1.6.9]: https://github.com/10up/distributor/compare/1.6.8...1.6.9

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"require": {
2828
"php": ">=5.6",
29-
"yahnis-elsts/plugin-update-checker": "4.9",
29+
"yahnis-elsts/plugin-update-checker": "4.13",
3030
"georgestephanis/application-passwords": "0.1.3",
3131
"ext-json": "*"
3232
},

distributor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/10up/distributor
55
* Update URI: https://distributorplugin.com
66
* Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web.
7-
* Version: 1.7.1
7+
* Version: 1.8.0
88
* Author: 10up Inc.
99
* Author URI: https://distributorplugin.com
1010
* License: GPLv2 or later
@@ -18,7 +18,7 @@
1818
exit; // Exit if accessed directly.
1919
}
2020

21-
define( 'DT_VERSION', '1.7.1' );
21+
define( 'DT_VERSION', '1.8.0' );
2222
define( 'DT_PLUGIN_FILE', preg_replace( '#^.*plugins/(.*)$#i', '$1', __FILE__ ) );
2323
define( 'DT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
2424

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: content, distribution, syndication, management
44
Requires at least: 4.7
55
Tested up to: 6.0
66
Requires PHP: 5.6
7-
Stable tag: 1.7.1
7+
Stable tag: 1.8.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

0 commit comments

Comments
 (0)