+15
-1
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.4.0] - 2026-05-02
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- `POST /manage/import` — import emotes from a legacy JSON endpoint, downloading
|
||||||
|
each image and mirroring it to S3 with original timestamps preserved.
|
||||||
|
- Duplicate detection: emotes whose name already exists are skipped (compatible
|
||||||
|
with both SQLite and PostgreSQL).
|
||||||
|
- Host allowlist for import source URLs, configurable via `[import]
|
||||||
|
allowed_hosts` in `config.toml` (default: `["smutba.se"]`).
|
||||||
|
- Dry-run mode (`"dry_run": true` in request body): previews the import without
|
||||||
|
writing to S3 or the database. Result statuses are `"would_import"` and
|
||||||
|
`"would_skip"` instead of `"imported"` and `"skipped"`.
|
||||||
|
|
||||||
## [0.3.0] - 2026-04-28
|
## [0.3.0] - 2026-04-28
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -71,7 +84,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Database migrations run automatically on startup.
|
- Database migrations run automatically on startup.
|
||||||
- GitHub Actions release workflow building a Linux binary on `v*` tag push.
|
- GitHub Actions release workflow building a Linux binary on `v*` tag push.
|
||||||
|
|
||||||
[Unreleased]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.3.0...HEAD
|
[Unreleased]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.4.0...HEAD
|
||||||
|
[0.4.0]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.3.0...v0.4.0
|
||||||
[0.3.0]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.4...v0.3.0
|
[0.3.0]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.4...v0.3.0
|
||||||
[0.2.4]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.3...v0.2.4
|
[0.2.4]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.3...v0.2.4
|
||||||
[0.2.3]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.2...v0.2.3
|
[0.2.3]: https://git.open3dlab.com/Open3DLab/mikebase/compare/v0.2.2...v0.2.3
|
||||||
|
|||||||
Reference in New Issue
Block a user