Skip to content

Releases: hanchiang/url-shortener-backend

Build and push image locally until github ci supports arm64

09 Aug 13:17
61d6579
Compare
Choose a tag to compare

Build and push image locally until github ci supports arm64

What's Changed

  • Build and push image locally, until github ci supports arm64.... by @hanchiang in #28

Full Changelog: 1.3.0...1.4.0

Build docker file for linux arm64

09 Aug 13:17
33f944c
Compare
Choose a tag to compare

Build docker file for linux arm64

What's Changed

Full Changelog: 1.2.0...1.3.0

Delete old packages

09 Aug 13:14
Compare
Choose a tag to compare

Delete old packages

Full Changelog: 1.1.0...1.2.0

Cache docker image in github workflow

01 Nov 05:25
0073f89
Compare
Choose a tag to compare

Features

  • Cache docker image in github workflow
  • Allow github workflow to be triggered manually

Others

  • Remove ttl when setting string in redis
  • Add github action status, upgrade joi to 17.6.0

Full Changelog: 1.0.0...1.1.0

Store URL shorten and redirect events

24 Jul 13:15
6281af3
Compare
Choose a tag to compare

Add event manager, event handler and event emitter to handle URL shorten and redirect events.
Add model for url_redirect_stats and url_shorten_stats table. Use uuid as id

What's Changed

  • Create url_shorten_stats table. Rename short_url to hash to make things clearer by @hanchiang in #24
  • Feature/url redirect event by @hanchiang in #25

Full Changelog: 0.15.0...1.0.0

Run db migrations when app starst

23 Jul 15:31
16fe7e8
Compare
Choose a tag to compare

Run migrations when app starts
Rename column id to short_url in url table.
Add migration file to create ate url_redirect_stats table.
Rename BASE_DOMAIN to URL_REDIRECT_DOMAIN

What's Changed

Full Changelog: 0.14.0...0.15.0

Do not create short URL if it exist in db

23 Jul 15:30
b74ec4a
Compare
Choose a tag to compare

Do not create short URL if it exist in db.
Use constructor parameter injection for url shortener service

What's Changed

  • Get original url from database and do not create new short URL if it exist by @hanchiang in #21

Full Changelog: 0.13.0...0.14.0

Sanitise inputs against XSS

23 Jul 15:29
b70f6ef
Compare
Choose a tag to compare
  • Sanitise inputs against xss for redirect URL and shorten URL API.
  • Log errors
  • Remove volumes in main docker compose

What's Changed

Full Changelog: 0.12.0...0.13.0

Add health check endpoint for postgres, redis

10 Jul 12:53
6f4ae02
Compare
Choose a tag to compare

Add health check endpoint for postgres, redis

What's Changed

Full Changelog: 0.11.0...0.12.0

Add logging in app, CI enhancements & fixes

12 Jun 02:34
bd5f506
Compare
Choose a tag to compare

Features

  • Add logging in application
  • Add prettier ignore
  • Use a separate docker volume for postgres and redis in dev and test
  • Use base image for test image
  • Create a build image from dev image, which is used to create the release image

Fixes

  • Do not run nyc in test due to mkdir permission error

What's Changed

Full Changelog: 0.10.0...0.11.0