diff --git a/README.md b/README.md index dbf467095..5509d4c73 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Nostr-java is a library for generating, signing, and publishing nostr events to ```xml - v0.007.1-alpha + v0.007.2-alpha UTF-8 ``` diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 1e57d4389..7314b590a 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -11,7 +11,7 @@ plugins { } group = 'xyz.tcheeric' -version = '0.7.1-SNAPSHOT' +version = '0.7.2-SNAPSHOT' repositories { mavenCentral() diff --git a/gradle.properties b/gradle.properties index 3e7a6562d..c08b7be3e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ org.gradle.parallel=true org.gradle.warning.mode=none nostr-java.group=xyz.tcheeric -nostr-java.version=0.7.1-SNAPSHOT +nostr-java.version=0.7.2-SNAPSHOT nostr-java.description=nostr-java nostr-java.java-version=21 diff --git a/nostr-java-api/pom.xml b/nostr-java-api/pom.xml index ceadd3054..d601c6aaa 100644 --- a/nostr-java-api/pom.xml +++ b/nostr-java-api/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiEventIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiEventIT.java index 894dcf89f..0052983e0 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiEventIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiEventIT.java @@ -42,6 +42,7 @@ import nostr.event.tag.VoteTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; @@ -67,6 +68,7 @@ @SpringJUnitConfig(RelayConfig.class) @ActiveProfiles("test") @Log +@Disabled("Requires running relay at ws://localhost:5555") public class ApiEventIT { @Autowired private Map relays; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiEventTestUsingSpringWebSocketClientIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiEventTestUsingSpringWebSocketClientIT.java index dd3c34162..cb1330791 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiEventTestUsingSpringWebSocketClientIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiEventTestUsingSpringWebSocketClientIT.java @@ -9,6 +9,7 @@ import nostr.event.message.EventMessage; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; @@ -24,6 +25,7 @@ @SpringJUnitConfig(RelayConfig.class) @ActiveProfiles("test") +@Disabled("Requires running relays at ws://localhost:5555") class ApiEventTestUsingSpringWebSocketClientIT { private final List springWebSocketClients; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52EventIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52EventIT.java index f007f0e41..b36b67056 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52EventIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52EventIT.java @@ -13,6 +13,7 @@ import nostr.event.tag.PubKeyTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.test.context.ActiveProfiles; import java.io.IOException; @@ -23,6 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @ActiveProfiles("test") +@Disabled("Requires running relay at ws://localhost:5555") class ApiNIP52EventIT { private static final String RELAY_URI = "ws://localhost:5555"; private final SpringWebSocketClient springWebSocketClient; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52RequestIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52RequestIT.java index 371b27b67..9987e131e 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52RequestIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP52RequestIT.java @@ -16,6 +16,7 @@ import nostr.event.tag.ReferenceTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.test.context.ActiveProfiles; import java.io.IOException; @@ -29,6 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @ActiveProfiles("test") +@Disabled("Requires running relay at ws://localhost:5555") class ApiNIP52RequestIT { private static final String PRV_KEY_VALUE = "23c011c4c02de9aa98d48c3646c70bb0e7ae30bdae1dfed4d251cbceadaeeb7b"; private static final String RELAY_URI = "ws://localhost:5555"; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99EventIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99EventIT.java index be11369cb..e012e77ba 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99EventIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99EventIT.java @@ -17,6 +17,7 @@ import nostr.event.tag.SubjectTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.test.context.ActiveProfiles; import java.io.IOException; @@ -29,6 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @ActiveProfiles("test") +@Disabled("Requires running relay at ws://localhost:5555") class ApiNIP99EventIT { private static final String RELAY_URI = "ws://localhost:5555"; public static final String CLASSIFIED_LISTING_CONTENT = "classified listing content"; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99RequestIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99RequestIT.java index 56c9f731b..ad6ea6ca2 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99RequestIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ApiNIP99RequestIT.java @@ -17,6 +17,7 @@ import nostr.event.tag.SubjectTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.test.context.ActiveProfiles; import java.io.IOException; @@ -30,6 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @ActiveProfiles("test") +@Disabled("Requires running relay at ws://localhost:5555") class ApiNIP99RequestIT { private static final String PRV_KEY_VALUE = "23c011c4c02de9aa98d48c3646c70bb0e7ae30bdae1dfed4d251cbceadaeeb7b"; private static final String RELAY_URI = "ws://localhost:5555"; diff --git a/nostr-java-api/src/test/java/nostr/api/integration/ZDoLastApiNIP09EventIT.java b/nostr-java-api/src/test/java/nostr/api/integration/ZDoLastApiNIP09EventIT.java index ca10f3159..a55d07e3d 100644 --- a/nostr-java-api/src/test/java/nostr/api/integration/ZDoLastApiNIP09EventIT.java +++ b/nostr-java-api/src/test/java/nostr/api/integration/ZDoLastApiNIP09EventIT.java @@ -18,6 +18,7 @@ import nostr.event.tag.IdentifierTag; import nostr.id.Identity; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; @@ -36,11 +37,13 @@ @SpringJUnitConfig(RelayConfig.class) @ActiveProfiles("test") +@Disabled("Requires running relay at ws://localhost:5555") public class ZDoLastApiNIP09EventIT { @Autowired private Map relays; @Test + @Disabled("Requires running relay at ws://127.0.0.1:5555") public void deleteEvent() throws IOException { Identity identity = Identity.generateRandomIdentity(); @@ -72,6 +75,7 @@ public void deleteEvent() throws IOException { @Test + @Disabled("Requires running relay at ws://127.0.0.1:5555") public void deleteEventWithRef() throws IOException { final String RELAY_URI = "ws://localhost:5555"; Identity identity = Identity.generateRandomIdentity(); diff --git a/nostr-java-base/pom.xml b/nostr-java-base/pom.xml index b6de90d8c..63e798823 100644 --- a/nostr-java-base/pom.xml +++ b/nostr-java-base/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-client/pom.xml b/nostr-java-client/pom.xml index 41cd163ad..4fd34ea48 100644 --- a/nostr-java-client/pom.xml +++ b/nostr-java-client/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-crypto/pom.xml b/nostr-java-crypto/pom.xml index f69e04401..a5ddc5cbe 100644 --- a/nostr-java-crypto/pom.xml +++ b/nostr-java-crypto/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-encryption/pom.xml b/nostr-java-encryption/pom.xml index 665448218..9d9c19a17 100644 --- a/nostr-java-encryption/pom.xml +++ b/nostr-java-encryption/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-event/pom.xml b/nostr-java-event/pom.xml index 23e045cc5..3dd66ade7 100644 --- a/nostr-java-event/pom.xml +++ b/nostr-java-event/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-examples/pom.xml b/nostr-java-examples/pom.xml index 42fe1ac39..fac5aa4c3 100644 --- a/nostr-java-examples/pom.xml +++ b/nostr-java-examples/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-id/pom.xml b/nostr-java-id/pom.xml index aa42bdcd3..854689a16 100644 --- a/nostr-java-id/pom.xml +++ b/nostr-java-id/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/nostr-java-id/src/test/java/nostr/id/EventTest.java b/nostr-java-id/src/test/java/nostr/id/EventTest.java index e6f93f112..c5a975499 100644 --- a/nostr-java-id/src/test/java/nostr/id/EventTest.java +++ b/nostr-java-id/src/test/java/nostr/id/EventTest.java @@ -13,6 +13,7 @@ import nostr.util.NostrUtil; import nostr.util.validator.Nip05Validator; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import static nostr.base.Encoder.ENCODER_MAPPED_AFTERBURNER; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; @@ -72,6 +73,7 @@ public void testCreateUnsupportedGenericTagAttribute() { } @Test + @Disabled("Requires network access for nip05 validation") public void testNip05Validator() { System.out.println("testNip05Validator"); try { diff --git a/nostr-java-util/pom.xml b/nostr-java-util/pom.xml index c36475112..bfc22ebc6 100644 --- a/nostr-java-util/pom.xml +++ b/nostr-java-util/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index dab013df1..acdf70776 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ xyz.tcheeric nostr-java - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT pom @@ -77,7 +77,7 @@ - 0.7.1-SNAPSHOT + 0.7.2-SNAPSHOT 21 3.4.3