Skip to content

Releases: sjdonado/bit

1.4.0

27 Nov 22:35
Compare
Choose a tag to compare

Features

  • Setup admin user via ENV variables ADMIN_NAME and ADMIN_API_KEY

Full Changelog: 1.3.0...1.4.0

1.3.0

27 Oct 12:05
3fa30b3
Compare
Choose a tag to compare

Fixes

  • Replace slug generation with CRC32 + base62
  • Check existing link on update
  • Improve link.url regex validate_format

Chore

  • Update benchmark with bombardier
  • Github workflow extract version step

Full Changelog: 1.2.0...1.3.0

1.2.0

14 Jul 20:32
Compare
Choose a tag to compare

Features

  • Automatically run migrations on startup

Fixes

  • Remove development dependencies in the production Docker image
  • Set logger level to error in the production environment
  • Return errors in JSON format
  • Increase slug VARCHAR size to 8
  • Improve slug collision generation (up to 62^11)
  • Improve email regex to cover path and query parameter cases

Full Changelog: 1.1.0...1.2.0

1.1.0

12 Jul 19:58
36a06ac
Compare
Choose a tag to compare

Features

  • Added new endpoint: GET /api/links/:id
  • Enhanced redirect by slug endpoint to store more information
  • Improved GitHub workflow for publishing
  • Increased benchmark accuracy

Full Changelog: 1.0.0...1.1.0

v1.0.0

10 Jul 20:05
Compare
Choose a tag to compare

This initial release offers a range of features, including:

  1. REST API Endpoints:

    • /api/ping: Check if the API is running.
    • /:slug: Retrieve a link by its slug.
    • /api/links: Retrieve all links.
    • /api/links (POST): Create a new link.
    • /api/links/:id (PUT): Update an existing link by its ID.
    • /api/links/:id (DELETE): Delete a link by its ID.
  2. CLI Commands:

    • --create-user=NAME: Create a new user with the given name.
    • --list-users: List all users.
    • --delete-user=USER_ID: Delete a user by ID.
  3. Self-hosting Options:

    • Support for running via Docker Compose, Docker CLI, and Dokku.
    • Comprehensive setup instructions for each self-hosting method.
  4. Performance Improvements:

    • Optimized for lightning-fast performance with average response times of 5.28 µs and minimal memory usage.
    • Concurrent access handling for high load scenarios.