Browse Source

Merge branch 'devel'

Lauri Ojansivu 7 years ago
parent
commit
5e17b01077
4 changed files with 10 additions and 4 deletions
  1. 6 0
      CHANGELOG.md
  2. 1 1
      package.json
  3. 2 2
      sandstorm-pkgdef.capnp
  4. 1 1
      server/migrations.js

+ 6 - 0
CHANGELOG.md

@@ -1,3 +1,9 @@
+# v1.16 2018-07-06 Wekan release
+
+- Fix: [Boards.forEach is not function](https://github.com/wekan/wekan/commit/a41190cdf024df65ad1c9931b3065c6ababeaf25).
+
+Thanks to GitHub user xet7 for contributions.
+
 # v1.15 2018-07-06 Wekan release
 # v1.15 2018-07-06 Wekan release
 
 
 This release fixes the following bugs:
 This release fixes the following bugs:

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "wekan",
   "name": "wekan",
-  "version": "1.15.0",
+  "version": "1.16.0",
   "description": "The open-source Trello-like kanban",
   "description": "The open-source Trello-like kanban",
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {

+ 2 - 2
sandstorm-pkgdef.capnp

@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
     appTitle = (defaultText = "Wekan"),
     appTitle = (defaultText = "Wekan"),
     # The name of the app as it is displayed to the user.
     # The name of the app as it is displayed to the user.
 
 
-    appVersion = 100,
+    appVersion = 101,
     # Increment this for every release.
     # Increment this for every release.
 
 
-    appMarketingVersion = (defaultText = "1.15.0~2018-07-06"),
+    appMarketingVersion = (defaultText = "1.16.0~2018-07-06"),
     # Human-readable presentation of the app version.
     # Human-readable presentation of the app version.
 
 
     minUpgradableAppVersion = 0,
     minUpgradableAppVersion = 0,

+ 1 - 1
server/migrations.js

@@ -153,7 +153,7 @@ Migrations.add('add-sort-checklists', () => {
 });
 });
 
 
 Migrations.add('add-swimlanes', () => {
 Migrations.add('add-swimlanes', () => {
-  Boards.forEach((board) => {
+  Boards.find().forEach((board) => {
     const swimlaneId = board.getDefaultSwimline()._id;
     const swimlaneId = board.getDefaultSwimline()._id;
     Cards.find({ boardId: board._id }).forEach((card) => {
     Cards.find({ boardId: board._id }).forEach((card) => {
       if (!card.hasOwnProperty('swimlaneId')) {
       if (!card.hasOwnProperty('swimlaneId')) {