Skip to content

Commit

Permalink
Merge pull request #438 from thematters/develop
Browse files Browse the repository at this point in the history
Release: v1.9.0
  • Loading branch information
robertu7 authored Aug 23, 2019
2 parents fb116ca + 9228199 commit c6f8e4a
Show file tree
Hide file tree
Showing 39 changed files with 889 additions and 946 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.9.0] - 2019-08-23

### Added

- Sticky article #410 #416
- Cache Control #418 #420 #423 #437

### Changed

- Fix publish #419
- Reopen articleCount field and move totalWordCount into UserStatus . #425
- Add `oss.comments` query and `updateCommentState` mutation #432
- Re-add removeOnComplete option for queue service. #436
- Refactoring the business logics of "putComment" related notices #431

## [1.8.1] - 2019-08-07

### Changed
Expand Down
13 changes: 13 additions & 0 deletions db/migrations/20190806010311_add_article_sticky.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const table = 'article'

exports.up = async knex => {
await knex.schema.table(table, function(t) {
t.boolean('sticky').defaultTo(false)
})
}

exports.down = async knex => {
await knex.schema.table(table, function(t) {
t.dropColumn('sticky')
})
}
Loading

0 comments on commit c6f8e4a

Please sign in to comment.