diff --git a/CHANGELOG.md b/CHANGELOG.md index dc26d9d5b..64e52b847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# v1.18 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix [Title is required](https://github.com/wekan/wekan/issues/1576) + by [setting Checklist title during migration](https://github.com/wekan/wekan/issues/1753). + +Thanks to GitHub users centigrade-kdk and xet7 for their contributions. + # v1.17 2018-07-06 Wekan release This release adds the following new features: diff --git a/models/checklists.js b/models/checklists.js index 2277736e4..c58453efc 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -7,7 +7,6 @@ Checklists.attachSchema(new SimpleSchema({ title: { type: String, defaultValue: 'Checklist', - optional: true, }, finishedAt: { type: Date, diff --git a/package.json b/package.json index d2e5d0a0a..a773b6455 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "1.17.0", + "version": "1.18.0", "description": "The open-source Trello-like kanban", "private": true, "scripts": { diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index 8624d596c..c894cce21 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 102, + appVersion = 103, # Increment this for every release. - appMarketingVersion = (defaultText = "1.17.0~2018-07-06"), + appMarketingVersion = (defaultText = "1.18.0~2018-07-06"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/server/migrations.js b/server/migrations.js index d0e63388a..6135f1bef 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -184,7 +184,7 @@ Migrations.add('add-checklist-items', () => { // Create new items _.sortBy(checklist.items, 'sort').forEach((item, index) => { ChecklistItems.direct.insert({ - title: item.title, + title: (item.title ? item.title : 'Checklist'), sort: index, isFinished: item.isFinished, checklistId: checklist._id,