Skip to content

Releases: twreporter/go-api

v6.1.0

31 Aug 02:56
928f6e6
Compare
Choose a tag to compare

6.1.0, 2020-08-28

Notable Changes

  • api/news:
    • add /v2/posts, /v2/posts/SLUG endpoints
    • add /v2/topics, /v2/topics/SLUG endpoints
    • add /v2/index_page endpoint (combine the records of /v1/index_page and /v1/index_page_categories)

Commits

  • [7aaee3b] - api/news: improve filter performance(Ching-Yang, Tseng)
  • [189d4bb] - api/news: filter draft related documents(Ching-Yang, Tseng)
  • [fe693fe] - doc: Update CHANGELOG(Ching-Yang, Tseng)
  • [af42cae] - api/news: fix index page response format(Ching-Yang, Tseng)
  • [a4a3a1b] - api/news: fix post list query parameter parser(Ching-Yang, Tseng)
  • [6d01667] - api/news: parameterize the timeout value(Ching-Yang, Tseng)
  • [57df91e] - api/news: fix post/topic query count command(Ching-Yang, Tseng)
  • [15e78d2] - api/news: do not build sort stage for single query(Ching-Yang, Tseng)
  • [838a908] - api/news: simplify index page jobs pipeline(Ching-Yang, Tseng)
  • [9c32bde] - api/news: rewrite index jobs preparation(Ching-Yang, Tseng)
  • [cf0e390] - api/news: append full flag on FullPosts(Ching-Yang, Tseng)
  • [3852f86] - api/news: group Option functions(Ching-Yang, Tseng)
  • [5ede79c] - api/news: bail out error and handle cursor error(Ching-Yang, Tseng)
  • [1cea5b4] - api/news: fix test fail from default query changed(Ching-Yang, Tseng)
  • [e3f7467] - chore: update mongo image for testing to 3.6.18(Ching-Yang, Tseng)
  • [ce374ab] - api/news: remove draft implementation(Ching-Yang, Tseng)
  • [3cc2212] - api/news: only listing published post(Ching-Yang, Tseng)
  • [df6fd57] - api/news: fix index page sorting issue(Ching-Yang, Tseng)
  • [2d31c5a] - api/news: move index page endpoint into controller(Ching-Yang, Tseng)
  • [a6a4434] - api/news: move post section and category into internal/news(Ching-Yang, Tseng)
  • [10ae823] - api/news: add news query builder with default(Ching-Yang, Tseng)
  • [4676928] - api/news: move GetTopics endpoint to controller(Ching-Yang, Tseng)
  • [a30e27b] - api/news: refactor server side error handler(Ching-Yang, Tseng)
  • [e0a075c] - api/news: move GetATopic endpoint to controller(Ching-Yang, Tseng)
  • [004ff52] - api/news: moves GetPosts endpoint to controller(Ching-Yang, Tseng)
  • [5288844] - core: fix test fail from function signature change(Ching-Yang, Tseng)
  • [fa1c2a4] - core: upgrade golang to the 1.14.4(Ching-Yang, Tseng)
  • [f7255f2] - api/news: moves GetAPost endpoint into controller(Ching-Yang, Tseng)
  • [f7fb0b3] - api/news: adapt to current directory layout(Ching-Yang, Tseng)
  • [6e715db] - api/news: move model into internal/models(Ching-Yang, Tseng)
  • [63993c4] - api/news: refactor lookup stages(Ching-Yang, Tseng)
  • [83298ea] - api/news: convert mongoQuery to query documents(Ching-Yang, Tseng)
  • [1b9a1f5] - api/news: convert Query to mongoQuery object(Ching-Yang, Tseng)
  • [7396dcf] - api/news: refactor topic list query parser(Ching-Yang, Tseng)
  • [79fe61a] - api/news: refactor single topic query parser(Ching-Yang, Tseng)
  • [7714683] - api/news: define constant string variables(Ching-Yang, Tseng)
  • [8287863] - api/news: refactor post list query(Ching-Yang, Tseng)
  • [1851f35] - api/news: refactor query for single post retrieval(Ching-Yang, Tseng)
  • [8d37028] - api/news: implement posts query filter(Ching-Yang, Tseng)
  • [9163756] - api/news: remove filter during index page fetch(Ching-Yang, Tseng)
  • [14d04df] - api/news: implement posts/topics list(Ching-Yang, Tseng)
  • [dc4a5b6] - api/news: implement index page fetch(Ching-Yang, Tseng)
  • [d5bd96d] - api/news: implement GetTopics in storage layer(Ching-Yang, Tseng)
  • [40421bb] - api/news: implement GetPosts in storage layer(Ching-Yang, Tseng)
  • [dbd641b] - api/news: add storage layer function signature(Ching-Yang, Tseng)
  • [19fa0d8] - api/news: adjust storage interface w.r.t query(Ching-Yang, Tseng)
  • [b91b5c6] - api/news: prototype the post/topic query model(Ching-Yang, Tseng)
  • [c864622] - api/news: prototype v2 controller(Ching-Yang, Tseng)
  • [3f6b2f1] - core: add mongo db connection with new driver(Ching-Yang, Tseng)
  • [fea7d18] - api/news: add new model for posts(babygoat)
  • [c14a339] - doc: fix full field type in Topic(Ching-Yang, Tseng)
  • [6533e85] - doc: fix full field type in Post group(Ching-Yang, Tseng)
  • [f19d8a5] - api/news: replace field writters with writers(Ching-Yang, Tseng)
  • [2637e1b] - doc: return meta instead of empty content during post/topic list(Ching-Yang, Tseng)
  • [aeb4a20] - doc: add missing required fields(Ching-Yang, Tseng)
  • [8d2ba67] - doc: singularize topics field(Ching-Yang, Tseng)
  • [7f177d2] - doc: fix nested array field schema type missing(Ching-Yang, Tseng)
  • [e9f7f76] - doc: give relateds sample value instead of default(Ching-Yang, Tseng)
  • [7c74107] - doc: add client side error for inva...
