Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .palantir/revapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ acceptedBreaks:
- code: "java.class.removed"
old: "enum com.palantir.conjure.java.server.jersey.ErrorCause"
justification: "ErrorCause is never used by consumers"
"8.24.0-rc1":
com.palantir.conjure.java.runtime:client-config:
- code: "java.method.addedToInterface"
new: "method T com.palantir.conjure.java.clients.ConjureClients.WithClientOptions<T>::withConjureErrorParameterFormat(com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat)"
justification: "Adding method to allow clients to request error parameter serialization\
\ format"
- code: "java.method.removed"
old: "method T com.palantir.conjure.java.clients.ConjureClients.WithClientOptions<T>::withConjureErrorParameterSerializationFormat(com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat)"
justification: "Adding method to allow clients to request error parameter serialization\
\ format"
Comment on lines +88 to +91
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems weird?

1 change: 1 addition & 0 deletions client-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apply plugin: 'org.revapi.revapi-gradle-plugin'

dependencies {
api 'com.palantir.conjure.java.api:service-config'
api 'com.palantir.conjure.java.api:errors'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed because ConjureErrorParameterFormat is defined in com.palantir.conjure.java.api:errors

api 'com.palantir.tritium:tritium-registry'
api 'com.google.errorprone:error_prone_annotations'
api 'com.palantir.refreshable:refreshable'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.palantir.conjure.java.api.config.service.ServiceConfiguration;
import com.palantir.conjure.java.api.config.service.ServicesConfigBlock;
import com.palantir.conjure.java.api.config.service.UserAgent;
import com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat;
import com.palantir.conjure.java.client.config.ClientConfiguration;
import com.palantir.conjure.java.client.config.HostEventsSink;
import com.palantir.conjure.java.client.config.NodeSelectionStrategy;
Expand Down Expand Up @@ -88,6 +89,8 @@ public interface WithClientOptions<T> {

/** Per-host success/failure information will be recorded to this sink. */
T withHostEventsSink(HostEventsSink hostEventsSink);

T withConjureErrorParameterFormat(ConjureErrorParameterFormat format);
}

public interface ToReloadingFactory<U> {
Expand Down