Skip to content

Commit

Permalink
Various fixes (#90)
Browse files Browse the repository at this point in the history
* Added  PHP 8+ support

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Updated .distignore for PHP 8+ compatibility

* Revert "Updated .distignore for PHP 8+ compatibility"

This reverts commit 0266444.

* Revert "Revert "Updated .distignore for PHP 8+ compatibility""

This reverts commit d6cf380.

* Masked secret key for security purposes

* Masked secret key for security purposes

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Update readme.txt

Co-authored-by: Roman Sedykh <[email protected]>

* Fixed yarn build with node.js

* Updated Uploadcare widget

Co-authored-by: Roman Sedykh <[email protected]>
  • Loading branch information
dillix and rsedykh authored Dec 14, 2022
1 parent 545d811 commit 90655f7
Show file tree
Hide file tree
Showing 5 changed files with 3,762 additions and 3,373 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Install dependencies
uses: php-actions/composer@v5
uses: php-actions/composer@v6
with:
php_version: "${{ matrix.php-versions }}"
dev: no
version: 2.x
- name: Install npm dependencies
run: |
curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
echo "deb https://deb.nodesource.com/node_16.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install nodejs-dev node-gyp libssl1.0-dev yarn
sudo apt update && sudo apt install nodejs node-gyp libssl1.0-dev yarn
yarn --version
yarn && yarn run build
rm -rf node_modules
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based now on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.0.9] — 2022-12-10
## [3.0.9] — 2022-12-14

* Added PHP 8.1 support.
* Bumped minimal PHP version to 7.4.
* Masked secret key in plugin settings for additional security.
* Updated Uploadcare widget.

## [3.0.8] — 2022-01-24

Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "uploadcare-wordpress",
"version": "3.0.1",
"version": "3.0.9",
"devDependencies": {
"@wordpress/block-editor": "^5.0.2",
"@wordpress/components": "^11.0.1",
"@wordpress/scripts": "^12.3.0",
"react": "^16.14.0",
"react-dom": "^16.10.2",
"ts-loader": "^8.0.5",
"typescript": "^4.0.3",
"uploadcare-widget": "^3.10.2"
"@wordpress/block-editor": "^10.5.0",
"@wordpress/components": "^22.1.0",
"@wordpress/scripts": "^24.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"ts-loader": "^9.4.2",
"typescript": "^4.2.3",
"uploadcare-widget": "^3.17.0"
},
"scripts": {
"watch": "wp-scripts start jsx/blocks.js jsx/admin.js jsx/transfer.js --output-path=compiled-js",
"build": "wp-scripts build jsx/blocks.js jsx/admin.js jsx/transfer.js --output-path=compiled-js"
},
"dependencies": {
"@uploadcare/react-widget": "^1.3.2",
"uploadcare-widget-tab-effects": "^1.4.7"
"@uploadcare/react-widget": "^1.3.10",
"uploadcare-widget-tab-effects": "^1.6.0"
}
}
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Access all files in your Uploadcare account via Media Library.
* Added support for PHP 8+.
* Bumped minimal PHP version to 7.4.
* Masked secret key in plugin settings for additional security.
* Updated Uploadcare widget.

= 3.0.8

Expand Down
Loading

0 comments on commit 90655f7

Please sign in to comment.