Skip to content

Releases: touchbit/retrofit-veslo

1.2.0

16 Mar 18:53
b31dd8d
Compare
Choose a tag to compare
  • New FormUrlQueryData simplified mechanism for working with QueryMap. Reading values from variables through
    reflection. Managing rules for handling null values, support for nested POJO objects.
  • New FormUrlEncodedConverter support for request/response body in "x-www-form-urlencoded" format. Support for nested POJO objects.
  • New ReflectHeaders simplified mechanism for working with request @HeadersMap. Reading headers from variables through
    reflection with naming control.
  • Change FormUrlEncodedMapper moved to a separate library (org.touchbit.web:form-urlencoded-marshaller).

1.1.0

24 Feb 12:13
77ac87a
Compare
Choose a tag to compare
  • New FormUrlEncodedMapper to serialize/deserialize data in 'form-urlencoded' format (RFC-3986)
  • New Register converter for wildcard package name
  • New Register converter for annotated models (ExtensionConverterFactory)
  • New Reading and modifying template text files through a helper class (TemplateMapper)
  • Change ExtensionConverterFactory - fluent API for converter registration methods
  • Change ResourceFile - added charset support
  • Update up allure-java-commons version from 2.17.2 to 2.17.3
  • Update up gson version from 2.8.9 to 2.9.0

1.0.1

15 Feb 17:43
472a689
Compare
Choose a tag to compare
  • New utility classes for building test clients: TestClient, JacksonTestClient, GsonTestClient, Veslo4Test
  • Change packaging for all module changed from pom to jar
  • Update up slf4j-api version from 1.7.32 to 1.7.35

1.0.0

20 Jan 20:57
66735f8
Compare
Choose a tag to compare
  • New: JavaTypeCallAdapterFactory to convert the response body to primitive or reference java types
  • New: UniversalCallAdapterFactory to convert the response body to IDualResponse<SUC, ERR> java type
  • New: ExtensionConverterFactory universal factory with the ability to use convectors according to the rules:
    • by annotations: ExtensionConverter, RequestConverter, ResponseConverter;
    • by raw body types (File,RawBody,ResourceFile, Byte[]);
    • by package name (exact match); by Content-Type header (MIME);
    • by primitive/reference java types (Byte, Character, Double, Float, Integer, Long, Short, String);
  • New: Converters for primitive/reference types: Byte, Character, Double, Float, Integer, Long, Short
    , String
  • New: Converters for raw body types: File,RawBody,ResourceFile, Byte[]
  • New: CompositeInterceptor support for internal actions with control of the order of processing of outgoing and
    incoming events.
  • New: RawBody byte response body with embedded checks.
  • New: ResourceFile reading request body from project resources.
  • New: ReflectQueryMap simplified mechanism for working with QueryMap. Reading values from variables through
    reflection. Parameter naming format control. Managing rules for handling null values.
  • New: DualResponse basic implementation of IDualResponse with inline request headers and body assertions.
  • New: TrustSocketHelper trust any certificates and domains (for test environments)
    OkHttpClient.Builder().sslSocketFactory(TRUST_ALL_SSL_SOCKET_FACTORY, TRUST_ALL_CERTS_MANAGER).
  • New: BriefAssertionError with control of the stack trace length (by condition).
  • New: JacksonConverter, JacksonConverterFactory to work with Jackson2 data models.
  • New: JacksonModelAdditionalProperties additional unknown fields, unmarshalling an incomplete JSON or a JSON that
    doesn't contain all the fields in the Java class (Jackson2).
  • New: GsonConverter, GsonConverterFactory to work with Gson data models.
  • New: BooleanGsonTypeAdapter boolean Gson adapter with support for 1/0 values.
  • New: AllureCallAdapterFactory, AResponse module contains inline steps for API calls.
  • New: AllureAction for CompositeInterceptor adds request/response attachments to a step.
  • New: BeanValidation interface for data models with built-in JSR 303 bean validation (jakarta bean validator).