From 17a79c5fc3d89c14f4d06d7dc527e1c5ee31190d Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Thu, 19 Oct 2023 11:36:57 +0200 Subject: [PATCH] switch to attribute routes, remove unused package --- CHANGELOG.md | 6 ++++++ README.md | 3 ++- Resources/config/routes.yaml | 4 ++-- composer.json | 5 ++--- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a324d9..e527eca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Version 2.1.0 + +Compatibility: requires minimum Kimai 2.1.0 + +- Fixed: route mapping type changed to attribute + ## Version 2.0.1 Compatibility: requires minimum Kimai 2.0 diff --git a/README.md b/README.md index f7d2849..f3180fd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI Status](https://github.com/Keleo/DemoBundle/workflows/CI/badge.svg)](https://github.com/Keleo/DemoBundle/actions) -A Kimai 2 plugin, which showcases some developer options within Kimai 2. +A plugin to showcase some developer options within Kimai. ## What's included? @@ -38,6 +38,7 @@ This plugin is compatible with the following Kimai releases: | Bundle version | Minimum Kimai version | |----------------|-----------------------| +| 2.1.0 | 2.1.0 | | 2.0 | 2.0.0 | | 0.9 - 0.10 | 1.11 | | 0.9 | 1.11 | diff --git a/Resources/config/routes.yaml b/Resources/config/routes.yaml index 6029ead..6e2ec82 100644 --- a/Resources/config/routes.yaml +++ b/Resources/config/routes.yaml @@ -1,6 +1,6 @@ controllers: resource: '../../Controller/' - type: annotation + type: attribute prefix: /{_locale} requirements: _locale: '%app_locales%' @@ -9,5 +9,5 @@ controllers: demo.api: resource: "@DemoBundle/API/" - type: annotation + type: attribute prefix: /api diff --git a/composer.json b/composer.json index e9e2cce..7875382 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Showcase plugin for Kimai, with demos for many extension points within the core", "homepage": "https://github.com/Keleo/DemoBundle", "type": "kimai-plugin", - "version": "2.0.1", + "version": "2.1.0", "keywords": [ "kimai", "kimai-plugin" @@ -17,7 +17,7 @@ ], "extra": { "kimai": { - "require": 20000, + "require": 20100, "name": "Developer demo" } }, @@ -28,7 +28,6 @@ }, "config": { "allow-plugins": { - "composer/package-versions-deprecated": false, "symfony/flex": false, "symfony/runtime": false },