Skip to content

Releases: thematters/matters-server

v3.12.0

18 Nov 08:08
ea45a07
Compare
Choose a tag to compare

3.12.0 (2020-11-18)

Chores
  • release:
  • deps: bump einaregilsson/beanstalk-deploy from v11 to v14 (3b71c17)
New Features
  • revision:
    • add revised time for article shcema (c300099)
    • copy previous draft's asset map for revised draft (43c67ac)
  • 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:
    • adjust edit article api for article revision (f8d63dd)
    • add api for listing article's linked drafts (fecb2ca)
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:
    • cleanup unused class when saving revised content (86b19d3)
    • fix article is returning draft's created date (b05405e)
  • 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:
    • add a saftey check for strip-connect handler (44d8e02)
    • add error catcher for viewer query in oauth server (6a94acb)
  • 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

v3.11.1

04 Nov 05:46
faf7b48
Compare
Choose a tag to compare

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:
    • caching public query based on user group (eed54cf)
    • set __user_group cookie with disabled httpOnly and under SLD (633b4ec)
  • 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:
    • disable sendgrid mail tracking (c9167f5)
    • pass "type" in boolean to email engine (3f7114a)
    • add verification link supports; remove unused VerificationCodeType (da3b161)
    • remove unused verifyEmail mutation (5e79657)
  • search api: add record boolean arg to choose whether search key should be recorded (b3f5608)
  • article-revision:
    • add cover to AssetType; protect Article.assets; (abbb6ef)
    • support unset draft cover (f37c50b)
    • uncache Article.assets; allow unset cover; (cd8d429)
    • add Article.assets; allow edit cover for editArticle mutation; (d684133)
  • notice:
    • add notice for tag management (547f3bb)
    • add API interface for tag management notice (25fcd80)
  • add A/B group materialized views for hottest articles (f9382f7)
  • custom-cover:
    • fix deleteUnusedAssets (9624708)
    • remove cover overwrite logic of putDraft (73ee2d4)
  • article-versioning:
    • remove unused migration scripts (49f78b6)
    • use raw SQL to migrate (1b52a6d)
    • copy data to draft from article while publication (a3c8ceb)
    • reduce chunk size to 10 (58e7969)
    • migrate articles to new drafts (0ce1c8f)
    • alter draft table as article (c397767)
  • email:
    • add sending email for tag management (0161566)
    • add email service for tag management (3ab8b67)
  • schema:
    • revise tag editors querying inputs (1c356a1)
    • add filter input for quering tag's editors (62da4c8)
    • add query fields for tag's participants (d56dffb)
    • add tag editor management API (69efba8)
  • archive-user: delete unpublished instead of unlinked drafts on archive user (6cb15d5)
Bug Fixes
  • oauth:
    • add a saftey check for strip-connect handler (44d8e02)
    • add error catcher for viewer query in oauth server (6a94acb)
  • 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:
    • fix article is returning draft's created date (b05405e)
    • make trigger of notification wait for operation (e543607)
    • correct async to sync in tag add editor scope (d6d9284)
  • article: fix relatedDoantionArticles resolving (51ad403)
  • cache:
  • article-draft: fix article failed to resolve in notices and bookmarks (db84e0a)
  • asset:
    • permission checking inside reolsver instead of using @auth (9b960e1)
    • fix swapAssetMapEntity (4889fc1)
    • fix asset_map entity relationship (a0be424)
  • verification: put email into dynamicTempalateData since substitutions don't work (6b6bfc3)
  • draft:
    • fix missing draft fields inherit from article (1d7eb2d)
    • fix missing article_id of drafts (5407a28)
  • notice: add await for sending delete article tag notices to avoid duplicate insertion keys (8bf792e)
  • article-versioning:
    • mark archived as TRUE on migration script (b67219d)
    • generate uuid without extension (c2eb78d)
    • fix article-draft relationship (e5e820d)
  • 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
Tests
  • tag:
    • revise test case for adding tag editors (74454c8)
    • add test cases for tag management (64fec2f)
    • add test cases for tag management (6f244f0)
  • artcile: revise article test cases (c5fb148)
  • types: revise tag management test cases (72e1de9)

