Skip to content

Commit

Permalink
prepare for 0.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bdamokos committed Dec 24, 2024
1 parent e4296f0 commit 1501ea5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.3.0] - 2024-12-24

### Added
- Comprehensive documentation site at https://bdamokos.github.io/mobility-db-api/
- Thread-safe and process-safe metadata handling:
- File locking for concurrent metadata access
- Shared locks for reading (multiple readers allowed)
Expand All @@ -27,6 +28,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Each instance can have its own data directory
- Separate logger instances for better debugging
- Safe concurrent access to shared data directories
- Fixed metadata change detection in multi-process scenarios

### Developer Changes
- Added automated test issue management
- Added comprehensive test suite for concurrent operations
- Improved GitHub Actions security with explicit permissions
- Added documentation testing and validation workflows

## [0.2.0] - 2024-12-23

Expand Down
4 changes: 4 additions & 0 deletions src/mobility_db_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ def _save_metadata(self, base_dir: Optional[Path] = None):
# Update last modification time after successful save
if base_dir is None:
self._last_metadata_mtime = self._get_metadata_mtime()
else:
# If saving to a different directory, update mtime if it's our main metadata file
if metadata_file == self.metadata_file:
self._last_metadata_mtime = self._get_metadata_mtime()
except IOError as e:
self.logger.error(f"Error saving metadata: {str(e)}")

Expand Down

0 comments on commit 1501ea5

Please sign in to comment.