Releases: thematters/matters-server
Releases · thematters/matters-server
v3.12.0
3.12.0 (2020-11-18)
Chores
- release:
- deps: bump einaregilsson/beanstalk-deploy from v11 to v14 (3b71c17)
New Features
- revision:
- view: recreate curation tag materialized view (44734c4)
- notice: add notice for publish revised article (c7852a1)
- queue: add revision queue and adjust edit article api (2da4edd)
- api:
Bug Fixes
- tag: fix followingTags.totalCount (0ecf3ae)
- cookie: set SameSite=Lax for
__user_group
cookie (834e4cf) - revision: change revision limit from 4 to 3 (811bf46)
- resolver:
- article read: count visitor read as new read when ip changes (ee796b1)
- search: fix article search returning nothing when pasting url (f6fc5f6)
- register: fix invalid user name made by system (6579a30)
- fix the iOS browser cookie lost issue (dd0fa3c)
- increase server timeout to 5mins to avoid 504 issue (4b4ca59)
- update server timeout to 5 mins (8df7b00)
- slug: fix getting wrong slug when recording read count and super like (1aabce7)
- oauth:
- queue: fix missing paramter while publishing content to IPFS (96534bb)
Other Changes
- fix the iOS browser cookie lost issue" (d0f2f2d)
- //github.com/thematters/matters-server into feat/editing (649b7fb)
Refactors
- update hottest article AB group ordering (073e670)
Code Style Changes
- formatting: formatting (b582308)
v3.11.1
3.11.1 (2020-11-04)
Chores
- release:
- verification: unify translations (118c2bf)
- formatting: formatting (79ee392)
- code: tighten code (bc5aea2)
- deps: bump actions/setup-node from v2.1.1 to v2.1.2 (3b254ec)
- custom-cover: revert changes of
deleteUnusedAssets
(98f2240) - formatting (1597cb7)
- conflicts: resolve conflicts (aeb9be7)
Continuous Integration
- comment unused console output, but keep for reading (a8fef3f)
Documentation Changes
- verification: fix grammar (d33ec3c)
New Features
- activation: lower requirement for user activation (bd03ab3)
- user-group:
- search: shorten frequent search interval (9c5ec76)
- resolver:
- update api due to draft and article restructure (82043e7)
- revise api to return tags that user own and maintain (19b2cbe)
- update article query resolver due draft and article data restructure (c3d130c)
- add auto-follow tag after being tag maintainer (ee98a46)
- remove db checking for updating tag editors and correct typos (59f7a97)
- verification:
- search api: add
record
boolean arg to choose whether search key should be recorded (b3f5608) - article-revision:
- notice:
- add A/B group materialized views for hottest articles (f9382f7)
- custom-cover:
- article-versioning:
- email:
- schema:
- archive-user: delete unpublished instead of unlinked drafts on archive user (6cb15d5)
Bug Fixes
- oauth:
- increase server timeout to 5mins to avoid 504 issue (4b4ca59)
- update server timeout to 5 mins (8df7b00)
- remove the admin -> b group criteria (d940363)
- update user recommendation view (1c58a57)
- fix typo (2722448)
- resolver:
- article: fix relatedDoantionArticles resolving (51ad403)
- cache:
- article-draft: fix article failed to resolve in notices and bookmarks (db84e0a)
- asset:
- verification: put email into dynamicTempalateData since substitutions don't work (6b6bfc3)
- draft:
- notice: add await for sending delete article tag notices to avoid duplicate insertion keys (8bf792e)
- article-versioning:
- error: replace general erros of updating tag editors with specific one (ca4440d)
- email: add tag id for tag management email (47d17b4)
- article-verioning: remove "delay" of "PublishArticleInput" and schedule logic (35e2826)
Other Changes
- //github.com/thematters/matters-server into fix/article-resolving (a6fa4e9)
Refactors
- a/b testing of hottest (341b0b2)
- a/B testing user group in cookie (0829c58)
- a/B testing user group in cookie (a73b8fe)
- migration: update hottest A/B migration files (8389b11)
Code Style Changes
- formatting (6abb0ac)
Tests
v3.11.0
3.11.0 (2020-10-23)
Chores
- release:
- verification: unify translations (118c2bf)
- formatting: formatting (79ee392)
- code: tighten code (bc5aea2)
- deps:
- custom-cover: revert changes of
deleteUnusedAssets
(98f2240) - formatting (1597cb7)
- conflicts: resolve conflicts (aeb9be7)
Continuous Integration
- comment unused console output, but keep for reading (a8fef3f)
- environment:
- stage: revise github config for stage env (7c5dfd5)
Documentation Changes
- verification: fix grammar (d33ec3c)
New Features
- activation: lower requirement for user activation (bd03ab3)
- user-group:
- search: shorten frequent search interval (9c5ec76)
- resolver:
- update api due to draft and article restructure (82043e7)
- revise api to return tags that user own and maintain (19b2cbe)
- update article query resolver due draft and article data restructure (c3d130c)
- add auto-follow tag after being tag maintainer (ee98a46)
- remove db checking for updating tag editors and correct typos (59f7a97)
- verification:
- search api: add
record
boolean arg to choose whether search key should be recorded (b3f5608) - article-revision:
- notice:
- add A/B group materialized views for hottest articles (f9382f7)
- custom-cover:
- article-versioning:
- email:
- schema:
- archive-user: delete unpublished instead of unlinked drafts on archive user (6cb15d5)
- ci: enable "wait_for_deployment" for EB deployment (6e65126)
- cors: disable samesite cookie for localhost (ee5ed3f)
- deprecated:
- tag: auto follow tag on publish article or adopt tag (2fe8c74)
- env:
- superlike: allow civic liker superlike himself (8745d9e)
- db: erase tag owner who is archived (30f48df)
Bug Fixes
- article: fix relatedDoantionArticles resolving (51ad403)
- cache:
- article-draft: fix article failed to resolve in notices and bookmarks (db84e0a)
- remove the admin -> b group criteria (d940363)
- update user recommendation view (1c58a57)
- fix typo (2722448)
- asset:
- verification: put email into dynamicTempalateData since substitutions don't work (6b6bfc3)
- draft:
- notice: add await for sending delete article tag notices to avoid duplicate insertion keys (8bf792e)
- resolver:
- article-versioning:
- error: replace general erros of updating tag editors with specific one (ca4440d)
- email: add tag id for tag management email (47d17b4)
- article-verioning: remove "delay" of "PublishArticleInput" and schedule logic (35e2826)
- cookie: set cookie with "SameSite=strict" (7a949b0)
- cors: fix cors whitelist (f1e01e5)
- test:
- env:
- lint: fix lint errors (5d00d12)
Other Changes
- //github.com/thematters/matters-server into fix/article-resolving (a6fa4e9)
Refactors
- a/b testing of hottest (341b0b2)
- a/B testing user group in cookie (0829c58)
- a/B testing user group in cookie (a73b8fe)
- migration: update hottest A/B migration files (8389b11)
Code Style Changes
- formatting (6abb0ac)
Tests
v3.10.0
3.10.0 (2020-09-24)
Chores
Continuous Integration
- environment:
- stage: revise github config for stage env (7c5dfd5)
New Features
- ci:
- cors: disable samesite cookie for localhost (ee5ed3f)
- deprecated:
- tag: auto follow tag on publish article or adopt tag (2fe8c74)
- env:
- oauth:
- throw meaningful error for invalid token (bc1ffca)
- add scope protection (766cfad)
- add anonymous test caes for auth (2abc2fd)
- add test cases for auth (4974d4f)
- rename @scope to @auth (2d44149)
- refactor scope utils (d47721e)
- add group to mutation @scope (fa81092)
- use @scope to replace @authenticate and @authorize (1f7b7e8)
- superlike: allow civic liker superlike himself (8745d9e)
- resolver:
- add feature flag for tag adoption (5b0ecc3)
- use materialized view for querying curation tags (8dab03e)
- correct curation tag sql string (d8649fd)
- formatting (20bd7c4)
- add new logic to querying random curation and arranged tags (55b5ac8)
- add invalidation after update tag setting (c5792d9)
- revise user recommendation tag resolver for new logic (11eea0d)
- revise user tag resolver for tag owner (863c5f1)
- db:
- schema:
Bug Fixes
- cookie: set cookie with "SameSite=strict" (7a949b0)
- cors: fix cors whitelist (f1e01e5)
- test:
- env:
- lint:
- queue:
- oauth:
- db: correct article read record created during deployment (ee3167a)
- ci: use
pull_request_target
instead ofpull_request
event (1637dac) - cache: alter TTL of search fields (4345d00)
- resolver:
Other Changes
- ci: use
pull_request_target
instead ofpull_request
event" (aa75eda)
Code Style Changes
Tests
v3.9.0
3.9.0 (2020-09-11)
Chores
- release:
- schema: resolve conflicts (a34aa39)
- deps-dev:
- deps: bump js-base64 from 3.2.4 to 3.4.5 (7514f20)
New Features
- oauth:
- throw meaningful error for invalid token (bc1ffca)
- add scope protection (766cfad)
- add anonymous test caes for auth (2abc2fd)
- add test cases for auth (4974d4f)
- rename @scope to @auth (2d44149)
- refactor scope utils (d47721e)
- add group to mutation @scope (fa81092)
- use @scope to replace @authenticate and @authorize (1f7b7e8)
- redirect to
MATTERS_OAUTH_SITE_DOMAIN
for oauth requests (b726caf)
- resolver:
- add feature flag for tag adoption (5b0ecc3)
- use materialized view for querying curation tags (8dab03e)
- correct curation tag sql string (d8649fd)
- formatting (20bd7c4)
- add new logic to querying random curation and arranged tags (55b5ac8)
- add invalidation after update tag setting (c5792d9)
- revise user recommendation tag resolver for new logic (11eea0d)
- revise user tag resolver for tag owner (863c5f1)
- fix typo of error message (4b05f17)
- add limits to features for frozen state user (3757317)
- add limits to feature for frozen state user (0193636)
- add limits to edit and archive article for frozen state user (021ac93)
- add limits to features for frozen-state user (e324583)
- add limits of feature for frozen-state user (6249cc8)
- add new query for followee donated articles (073ffb0)
- schema:
- db:
- ci: add workflow for test and only runs on pull request (ced1a00)
- cache:
- donation:
- superlike: record superlike to db (c324b31)
Bug Fixes
- queue:
- oauth:
- lint: fix lint error (3975243)
- db:
- ci: use
pull_request_target
instead ofpull_request
event (1637dac) - cache:
- email: temporarily stop sending churn emails (6ff656a)
- resolver:
- scalar: fix URL usage in mutations (d535e24)
- donation:
- recommendation:
- test: fix test case (8e1d7c9)
- error: add one more error for specific forbidden error (f13459f)
- superlike: remove object cache of
canSuperLike
(dbd8411)
Other Changes
- ci: use
pull_request_target
instead ofpull_request
event" (aa75eda)
Code Style Changes
Tests
- test:
- add seting feature flag into test utils (0d36577)
- revise test case for querying recommendation tags (40e9959)
- add test case for tag owner management (26bf3e7)
- revise test case for tag owner management (e980ef9)
- alter test case settings (dc34af1)
- add test case settings for frozen user (5fed702)
- add test cases for frozen user (4bfb270)
v3.8.0
3.8.0 (2020-09-01)
Build System / Dependencies
- deps: bump @matters/apollo-response-cache from 1.2.0 to 1.2.1 (4e9c1f1)
Chores
- release:
- deps-dev:
- deps:
Continuous Integration
- schema: remove test codes (2f51c7e)
New Features
- cache:
- no-cache for transaction type (c816575)
- invalidate viewer for toggleFollowUser and toggleBlockUser (10681fb)
- add @logCache to all node fields; add TTL to public feeds; (8187cd2)
- add back @purgeCache to mutations (686c10e)
- alter TTLs (cac0cca)
- apply
@objectCache
toArticle.canSuperLike
(7ef42af) - optimize cache invalidation (3584111)
- update cache directives and custom invalidations (8bdc7ce)
- increase TTL of
CACHE_TTL.SHORT
to 10 mins (77e1cc9) - extract "checkOperationLimit" from CacheService (670e9a0)
- oauth: redirect to
MATTERS_OAUTH_SITE_DOMAIN
for oauth requests (b726caf) - donation:
- resolver:
- fix typo of error message (4b05f17)
- add limits to features for frozen state user (3757317)
- add limits to feature for frozen state user (0193636)
- add limits to edit and archive article for frozen state user (021ac93)
- add limits to features for frozen-state user (e324583)
- add limits of feature for frozen-state user (6249cc8)
- add new query for followee donated articles (073ffb0)
- superlike: record superlike to db (c324b31)
- recommandation: alter
AuthorsFilter.random
to allow client to decide randomness (c807ab9) - service: update action_tag after tag merge and deletion (067bf37)
- likecoin: passing user agent while calling LikeCoin APIs (7b41c28)
- schema: remove tag (6b09fbd)
- api: add Apollo Studio to CORS whitelist (d45088c)
- ci: push the latest schema to corresponding apollo environment (59c2525)
- tag: add
User.tags
query (b7aaeab)
Bug Fixes
- cache:
- email: temporarily stop sending churn emails (6ff656a)
- scalar: fix URL usage in mutations (d535e24)
- donation:
- db:
- recommendation:
- test: fix test case (8e1d7c9)
- error: add one more error for specific forbidden error (f13459f)
- resolver: change query of tag fallback cover (b97f1b2)
- superlike: remove object cache of
canSuperLike
(dbd8411) - service: change tag cover fallback logic (f9af64f)
- schema: fix push schema on CI (d376a8b)
- tag: fix typo in
User.tags
resovler (d93b8af)
Code Style Changes
Tests
v3.7.0
3.7.0 (2020-08-10)
Build System / Dependencies
- deps: bump @matters/apollo-response-cache from 1.2.0 to 1.2.1 (4e9c1f1)
Chores
Continuous Integration
- schema: remove test codes (2f51c7e)
New Features
- recommandation: alter
AuthorsFilter.random
to allow client to decide randomness (c807ab9) - service: update action_tag after tag merge and deletion (067bf37)
- cache:
- likecoin: passing user agent while calling LikeCoin APIs (7b41c28)
- schema: remove tag (6b09fbd)
- api: add Apollo Studio to CORS whitelist (d45088c)
- ci: push the latest schema to corresponding apollo environment (59c2525)
- tag: add
User.tags
query (b7aaeab)
Bug Fixes
- cache:
- service: change tag cover fallback logic (f9af64f)
- schema: fix push schema on CI (d376a8b)
- db:
- tag: fix typo in
User.tags
resovler (d93b8af)
Code Style Changes
- service: formatting (8ec5d47)
Tests
v3.6.0
3.6.0 (2020-07-31)
Chores
Continuous Integration
- code owners: add dev team as code owner for all files and data team for db migrations (4d8a06f)
New Features
- cache:
- deps: use @matters/apollo-response-cache (0e89626)
- article ranking: use read time of register users only for ranking (2b38a18)
- db:
Bug Fixes
- db:
- article rank: fix table join in article rank (1e97937)
- resolver:
- heart beat record: fix wrong time unit conversion and skip reads that are longer than 30 min (efa9ef1)
- article_interest db rollback: fix error in unit test when rollback article_interest_view (f802785)
Code Style Changes
- db: formatting (c33c1cd)
v3.5.0
3.5.0 (2020-07-24)
Chores
- release: v3.5.0 (ff9efc4)
- deps:
- bump aws-sdk from 2.718.0 to 2.719.0 (eaf4c36)
- bump aws-sdk from 2.717.0 to 2.718.0 (763cc77)
- bump stripe from 8.77.0 to 8.78.0 (5659541)
- bump aws-sdk from 2.716.0 to 2.717.0 (203ad06)
- bump @sentry/node from 5.19.2 to 5.20.0 (67ad82e)
- bump aws-sdk from 2.714.1 to 2.716.0 (edd84a3)
- bump stripe from 8.76.0 to 8.77.0 (4d47bbd)
- bump js-base64 from 3.1.3 to 3.2.4 (d0b6a2d)
- bump @slack/web-api from 5.10.0 to 5.11.0 (b0d933b)
- bump stripe from 8.74.0 to 8.76.0 (a030b2b)
- bump aws-sdk from 2.714.0 to 2.714.1 (d5f9d07)
- bump js-base64 from 2.6.3 to 3.1.3 (f8e4dfc)
- bump bull from 3.15.0 to 3.16.0 (f15bd94)
- bump stripe from 8.70.0 to 8.74.0 (66315e1)
- bump aws-sdk from 2.713.0 to 2.714.0 (215bd3d)
- bump @google-cloud/translate from 6.0.1 to 6.0.2 (035b8c3)
- bump @sentry/node from 5.19.1 to 5.19.2 (36aa4e0)
- bump firebase-admin from 8.13.0 to 9.0.0 (1b7a785)
- bump oauth2-server from 3.1.0 to 3.1.1 (61c765f)
- bump stripe from 8.69.0 to 8.70.0 (519de60)
- bump pg from 8.2.2 to 8.3.0 (cb3b84d)
- bump aws-sdk from 2.712.0 to 2.713.0 (5e52e6b)
- bump graphql from 14.6.0 to 14.7.0 (7419263)
- bump js-base64 from 2.6.2 to 2.6.3 (52a61cd)
- bump aws-sdk from 2.709.0 to 2.712.0 (0f0c49c)
- bump lodash from 4.17.15 to 4.17.19 (c34007f)
- bump objection from 2.2.0 to 2.2.1 (4ab7e4d)
- bump stripe from 8.68.0 to 8.69.0 (092c9b5)
- deps-dev:
- bump codecov from 3.7.1 to 3.7.2 (8a2bd41)
- bump @types/lodash from 4.14.157 to 4.14.158 (d6d07b6)
- bump @types/js-base64 from 2.3.2 to 3.0.0 (39c7ea1)
- bump codecov from 3.7.0 to 3.7.1 (ff9e2b5)
- bump @types/jest from 26.0.4 to 26.0.5 (5a90803)
- bump chokidar from 3.4.0 to 3.4.1 (5131a8b)
- bump @types/ioredis from 4.17.0 to 4.17.2 (21ab0c2)
- bump @types/cheerio from 0.22.20 to 0.22.21 (8fa5a53)
- bump @types/jest from 26.0.3 to 26.0.4 (b54a414)
- bump @types/passport from 1.0.3 to 1.0.4 (49f8036)
- resolver: resolve conflict and rebasing (3be6b87)
- enum: formatting (1bdbf9f)
- schema: remove unused enum (a6a709e)
New Features
- cookie:
- public-private-queries: revert strip off viewer (42ad45f)
- subscription: disable subscription and pubsub events (645b78d)
- cors: configuring CORS with dynamic origin (dbc3e2f)
- schema:
- resolver:
- medium-migration: check mime type of fetched asset (a369624)
- file-upload: throw error if content type of upload file is invalid (c81720d)
- service: dedeup when querying following tags feed (3ca7184)
- edit-article:
Bug Fixes
- article_count_view: remove filter with commenters_7d and add to score calculation (f743775)
- typo: fix typo (4064d5c)
- view: fix article_count_view (2b073f4)
- resolver:
- edit-article: uniq tags & collection (9d3d39d)
Refactors
- schema:
Code Style Changes
Tests
v3.4.0
3.4.0 (2020-07-08)
Chores
Continuous Integration
- deployment: skip waiting for eb deployment in dev env (de15fe4)
New Features
- service:
- db: add migration script for tag actions (7f0bb69)
- schema:
- upload: remove support for SVG file (9577976)
- translation: truncate content that passing to detectLanguage (ab1cf52)
- article interest view: filter out 0 socre to reduce storage size (ce10d08)
- mutation updateuserstate: revert check so admin cannot unarchive user (d0d6f7d)
- add batch user state update and frozen user state: allow oss user to batch update user state (05ec34d)
- api for article interst: aPI to recommend articles to user based on tag history (54ae924)
- update article value rank: use new ranking algorithm for test group A (cddc2a3)
- article ranking algorithm: add user to article mapping to record user's intereset in articles (f6e987d)
- resolver: split followee feed into article and comment feeds (e94db35)