v3.11.0

23 Oct 14:32
29c39b3
Compare
Choose a tag to compare

3.11.0 (2020-10-23)

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)
    • bump node-fetch from 2.6.0 to 2.6.1 (994de25)
  • 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:
    • revise github config for stage env (0be3e25)
    • correct staging to stage (620f092)
  • 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:
    • caching public query based on user group (eed54cf)
    • set __user_group cookie with disabled httpOnly and under SLD (633b4ec)
  • 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:
    • disable sendgrid mail tracking (c9167f5)
    • pass "type" in boolean to email engine (3f7114a)
    • add verification link supports; remove unused VerificationCodeType (da3b161)
    • remove unused verifyEmail mutation (5e79657)
  • search api: add record boolean arg to choose whether search key should be recorded (b3f5608)
  • article-revision:
    • add cover to AssetType; protect Article.assets; (abbb6ef)
    • support unset draft cover (f37c50b)
    • uncache Article.assets; allow unset cover; (cd8d429)
    • add Article.assets; allow edit cover for editArticle mutation; (d684133)
  • notice:
    • add notice for tag management (547f3bb)
    • add API interface for tag management notice (25fcd80)
  • add A/B group materialized views for hottest articles (f9382f7)
  • custom-cover:
    • fix deleteUnusedAssets (9624708)
    • remove cover overwrite logic of putDraft (73ee2d4)
  • article-versioning:
    • remove unused migration scripts (49f78b6)
    • use raw SQL to migrate (1b52a6d)
    • copy data to draft from article while publication (a3c8ceb)
    • reduce chunk size to 10 (58e7969)
    • migrate articles to new drafts (0ce1c8f)
    • alter draft table as article (c397767)
  • email:
    • add sending email for tag management (0161566)
    • add email service for tag management (3ab8b67)
  • schema:
    • revise tag editors querying inputs (1c356a1)
    • add filter input for quering tag's editors (62da4c8)
    • add query fields for tag's participants (d56dffb)
    • add tag editor management API (69efba8)
  • 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:
    • remove unused fields & mutations (cd9a4bf)
    • remove deprecated fields and mutations (0130165)
  • 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:
    • permission checking inside reolsver instead of using @auth (9b960e1)
    • fix swapAssetMapEntity (4889fc1)
    • fix asset_map entity relationship (a0be424)
  • verification: put email into dynamicTempalateData since substitutions don't work (6b6bfc3)
  • draft:
    • fix missing draft fields inherit from article (1d7eb2d)
    • fix missing article_id of drafts (5407a28)
  • notice: add await for sending delete article tag notices to avoid duplicate insertion keys (8bf792e)
  • resolver:
    • make trigger of notification wait for operation (e543607)
    • correct async to sync in tag add editor scope (d6d9284)
  • article-versioning:
    • mark archived as TRUE on migration script (b67219d)
    • generate uuid without extension (c2eb78d)
    • fix article-draft relationship (e5e820d)
  • 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:
    • fix test case (8fa7b40)
    • revert change of tag test case (0176711)
    • add MATTERS_MATTY_ID to CI (d8a0d95)
    • filter "info" level logs in test (bf934c7)
    • update MATTERS_MATTY_ID for fixing test (e1443b5)
  • env:
    • fix knex was broken on local development (74d8249)
    • remake env (88bea28)
  • 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
Tests
  • tag:
    • revise test case for adding tag editors (74454c8)
    • add test cases for tag management (64fec2f)
    • add test cases for tag management (6f244f0)
  • artcile: revise article test cases (c5fb148)
  • types: revise tag management test cases (72e1de9)

v3.10.0

24 Sep 09:51
3bd5f0e
Compare
Choose a tag to compare

3.10.0 (2020-09-24)

Chores
Continuous Integration
  • environment:
    • revise github config for stage env (0be3e25)
    • correct staging to stage (620f092)
  • stage: revise github config for stage env (7c5dfd5)
