Releases: sjdonado/bit
Releases · sjdonado/bit
1.4.0
1.3.0
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
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
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
This initial release offers a range of features, including:
-
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.
-
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.
-
Self-hosting Options:
- Support for running via Docker Compose, Docker CLI, and Dokku.
- Comprehensive setup instructions for each self-hosting method.
-
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.