Read more

v6.0.4

11 Jun 02:44
ae1ec86
Compare
Choose a tag to compare

6.0.4 (Current), 2020-06-10

Notable Changes

  • api/donation

    • Append utm tag to donation link
    • Add receipt_header column
  • api/mail

    • Update footer of the email template
    • generate client id for tracking
    • update success donation email template
  • api/news

    • expand throughput by new connections
  • core

    • change mongo query mode

Commits

  • [a25b664fe8] - Merge pull request #380 from taylrj/update-schema (Tai-Jiun Fang)
  • [95830c578d] - doc: update CHANGELOG.md (Taylor Fang)
  • [73dad89691] - chore: donations table schema change (Taylor Fang)
  • [6405beec18] - Merge pull request #378 from taylrj/add-receipt-title (Tai-Jiun Fang)
  • [90541811e7] - doc: fix json format (Taylor Fang)
  • [9098549594] - doc: update docs according to review comment (Taylor Fang)
  • [03da19a4ce] - doc: update docs to add receipt\_header field (Taylor Fang)
  • [815b123a33] - Merge pull request #377 from nickhsine/donation-email-temp (nick)
  • [83b7f799c8] - doc: update CHANGELOG.md (nickhsine)
  • [1be3f110dd] - api/mail: update success donation email template (nickhsine)
  • [88d0999641] - Merge pull request #375 from babygoat/bump-6.0.4 (babygoat)
  • [95c0fba4d2] - doc: Update Changelog (Ching-Yang, Tseng)
  • [e08fa70398] - Merge pull request #374 from babygoat/mongo-read-skew (babygoat)
  • [219646de12] - api/news: expand throught by new connections (Ching-Yang, Tseng)
  • [47685da57c] - core: change mongo query mode (Ching-Yang, Tseng)
  • [879e07821a] - Merge pull request #373 from babygoat/success-donation-email-template-update (babygoat)
  • [68a2811f95] - api/mail: update footer of the email template (Ching-Yang, Tseng)
  • [ebd52aedb9] - api/mail: generate client id for tracking (Ching-Yang, Tseng)
  • [845d3d696a] - api/donation: append utm tag to donation link (Ching-Yang, Tseng)

Release v6.0.3

11 Mar 07:57
515ab31
Compare
Choose a tag to compare

Notable Changes

  • api/user
    • Prevent user from retrieving the bookmarks of others

