Skip to content

Commit

Permalink
Merge pull request #100 from thathoff/kirby-4
Browse files Browse the repository at this point in the history
Add Kirby 4 Support
  • Loading branch information
thathoff committed Dec 9, 2023
2 parents 443223a + 07b38d4 commit fca7bc5
Show file tree
Hide file tree
Showing 7 changed files with 139 additions and 71 deletions.
Binary file modified .github/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="5.2.0"></a>
# [5.2.0](https://github.com/thathoff/kirby-git-content/compare/v5.1.0...v5.2.0) (2023-12-09)

### Features
- Add support for Kirby 4
- Configurable panel menu item

<a name="5.1.0"></a>
# [5.1.0](https://github.com/thathoff/kirby-git-content/compare/v5.0.2...v5.1.0) (2023-10-16)

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Kirby Git Content

This is a plugin for [Kirby 3](http://getkirby.com/) that commits and pushes content changes made via the Panel to your git repository.
This is a plugin for [Kirby](http://getkirby.com/) that commits and pushes content changes made via the Panel to your git repository.

![Screnshot of Panel Area](/.github/screenshot.png?raw=true)

## Requirements

This plugin supports **Kirby from version 3.6** and requires **git version > 2.24**
This plugin supports **Kirby from version 3.6 (including Kirby 4)** and requires **git version > 2.24**

## Usage

Expand Down Expand Up @@ -85,6 +85,8 @@ return [
- `disable` (Boolean): If set to `true`, the plugin won't initialize. (default: `false`)
- `disableBranchManagement` (Boolean): If set to `true`, the options to create and switch branches are hidden. (default: `false`)
- `helpText` (String): Supply a custom help text shown in the panel UI. (default: `null`)
- `menuIcon` (String): Supply a custom icon for the panel menu item. (default: `sitemap`)
- `menuLabel` (String): Supply a custom label for the panel menu item. (default: `Git Content`)

### Custom Commit Message

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Plugin to track changes to content in a git repository.",
"type": "kirby-plugin",
"license": "MIT",
"version": "5.1.0",
"version": "5.2.0",
"authors": [
{
"name": "Markus Denhoff",
Expand All @@ -23,7 +23,7 @@
"getkirby/composer-installer": "^1.1"
},
"require-dev": {
"getkirby/cms": "^3.6.0"
"getkirby/cms": "^3.6.0|^4.0.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit fca7bc5

Please sign in to comment.