mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Update changelog
This commit is contained in:
parent
649e784457
commit
5742bfa229
2 changed files with 12 additions and 7 deletions
17
CHANGELOG.md
17
CHANGELOG.md
|
|
@ -4,17 +4,24 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
# [0.36.4] - Unreleased
|
||||
# [0.36.5] - Unreleased
|
||||
|
||||
## Changed
|
||||
|
||||
- Deleting an import will now be processed in the background to prevent request timeouts for large imports.
|
||||
|
||||
## Fixed
|
||||
|
||||
- Deleting an import will no longer result in negative points count for the user.
|
||||
|
||||
|
||||
# [0.36.4] - 2025-12-26
|
||||
|
||||
## Fixed
|
||||
|
||||
- Fixed a bug preventing the app to start if a composite index on stats table already exists. #2034
|
||||
- New compiled assets will override old ones on app start to prevent serving stale assets.
|
||||
- Deleting an import will no longer result in negative points count for the user.
|
||||
|
||||
## Changed
|
||||
|
||||
- Deleting an import will now be processed in the background to prevent request timeouts for large imports.
|
||||
|
||||
# [0.36.3] - 2025-12-14
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@ class Imports::Destroy
|
|||
points_count = @import.points_count
|
||||
|
||||
ActiveRecord::Base.transaction do
|
||||
# Use destroy_all instead of delete_all to trigger counter_cache callbacks
|
||||
# This ensures users.points_count is properly decremented
|
||||
@import.points.destroy_all
|
||||
@import.destroy!
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue