From 53053c127e2820e0e4dda505470dee267af866dc Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Thu, 27 Sep 2018 13:35:03 +0200 Subject: [PATCH] prepare release 0.5 (#326) --- .github_changelog_generator | 2 +- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++-- UPGRADING.md | 8 ++++--- src/Constants.php | 2 +- var/docs/internal.md | 2 +- 5 files changed, 51 insertions(+), 8 deletions(-) diff --git a/.github_changelog_generator b/.github_changelog_generator index 35622407..9eb3595a 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,3 +1,3 @@ unreleased=true -future-release=0.4 +future-release=0.5 exclude-labels=duplicate,question,invalid,wontfix \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c6daa96..b8b927f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,46 @@ # Change Log +## [0.5](https://github.com/kevinpapst/kimai2/tree/0.5) (2018-09-27) +[Full Changelog](https://github.com/kevinpapst/kimai2/compare/0.4...0.5) + +**Fixed bugs:** + +- Excel Output not containing data [\#327](https://github.com/kevinpapst/kimai2/issues/327) + +**Closed issues:** + +- Creating database schema throws exceptions [\#322](https://github.com/kevinpapst/kimai2/issues/322) +- API: Kimai metadata endpoint [\#320](https://github.com/kevinpapst/kimai2/issues/320) +- Support Markdown in timesheet description [\#295](https://github.com/kevinpapst/kimai2/issues/295) +- Add permission voter for invoices and templates [\#293](https://github.com/kevinpapst/kimai2/issues/293) +- Add support for MS Office templates [\#283](https://github.com/kevinpapst/kimai2/issues/283) +- Adding rates to customers, projects and tasks [\#271](https://github.com/kevinpapst/kimai2/issues/271) +- Delete invoice templates [\#267](https://github.com/kevinpapst/kimai2/issues/267) +- Sum of hours in timesheet invoice [\#262](https://github.com/kevinpapst/kimai2/issues/262) +- Feature request - API [\#251](https://github.com/kevinpapst/kimai2/issues/251) +- Feature request - PDF Download for monthly report [\#244](https://github.com/kevinpapst/kimai2/issues/244) +- Add support for OpenOffice templates [\#223](https://github.com/kevinpapst/kimai2/issues/223) +- Feature Request - Excel Output of times [\#221](https://github.com/kevinpapst/kimai2/issues/221) +- Add hourly rate options [\#111](https://github.com/kevinpapst/kimai2/issues/111) + +**Merged pull requests:** + +- added copy invoice template action [\#331](https://github.com/kevinpapst/kimai2/pull/331) ([kevinpapst](https://github.com/kevinpapst)) +- fix spreadsheet renderer for invoices with one entry [\#328](https://github.com/kevinpapst/kimai2/pull/328) ([kevinpapst](https://github.com/kevinpapst)) +- invoice VAT as float and database key length [\#323](https://github.com/kevinpapst/kimai2/pull/323) ([kevinpapst](https://github.com/kevinpapst)) +- added version command + api endpoint [\#321](https://github.com/kevinpapst/kimai2/pull/321) ([kevinpapst](https://github.com/kevinpapst)) +- Timesheet export [\#317](https://github.com/kevinpapst/kimai2/pull/317) ([kevinpapst](https://github.com/kevinpapst)) +- added invoice voter [\#316](https://github.com/kevinpapst/kimai2/pull/316) ([kevinpapst](https://github.com/kevinpapst)) +- Refactored invoice system [\#306](https://github.com/kevinpapst/kimai2/pull/306) ([kevinpapst](https://github.com/kevinpapst)) +- add stable controller tests [\#305](https://github.com/kevinpapst/kimai2/pull/305) ([kevinpapst](https://github.com/kevinpapst)) +- Fixed rate and Hourly rates [\#304](https://github.com/kevinpapst/kimai2/pull/304) ([kevinpapst](https://github.com/kevinpapst)) +- add hourly\_rate and fixed\_rate to timesheet entries [\#302](https://github.com/kevinpapst/kimai2/pull/302) ([kevinpapst](https://github.com/kevinpapst)) +- allow to switch language on any page [\#299](https://github.com/kevinpapst/kimai2/pull/299) ([kevinpapst](https://github.com/kevinpapst)) +- Fix duration\_short format for french translation [\#297](https://github.com/kevinpapst/kimai2/pull/297) ([jeau](https://github.com/jeau)) +- allow markdown in timesheet descriptions [\#296](https://github.com/kevinpapst/kimai2/pull/296) ([kevinpapst](https://github.com/kevinpapst)) +- added option to delete invoice template [\#294](https://github.com/kevinpapst/kimai2/pull/294) ([kevinpapst](https://github.com/kevinpapst)) +- Improved invoice preview [\#254](https://github.com/kevinpapst/kimai2/pull/254) ([kevinpapst](https://github.com/kevinpapst)) + ## [0.4](https://github.com/kevinpapst/kimai2/tree/0.4) (2018-09-01) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/0.3...0.4) @@ -12,16 +53,16 @@ **Closed issues:** -- Improve dashboard display [\#280](https://github.com/kevinpapst/kimai2/issues/280) -- CSV export [\#263](https://github.com/kevinpapst/kimai2/issues/263) - Spanish Translation Contrib [\#248](https://github.com/kevinpapst/kimai2/issues/248) - Administration of projects throws error if locale is "de" [\#247](https://github.com/kevinpapst/kimai2/issues/247) - Web Installer Package for near-automated installs from browser [\#235](https://github.com/kevinpapst/kimai2/issues/235) +- Improve dashboard display [\#280](https://github.com/kevinpapst/kimai2/issues/280) - Delete user [\#225](https://github.com/kevinpapst/kimai2/issues/225) - Feature request - Monthly overview / report [\#207](https://github.com/kevinpapst/kimai2/issues/207) **Merged pull requests:** +- prepare release 0.4 [\#292](https://github.com/kevinpapst/kimai2/pull/292) ([kevinpapst](https://github.com/kevinpapst)) - fixed money display in dashboard widgets [\#291](https://github.com/kevinpapst/kimai2/pull/291) ([kevinpapst](https://github.com/kevinpapst)) - Symfony update 4.1.4 [\#290](https://github.com/kevinpapst/kimai2/pull/290) ([kevinpapst](https://github.com/kevinpapst)) - do not allow to stop already stopped timesheets [\#289](https://github.com/kevinpapst/kimai2/pull/289) ([kevinpapst](https://github.com/kevinpapst)) diff --git a/UPGRADING.md b/UPGRADING.md index 26bab817..4adc96db 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -5,7 +5,6 @@ Database upgrades are currently ONLY provided for MySQL/MariaDB and SQLite. If you plan on using e.g. PostgreSQL, please read more about the `bin/console doctrine:migrations:diff` and `bin/console doctrine:migrations:migrate` commands and contact us, so we can integrate them into the official releases. - A normal upgrade can be executed with these commands: ```bash @@ -19,15 +18,18 @@ bin/console doctrine:migrations:migrate There might be version specific tasks that need to be executed before or after these steps, please see below if your updated version is mentioned below. -## [0.5](https://github.com/kevinpapst/kimai2/releases/tag/0.5) (unreleased) +## [0.5](https://github.com/kevinpapst/kimai2/releases/tag/0.5) (2018-09-27) -Some configuration nodes were removed, if you have one of them in your `local.yaml` you need to delete them: +Some configuration nodes were removed, if you have one of them in your `local.yaml` you need to delete them before you start the update: - `kimai.invoice.calculator` - `kimai.invoice.renderer` - `kimai.invoice.number_generator` The new config `kimai.invoice.documents` was introduced, holding a list of directories ([read more](https://github.com/kevinpapst/kimai2/blob/master/var/docs/invoices.md)). +**BC break:** InvoiceTemplate name was changed from 255 characters to 60. If you used longer invoice-template names, they will be truncated when upgrading the database. +Please make sure that they are unique in the first 60 character before you upgrade your database with `doctrine:migrations:migrate`. + ## [0.4](https://github.com/kevinpapst/kimai2/releases/tag/0.4) (2018-09-01) In the time between 0.3 and 0.4 there was a release of composer that introduced a BC break, diff --git a/src/Constants.php b/src/Constants.php index 0c932be2..ed03a2e2 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -25,7 +25,7 @@ class Constants /** * The current release status */ - public const STATUS = 'dev'; + public const STATUS = 'stable'; /** * Used in multiple views */ diff --git a/var/docs/internal.md b/var/docs/internal.md index d9a3da46..74a2110c 100644 --- a/var/docs/internal.md +++ b/var/docs/internal.md @@ -8,7 +8,7 @@ Internal documentation for project maintainers - Change .github_changelog_generator config accordingly to new release tag (increase future release) - Change version constants in `src/Constants.php` - Create CHANGELOG.md with [github-changelog-generator](https://github.com/github-changelog-generator/github-changelog-generator]) by running `github_changelog_generator kevinpapst/kimai2` -- Push a release branch and merge it as last PR into master - Edit the release-draft and add the "Full changelog" link + everything from CHANGELOG.md related to the new version +- Push a release branch and merge it as last PR into master - Create the release - Post a new issue at [YunoHost tracker for Kimai 2](https://github.com/YunoHost-Apps/kimai2_ynh)