prepare release 1.2 (#1059)

This commit is contained in:
Kevin Papst
2019-08-27 18:37:42 +02:00
committed by GitHub
parent 8fb0b1445a
commit 94f8159fdc
6 changed files with 25 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
unreleased=true unreleased=true
future-release=1.1 future-release=1.2
exclude-labels=duplicate,question,invalid,wontfix,release exclude-labels=duplicate,question,invalid,wontfix,release
enhancement_labels=>enhancement,Enhancement,feature request,translation i18n,technical debt enhancement_labels=>enhancement,Enhancement,feature request,translation i18n,technical debt
issues-wo-labels=false issues-wo-labels=false

View File

@@ -1,5 +1,10 @@
# Change Log # Change Log
## [1.2](https://github.com/kevinpapst/kimai2/tree/1.2) (2019-08-28)
[Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.1...1.2)
Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.2)
## [1.1](https://github.com/kevinpapst/kimai2/tree/1.1) (2019-07-24) ## [1.1](https://github.com/kevinpapst/kimai2/tree/1.1) (2019-07-24)
[Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.0.1...1.1) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.0.1...1.1)

View File

@@ -7,8 +7,8 @@ As announced in the [README](README.md) I only support the latest available rele
| Version | Supported | | Version | Supported |
| ------- | ------------------ | | ------- | ------------------ |
| master | :white_check_mark: | | master | :white_check_mark: |
| 1.1 | :white_check_mark: | | 1.2 | :white_check_mark: |
| < 1.1 | :x: | | < 1.2 | :x: |
## Reporting a Vulnerability ## Reporting a Vulnerability

View File

@@ -20,7 +20,7 @@ Perform EACH version specific task between your version and the new one, otherwi
- Added new permission: `manage_invoice_template` - Added new permission: `manage_invoice_template`
- Removed permissions: `view_invoice_template`, `create_invoice_template`, `edit_invoice_template`, `delete_invoice_template` - Removed permissions: `view_invoice_template`, `create_invoice_template`, `edit_invoice_template`, `delete_invoice_template`
- Removed permission: `view_invoice` (using `create_export` only) - Removed permission: `view_invoice` (using `create_export` only)
- Export renderer need to check usage of `Timesheet::getEnd()` as running entries can now be exported as well - Custom export renderer need to check for usage of `Timesheet::getEnd()` as running entries can now be exported as well
## [1.1](https://github.com/kevinpapst/kimai2/releases/tag/1.1) ## [1.1](https://github.com/kevinpapst/kimai2/releases/tag/1.1)

View File

@@ -21,7 +21,7 @@ class Constants
/** /**
* The current release version * The current release version
*/ */
public const VERSION = '1.1'; public const VERSION = '1.2';
/** /**
* The release name, will only change for new major version * The release name, will only change for new major version
*/ */

View File

@@ -26,6 +26,21 @@ final class Version20190729162655 extends AbstractMigration
return 'Fixes foreign keys on tag table'; return 'Fixes foreign keys on tag table';
} }
protected function isSupportingForeignKeys(): bool
{
return false;
}
public function isTransactional(): bool
{
if ($this->isPlatformSqlite()) {
// does fail if we use transactions, as tables are re-created and foreign keys would fail
return false;
}
return true;
}
public function up(Schema $schema): void public function up(Schema $schema): void
{ {
$timesheetTags = $schema->getTable('kimai2_timesheet_tags'); $timesheetTags = $schema->getTable('kimai2_timesheet_tags');