New Features
  • ci:
    • enable "wait_for_deployment" for EB deployment (6e65126)
    • add workflow for test and only runs on pull request (ced1a00)
  • cors: disable samesite cookie for localhost (ee5ed3f)
  • deprecated:
    • remove unused fields & mutations (cd9a4bf)
    • remove deprecated fields and mutations (0130165)
  • tag: auto follow tag on publish article or adopt tag (2fe8c74)
  • env:
  • oauth:
  • 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:
    • erase tag owner who is archived (30f48df)
    • change genrator of uuid of curation_tag_materialized (b8bbe3f)
    • improve drop view sql string for curation_tag_materialized (f190873)
    • correct article read record created during deployment (619e74f)
    • add index to tag table (1444695)
  • schema:
    • make user createdAt field as nullable (4b18523)
    • add test cases for tag owner management (c737a5d)
    • add api for update tag setting (3e89708)
Bug Fixes
  • cookie: set cookie with "SameSite=strict" (7a949b0)
  • cors: fix cors whitelist (f1e01e5)
  • test:
    • fix test case (8fa7b40)
    • revert change of tag test case (0176711)
    • add MATTERS_MATTY_ID to CI (d8a0d95)
    • filter "info" level logs in test (bf934c7)
    • update MATTERS_MATTY_ID for fixing test (e1443b5)
  • env:
    • fix knex was broken on local development (74d8249)
    • remake env (88bea28)
  • lint:
  • queue:
    • attempt to fix appreciation amount reaching limit (20bf979)
    • alter queue intialization (53c02b5)
  • oauth:
    • fix legacy scopes (1dffffe)
    • fix test cases (c1b596e)
    • alter scope of oauth_authorization_code to array (ef5cd9d)
  • db: correct article read record created during deployment (ee3167a)
  • ci: use pull_request_target instead of pull_request event (1637dac)
  • cache: alter TTL of search fields (4345d00)
  • resolver:
    • return null if tag has no owner instead of query with null (da6c6d8)
    • fix a typo for null value (0871adb)
Other Changes
  • ci: use pull_request_target instead of pull_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)

v3.9.0

11 Sep 11:42
c3d0908
Compare
Choose a tag to compare

3.9.0 (2020-09-11)

Chores
  • release:
  • schema: resolve conflicts (a34aa39)
  • deps-dev:
    • bump chokidar from 3.4.1 to 3.4.2 (e5deec8)
    • bump @types/uuid from 8.0.0 to 8.0.1 (92ca8dc)
  • deps: bump js-base64 from 3.2.4 to 3.4.5 (7514f20)
New Features
  • oauth:
  • 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:
    • make user createdAt field as nullable (4b18523)
    • add test cases for tag owner management (c737a5d)
    • add api for update tag setting (3e89708)
  • db:
    • change genrator of uuid of curation_tag_materialized (b8bbe3f)
    • improve drop view sql string for curation_tag_materialized (f190873)
    • correct article read record created during deployment (619e74f)
    • add index to tag table (1444695)
  • ci: add workflow for test and only runs on pull request (ced1a00)
  • 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)
  • donation:
    • implement relatedDonationArticles resolver (d6af8a3)
    • add user.status.donatedArticleCount and user.status.receivedDonationCount (04626c9)
  • superlike: record superlike to db (c324b31)
Bug Fixes
  • queue:
    • attempt to fix appreciation amount reaching limit (20bf979)
    • alter queue intialization (53c02b5)
  • oauth:
    • fix legacy scopes (1dffffe)
    • fix test cases (c1b596e)
    • alter scope of oauth_authorization_code to array (ef5cd9d)
  • lint: fix lint error (3975243)
  • db:
    • correct article read record created during deployment (ee3167a)
    • fix read timer and read_time field (efb3ff6)
    • fix a typo (ac21dc3)
    • fix typo in migration script (7e538fc)
    • fix read_time in article_read_count (9ad7afb)
  • ci: use pull_request_target instead of pull_request event (1637dac)
  • cache:
    • alter TTL of search fields (4345d00)
    • fix cache type resolver (c3f9dcd)
  • email: temporarily stop sending churn emails (6ff656a)
  • resolver:
    • return null if tag has no owner instead of query with null (da6c6d8)
    • fix a typo for null value (0871adb)
    • change query of tag fallback cover (b97f1b2)
  • scalar: fix URL usage in mutations (d535e24)
  • donation:
    • filter out inactive articles in related donations (219ed77)
    • fix incorrect whereNotIn (966a6cd)
  • recommendation:
    • fix chunks & index (287f6f5)
    • fix random index of recommendation.authors (e164695)
  • 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 of pull_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

