Skip to content

Commit

Permalink
Merge branch 'release/5.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Mar 26, 2024
2 parents 8666c81 + 0b0285d commit 7f2fbe6
Show file tree
Hide file tree
Showing 12 changed files with 2,936 additions and 2,343 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: ci
on:
workflow_dispatch:
push:
branches:
- develop
- develop-v5
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: ci
uses: studioespresso/.github/.github/workflows/ci.yml@main
with:
craft_version: '5'
jobs: '["ecs", "phpstan"]'
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4.2
php-version: 8.2.15
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
- name: Install dependencies
run: composer install
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Creates a new GitHub Release whenever the Craft Plugin Store
# is notified of a new version tag.

name: Create Release
run-name: Create release for ${{ github.event.client_payload.version }}

on:
repository_dispatch:
types:
- craftcms/new-release

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: ncipollo/release-action@v1
with:
body: ${{ github.event.client_payload.notes }}
makeLatest: ${{ github.event.client_payload.latest }}
name: ${{ github.event.client_payload.version }}
prerelease: ${{ github.event.client_payload.prerelease }}
tag: ${{ github.event.client_payload.tag }}
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 5.0.0 - 2024-03-26
### Added
- Craft 5 support 🚀

## 2.2.0 - 2024-03-01
### Added
- Added support for Youtube url parameters ([#1](https://github.com/statikbe/craft-video-parser/issues/1))
Expand Down
2 changes: 1 addition & 1 deletion codeception.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
actor: Tester
paths:
tests: tests
log: tests/_output
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
Expand Down
20 changes: 14 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "statikbe/craft-video-parser",
"description": "Parse youtube & vimeo url's to make embeds",
"type": "craft-plugin",
"version": "2.2.0",
"version": "5.0.0",
"keywords": [
"craft",
"cms",
Expand All @@ -29,7 +29,7 @@
}
],
"require": {
"craftcms/cms": "^4.0.0"
"craftcms/cms": "^5.0.0"
},
"autoload": {
"psr-4": {
Expand All @@ -45,10 +45,18 @@
"class": "statikbe\\videoparser\\VideoParser"
},
"require-dev": {
"codeception/codeception": "^4.0.0",
"vlucas/phpdotenv": "^3.0",
"codeception/module-yii2": "^1.0.0",
"codeception/module-asserts": "^1.0.0"
"codeception/codeception": "^5.0.0",
"vlucas/phpdotenv": "^5.0",
"codeception/module-yii2": "^1.0.1",
"codeception/module-asserts": "^3.0.0",
"craftcms/ecs": "dev-main",
"craftcms/phpstan": "dev-main"
},
"scripts": {
"check-cs": "ecs check --ansi",
"fix-cs": "ecs check --ansi --fix",
"phpstan": "phpstan --memory-limit=1G",
"ci": "ecs check --ansi --fix && phpstan --memory-limit=1G"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 7f2fbe6

Please sign in to comment.