- pkg/version/version
- Updated version from `v0.8.4` to `v0.8.5`.
- .github/workflows/go.yml
- Updated `CGO_ENABLED` flag from `1` to `0` for Linux ARM64 builds.
- pkg/version/version
- Updated version from v0.8.2 to v0.8.3.
- .github/workflows/go.yml
- Removed `--ldflags '-extldflags "-static"'` from Linux builds for amd64 and arm64 architectures.
- pkg/database/database.go
- Added `RunMigrations` to handle new index versions.
- Integrated `DeleteExpired` for scheduled cleanup of expired events within a goroutine.
- pkg/database/delete-event.go
- Refactored the existing deletion logic into `DeleteEventBySerial`.
- pkg/database/delete-expired.go
- Added new implementation to handle deletion of expired events using expiration indexes.
- pkg/database/migrations.go
- Implemented `RunMigrations` to handle database versioning and reindexing when new keys are introduced.
- pkg/database/indexes/keys.go
- Added `ExpirationPrefix` and `VersionPrefix` for new expiration and version indexes.
- Implemented encoding structs for expiration and version handling.
- pkg/encoders/event/writer.go
- Added JSON marshaling logic to serialize events with or without whitespace.
- pkg/encoders/event/reader.go
- Refined unmarshaling logic for handling event keys and values robustly.
- pkg/protocol/socketapi/handleEvent.go
- Formatted log statements and updated logging verbosity for event handling.
- pkg/app/relay/handleRelayinfo.go
- Re-enabled relay handling for expiration timestamps.
- pkg/database/indexes/types.go (new file)
- Introduced structures for `Uint40s` and other types used in indexes.
- .github/workflows/go.yml
- Updated `CGO_ENABLED` to 1 for Linux builds (amd64 and arm64).
- pkg/version/version
- Updated version from v0.5.9 to v0.6.0.
- .github/workflows/go.yml
- Updated repository `permissions` from `contents: read` to `contents: write`.
- Fixed misaligned spaces in `go build` commands for release binaries.
- Corrected `go build` syntax for cmd executables.
- pkg/version/version
- Updated version from v0.5.7 to v0.5.8.
- .github/workflows/go.yml
- Added a new `release` job with steps to set up Go, install `libsecp256k1`, and build release binaries.
- pkg/version/version
- Updated version from v0.5.6 to v0.5.7.
- pkg/protocol/ws/pool_test.go
- Commented out the `TestPoolContextCancellation` test function.
- .github/workflows/go.yml
- Added detailed steps for the release process, including tagging and pushing.
- Included logic to build release binaries for multiple platforms.
- Configured process for checksum generation and GitHub release creation.
- pkg/version/version
- Updated version from v0.5.5 to v0.5.6.
- .github/workflows/go.yml
- Added a step to install `libsecp256k1` using `ubuntu_install_libsecp256k1.sh`.
- Updated steps to build and test with cgo enabled.
- Added a step to explicitly set `CGO_ENABLED=0` in the environment.
- .github/workflows/test-and-release.yml
- Deleted the test-and-release GitHub Actions workflow entirely.
- .github/workflows/go.yml
- Added a new step to set `CGO_ENABLED=0` environment variable.
- .github/workflows/go.yml
- Updated `go-version` from 1.20 to 1.24.
- .github/workflows/test-and-release.yml
- Updated `go-version` from 1.22 to 1.24 in two workflow steps.
- pkg/version/version
- Updated version from v0.5.3 to v0.5.4
- .github/workflows/test-and-release.yml
- Added a new workflow for testing and releasing:
- Runs tests on `push` for version tags and `pull_request` on `main`
- Builds binaries for Linux, macOS, and Windows
- Creates GitHub releases upon valid version tags
- Uploads release assets