01 Sep 07:00
54e1c49
Compare
Choose a tag to compare

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:
    • bump chokidar from 3.4.1 to 3.4.2 (e5deec8)
    • bump @types/uuid from 8.0.0 to 8.0.1 (92ca8dc)
    • bump @types/ioredis from 4.17.2 to 4.17.3 (e5cde9c)
  • deps:
    • bump js-base64 from 3.2.4 to 3.4.5 (7514f20)
    • bump stripe from 8.78.0 to 8.83.0 (a8e571e)
    • bump einaregilsson/beanstalk-deploy from v10 to v11 (3f601ce)
    • bump uuid from 8.2.0 to 8.3.0 (1357319)
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 to Article.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:
    • implement relatedDonationArticles resolver (d6af8a3)
    • add user.status.donatedArticleCount and user.status.receivedDonationCount (04626c9)
  • 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:
    • fix cache type resolver (c3f9dcd)
    • invalidate cache after followed or unfollowed a tag (e29261f)
    • invalidate related article on comment updated (a2236d8)
    • make Draft.id uncacheable (7cfcfa3)
  • email: temporarily stop sending churn emails (6ff656a)
  • scalar: fix URL usage in mutations (d535e24)
  • donation:
    • filter out inactive articles in related donations (219ed77)
    • fix incorrect whereNotIn (966a6cd)
  • db:
    • fix read timer and read_time field (efb3ff6)
    • fix a typo (ac21dc3)
    • fix typo in migration script (7e538fc)
    • fix read_time in article_read_count (9ad7afb)
    • correct wrong tag creator (dff585b)
    • correct wrong tag creator (2832ae8)
    • correct wrong tag creator (48e282d)
  • recommendation:
    • fix chunks & index (287f6f5)
    • fix random index of recommendation.authors (e164695)
  • 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
  • test:
    • alter test case settings (dc34af1)
    • add test case settings for frozen user (5fed702)
    • add test cases for frozen user (4bfb270)
  • service:

v3.7.0

10 Aug 14:16
216c1be
Compare
Choose a tag to compare

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
  • release: v3.7.0 (5e0b0c3)
  • deps:
    • bump stripe from 8.78.0 to 8.83.0 (a8e571e)
    • bump einaregilsson/beanstalk-deploy from v10 to v11 (3f601ce)
    • bump uuid from 8.2.0 to 8.3.0 (1357319)
  • deps-dev: bump @types/ioredis from 4.17.2 to 4.17.3 (e5cde9c)
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:
    • apply @objectCache to Article.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)
  • 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:
    • invalidate cache after followed or unfollowed a tag (e29261f)
    • invalidate related article on comment updated (a2236d8)
    • make Draft.id uncacheable (7cfcfa3)
  • service: change tag cover fallback logic (f9af64f)
  • schema: fix push schema on CI (d376a8b)
  • db:
    • correct wrong tag creator (dff585b)
    • correct wrong tag creator (2832ae8)
    • correct wrong tag creator (48e282d)
  • tag: fix typo in User.tags resovler (d93b8af)
Code Style Changes
Tests
  • service:

v3.6.0

31 Jul 12:29
bb8cf37
Compare
Choose a tag to compare

3.6.0 (2020-07-31)

