-
Notifications
You must be signed in to change notification settings - Fork 27
Release v1.2.1 #502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Release v1.2.1 #502
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0fae444
chore(deps): bump actions/upload-artifact from 4 to 6
dependabot[bot] a6035e3
chore(deps): bump JetBrains/qodana-action from 2025.2 to 2025.3
dependabot[bot] 52fc2d9
docs: remove AGENTS.md and CLAUDE.md files
fb32af9
fix(nip44): use HKDF instead of PBKDF2 for key derivation
12f4cb1
chore(release): bump version to 1.2.0
5a3c903
fix(nip44): use proper HKDF-Extract for conversation key
f122745
chore(deps): bump org.sonatype.central:central-publishing-maven-plugin
dependabot[bot] de36c4d
docs: enhance coding guidelines with detailed principles and best pra…
64c186e
fix(Kind): improve error handling for unknown kind values
e3cb5a0
fix(ws): refactor response handling to use CompletableFuture for even…
2a53b78
chore(release): bump version to 1.2.1
4167c64
chore(docs): update PR template with standardized sections and guidel…
9a3ace0
fix(Kind): add safer Optional-based lookup and strict validation methods
737bee1
test(Kind): expand unit tests for improved validation coverage
88049cb
test(ws): enhance NIP-60 filter JSON serialization tests for improved…
adbee1d
fix(ws): introduce PendingRequest for thread-safe request handling
1e685e9
fix(ws): improve WebSocket client response handling and thread-safety
4722425
Merge pull request #501 from tcheeric/fix/ws-response-detection
tcheeric d418d3a
Merge pull request #497 from tcheeric/dependabot/github_actions/devel…
tcheeric 40ca5c9
Merge pull request #496 from tcheeric/dependabot/github_actions/devel…
tcheeric 80dae8b
Merge pull request #500 from tcheeric/dependabot/maven/develop/org.so…
tcheeric 4963e6e
fix(ws): reject concurrent send() calls, enhance deserialization with…
a91fee9
fix(Kind): use valueOfStrict for improved error handling in KindFilter
a2d9242
fix(ws): prevent concurrent send() calls in StandardWebSocketClient
abb5ec9
fix(ws): prevent concurrent send() calls in StandardWebSocketClient
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,45 @@ | ||
| ## Summary | ||
| <!-- Explain the problem, context, and why this change is needed. Link to the issue. --> | ||
|
|
||
| Related issue: #____ | ||
| <!-- Briefly explain the problem and why this change is needed. --> | ||
|
|
||
| Closes #____ | ||
|
|
||
| ## Type of change | ||
|
|
||
| <!-- Check all that apply --> | ||
|
|
||
| - [ ] `fix` - Bug fix (non-breaking) | ||
| - [ ] `feat` - New feature (non-breaking) | ||
| - [ ] `refactor` - Code change that neither fixes a bug nor adds a feature | ||
| - [ ] `docs` - Documentation only | ||
| - [ ] `test` - Adding or updating tests | ||
| - [ ] `perf` - Performance improvement | ||
| - [ ] `chore` - Build, CI, or tooling changes | ||
|
|
||
| ## What changed? | ||
| <!-- Brief summary; suggest where to start reviewing if many files. --> | ||
|
|
||
| ## BREAKING | ||
| <!-- If applicable, call it out explicitly. --> | ||
| <!-- ⚠️ BREAKING: Describe migration or impact. --> | ||
| <!-- Brief summary of changes. For large PRs, suggest where to start reviewing. --> | ||
|
|
||
| ## Breaking changes | ||
|
|
||
| <!-- Delete this section if not applicable --> | ||
| <!-- ⚠️ BREAKING: Describe migration steps or impact on existing code. --> | ||
|
|
||
| ## Testing | ||
|
|
||
| <!-- How was this tested? Include commands, test classes, or manual verification steps. --> | ||
|
|
||
| - [ ] Unit tests pass: `mvn test` | ||
| - [ ] Integration tests pass: `mvn verify` (requires Docker) | ||
|
|
||
| ## Review focus | ||
| <!-- Ask for specific feedback, e.g., "Concurrency strategy OK?" or "API shape acceptable?" --> | ||
|
|
||
| <!-- Optional: Ask for specific feedback, e.g., "Is the error handling approach OK?" --> | ||
|
|
||
| ## Checklist | ||
| - [ ] Scope ≤ 300 lines (or split/stack) | ||
| - [ ] Title is **verb + object** (e.g., “Refactor auth middleware to async”) | ||
| - [ ] Description links the issue and answers “why now?” | ||
| - [ ] **BREAKING** flagged if needed | ||
| - [ ] Tests/docs updated (if relevant) | ||
|
|
||
| - [ ] PR title follows conventional commits: `type(scope): description` | ||
| - [ ] Changes are focused and under 300 lines (or stacked PRs) | ||
| - [ ] Tests added/updated for new functionality | ||
| - [ ] No new compiler warnings introduced | ||
| - [ ] CHANGELOG.md updated (for user-facing changes) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| ## | ||
| ## strfry config for integration testing (no whitelist) | ||
| ## | ||
|
|
||
| db = "./strfry-db/" | ||
|
|
||
| dbParams { | ||
| maxreaders = 256 | ||
| mapsize = 10995116277760 | ||
| noReadAhead = false | ||
| } | ||
|
|
||
| events { | ||
| maxEventSize = 65536 | ||
| rejectEventsNewerThanSeconds = 900 | ||
| rejectEventsOlderThanSeconds = 94608000 | ||
| rejectEphemeralEventsOlderThanSeconds = 60 | ||
| ephemeralEventsLifetimeSeconds = 300 | ||
| maxNumTags = 2000 | ||
| maxTagValSize = 1024 | ||
| } | ||
|
|
||
| relay { | ||
| bind = "0.0.0.0" | ||
| port = 7777 | ||
| nofiles = 1000000 | ||
| realIpHeader = "" | ||
|
|
||
| info { | ||
| name = "nostr-java test relay" | ||
| description = "strfry relay for nostr-java integration tests" | ||
| pubkey = "" | ||
| contact = "" | ||
| icon = "" | ||
| nips = "" | ||
| } | ||
|
|
||
| maxWebsocketPayloadSize = 131072 | ||
| maxReqFilterSize = 200 | ||
| autoPingSeconds = 55 | ||
| enableTcpKeepalive = false | ||
| queryTimesliceBudgetMicroseconds = 10000 | ||
| maxFilterLimit = 500 | ||
| maxSubsPerConnection = 20 | ||
|
|
||
| writePolicy { | ||
| # No write policy plugin - accept all events | ||
| plugin = "" | ||
| } | ||
|
|
||
| compression { | ||
| enabled = true | ||
| slidingWindow = true | ||
| } | ||
|
|
||
| logging { | ||
| dumpInAll = false | ||
| dumpInEvents = false | ||
| dumpInReqs = false | ||
| dbScanPerf = false | ||
| invalidEvents = true | ||
| } | ||
|
|
||
| numThreads { | ||
| ingester = 3 | ||
| reqWorker = 3 | ||
| reqMonitor = 3 | ||
| negentropy = 2 | ||
| } | ||
|
|
||
| negentropy { | ||
| enabled = true | ||
| maxSyncEvents = 1000000 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.