Commits

  • [a01296b] - Prevent a user from retrieving bookmark of others(babygoat)
  • [67fd87f] - Refactor tests of bookmark(babygoat

Release v6.0.2

11 Mar 07:55
1d87277
Compare
Choose a tag to compare

Notable Changes

  • api/donation:
    • Fix incorrect linepay notification format

Commits

  • [8c5d196] - Fix incorrect linepay notification format(babygoat)

Release v6.0.1

05 Mar 05:55
b578a4f
Compare
Choose a tag to compare

Notable Changes

  • api/donation:
    • Prior to use proxy for tappay request if configured

Commits

  • [33573be] - Dynamically configure donation proxy(babygoat)

Release v6.0.0

21 Feb 08:37
1826f7f
Compare
Choose a tag to compare

Notable Changes

  • core:
    • Rewrite error handle with pkg/errors
    • Integrate log formatter on staging/production for stackdriver

Commits

  • [493272f] - Update logformatter for the gin format fix(babygoat)
  • [4def9e9] - Setup logger(babygoat)
  • [53e87d7] - Fix gin 1.4.0 import and logrus module typo(babygoat)
  • [fb2e6de] - Add the recovery middleware in production(babygoat)
  • [7764efd] - Remove vague bookmark update(babygoat)
  • [8292b52] - Adjust log severity(babygoat)
  • [812a76d] - Remove unnecessary error log(babygoat)
  • [8472775] - Remove AppError(babygoat)
  • [b206e53] - Rewrite errors in utils/service/configs(babygoat)
  • [56a8890] - Rewrite controller layer error(babygoat)
  • [dc1d814] - Add utility for transfer error to http response(babygoat)
  • [8e15949] - Add storage errors utilities(babygoat)
  • [2c9aaf3] - Wrap storage error with pkg/errors(Ching-Yang, Tseng)
  • [66b08d0] - Remove deprecated routes(Ching-Yang, Tseng)

v5.1.3 (2020-02-06)

13 Feb 08:17
fc40f8b
Compare
Choose a tag to compare

Notable Changes

  • /v1/(posts|topics):
    • return empty records if there is no query result
    • handle edge case: ?where={categories:{"in": null}} query string

Commits

  • [f9ae74a] - fix: handle url query parsing failure
  • [626b694] - fix: make (posts|topics) records be empty array rather than null
  • [66aeaee] - fix: handle NilObjectId query

v5.1.2 (2020-02-04)

13 Feb 07:53
10330e2
Compare
Choose a tag to compare

Notable Changes

  • donation:
    • Config frontend host of linepay in runtime

Commits

  • [23df36d] - Config frontend host of linepay in runtime(babygoat)
  • [3a7948e] - bug: show latest review and photo articles

v5.1.1

27 Nov 03:00
231f615
Compare
Choose a tag to compare

5.1.1(Current), 2019-11-26

Notable Changes

  • donation:
    • add line_pay_product_image_url linepay icon
  • db_schema:
    • increase size of bank_result_msg column
  • build:
    • Include the kubernetes config during deployment
    • update circleci config for new cluster
  • oauth:
    • remove v1 oauth endpoints
    • upgrade Facebook Graph API: v2.8 -> v3.2

Commits

  • [b9796f8] - Update config for release environment(babygoat)
  • [986c9f8] - Fix incorrect environment setup(babygoat)
  • [e13e89a] - Do not overwrite the default image name(babygoat)
  • [4087761] - Increase bank_result_msg column(Ching-Yang, Tseng)
  • [c17bc98] - Fix incorrect kustomize PATH(babygoat)
  • [483ece5] - Fix incorrect context injection(babygoat)
  • [cfcbd5e] - Fix missing package version file(babygoat)
  • [105e34c] - Include kubernetes config during deployment(babygoat)
  • [d873dd3] - Only send linepay logo url during linepay trx(babygoat)
  • [fc3cbbc] - Update linepay merchant logo(babygoat)
  • [a74f8ef] - Provide valid icon image link(babygoat)
    g for next branch(babygoat)
  • [35000c3] - Add linepay icon during transaction(babygoat)
  • [cddb19d] - remove /v1/auth/faceboook and /v1/auth/google oauth endpoints(nickhsine)
  • [06e4cbf] - update controllers/oauth.go: upgrade facebook graph API from v2.8 to v3.2(nickhsine)
  • [5a88338] - update circleci config due to k8s cluster change(nickhsine)

v5.1.0

15 Oct 09:39
6b203c0
Compare
Choose a tag to compare

5.1.0, 2019-10-15

Notable Changes

  • feature:
    • add /v1/tappay_query endpoint for querying TapPay Record API
  • bug:
    • fix /v1/index_page endpoint returning old photography posts
  • db-schema:
    • add refunded value into status field of donation related tables

Commits

  • [d0712d4] - bug fix: /v1/index_page endpoint returns old photography post(nickhsine)
  • [fd26655] - Add refunded payment status(babygoat)
  • [09dbbe3] - Clean up test users after each test(babygoat)
  • [9c3934e] - Implement transaction query on tappay server (babygoat)
  • [82d00c4] - Add tests for query transaction record endpoint(babygoat)
  • [cf06678] - Filter out the secret transaction info(babygoat)
  • [936bbf8] - Add the endpoint document for tappay query(babygoat)