Chores
  • release: v3.6.0 (8ddaf19)
  • deps:
    • bump graphql-scalars from 1.2.2 to 1.2.4 (a21a78d)
    • bump objection from 2.2.1 to 2.2.2 (92096f0)
    • bump aws-sdk from 2.719.0 to 2.722.0 (dc13dda)
    • bump nanoid from 3.1.10 to 3.1.11 (65bd291)
    • bump actions/setup-node from v2-beta to v2.1.1 (db3462e)
  • deps-dev: bump @types/qs from 6.9.3 to 6.9.4 (068fa45)
Continuous Integration
  • code owners: add dev team as code owner for all files and data team for db migrations (4d8a06f)
New Features
  • cache:
    • bump "@matters/apollo-response-cache" (150eae2)
    • use package exported invalidateFQC (d20c49b)
    • drop built-in cache plugin & directives (64616a2)
  • deps: use @matters/apollo-response-cache (0e89626)
  • article ranking: use read time of register users only for ranking (2b38a18)
  • db:
    • revise migration script for tag count view (acd57c8)
    • revise migration script (2b50c36)
    • recreate tag count view (8536933)
Bug Fixes
  • db:
    • fix migration script of correcting tag creator (77e1d86)
    • correct wrong tag creator (6f8f4d0)
    • fix a typo in migration script (e561edc)
  • article rank: fix table join in article rank (1e97937)
  • resolver:
    • fix fetching wrong data in tag follower resolver (e3cd921)
    • fix fetching wrong data in tag follower resolver (7538a84)
  • 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

v3.5.0

24 Jul 14:54
fb62c22
Compare
Choose a tag to compare

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:
    • rename token name of cookie (63c924e)
    • set cookie domain with request hostname (ebf72da)
  • public-private-queries: revert strip off viewer (42ad45f)
  • subscription: disable subscription and pubsub events (645b78d)
  • cors: configuring CORS with dynamic origin (dbc3e2f)
  • schema:
    • revise inputs of search API (ddc0f8d)
    • add support for searching current viewer's articles (c44cbd2)
    • add tag cover API into schema (eef86be)
    • revise GQL schema for adding following tags query (be671e7)
  • resolver:
    • allow user to upload tag cover (0f887d7)
    • add checker to prevent user add articles into tag selected feed (0ac6e40)
  • 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:
    • only allow active article to be edited (673b5bb)
    • add all-in-one editArticle mutation to edit article related fields (f4a3df9)
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:
    • fix passing wrong id value to article search (c2b95cb)
    • fix tag cover asset not removed after updating (da33650)
    • fix using wrong service method in querying following tags (23a79a9)
    • fix shadow name in resolver of user following tag (6108195)
  • edit-article: uniq tags & collection (9d3d39d)
Refactors
  • schema:
    • rename APIs and methods for better understanding (70aeab8)
    • split putArticlesTags into two different mutations due to growing complexity (b29a217)
Code Style Changes
Tests
  • test:
    • add and update test unit for Tag (6e32f84)
    • fix test for new APIs (4053cdb)

v3.4.0

08 Jul 13:23
82b623b
Compare
Choose a tag to compare

3.4.0 (2020-07-08)

Chores
  • release: v3.4.0 (c20493e)
  • deps:
    • bump pg from 8.2.1 to 8.2.2 (5af2774)
    • bump @sentry/node from 5.19.0 to 5.19.1 (d13a9bc)
    • bump graphql-custom-types from 1.5.1 to 1.6.0 (5cd29e8)
    • bump @sentry/node from 5.18.1 to 5.19.0 (05b6de7)
  • deps-dev: bump @types/cheerio from 0.22.18 to 0.22.20 (a23243e)
Continuous Integration
  • deployment: skip waiting for eb deployment in dev env (de15fe4)
New Features
  • service:
    • revise tag service method name from isFollowing and isFollower (91ffe73)
    • add count and query followee's comments into user service (086a556)
  • db: add migration script for tag actions (7f0bb69)
  • schema:
    • rename Tag schema field from isFollowed to isFollower (0d77182)
    • add query for Tag followers (a421154)
    • add mutation for follow and unfollow tags (06a8100)
  • 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)
Bug Fixes
  • score:
    • fix article.score is undefined (89e45ef)
    • fix article.score is undefined (521a56c)