Oliyh Martian Versions Save

The HTTP abstraction library for Clojure/script, supporting OpenAPI, Swagger, Schema, re-frame and more

0.1.15

3 years ago

This release adds support for:

  • Development mode - a martian instance can now be a function or a var that resolves the martian instance, giving a better REPL workflow #101
  • Inline object definitions #100 and required field arrays on objects #102 (thanks @evilsneer for reporting)
  • An optional response validator which validates responses against the response schema #69

This release improves:

  • Initialisation of martian.re-frame instances to avoid race conditions #95
  • Documentation of martian.cljs-http initialisation

0.1.14

3 years ago

This release adds support for:

  • Multiple instances in martian-re-frame - many thanks to @benedekfazekas #96 -- Note that the signature of :martian.re-frame/request and the location of the martian instance within the re-frame db has changed, so if you relied on these for tests or other functionality you will need to update your code

This release fixes:

  • OpenAPI parameters - thanks to @enspritz for the report and help #93 #94
  • More robust pending operations in martian-re-frame #93

This release improves:

  • Documentation for martian-re-frame

0.1.13

3 years ago

This release adds support for:

  • OpenAPI v3 - huge thanks to @czan #90 #51
  • Parameter references - thanks to @kpmg-jp-jnorton #87

0.1.12

4 years ago

This release adds support for:

  • Path parameters #75 (thanks @RafaeLeal)
  • Route definition spec #78 (turn on spec instrumentation to use it)
  • clj-http-lite module #81 (thanks @deas)

This release improves:

  • Handling of additionalProperties #76 (thanks @RafaeLeal)
  • Handling of open maps #77 (thanks @RafaeLeal)
  • Remove implicit martian-httpkit dependency from martian-test #82 (thanks @davidjameshumphreys)

0.1.11

4 years ago

This release adds support for:

  • Free form objects (additionalProperties) #70 (thanks @omartell)
  • Recursive schemas #71
  • re-frame on-success and on-failure handlers can be vectors, allowing closing over of local bindings #67

0.1.10

4 years ago

This release adds support for:

  • Making your own decision about keywordising keys as per #65 (thanks @andrewmcveigh)
  • URI formats for strings #63 (thanks again to @andrewmcveigh)

0.1.9

5 years ago

This release adds support for:

  • Trimming trailing slashes from base URLs as per #55 (thanks @samuelwagen)

This release fixes:

  • Compilation with the latest Clojurescript (1.10.439)
  • A compilation warning for schema #52 (thanks @samuelwagen)

This release improves:

  • The http-kit stub responder is now easier to use
  • cljdoc badges #59 (thanks @polymeris)

0.1.8

6 years ago

This release breaks:

  • Any use of the encode-body and coerce-response interceptors in the clj-http, httpkit or cljs-http namespaces. These interceptors have been unified under martian.interceptors, see #23

This release adds support for:

  • Supporting custom encoding in addition to the built-in support for transit+msgpack, transit+json, edn and json #23

This release fixes:

  • Identical requests sent while the previous request is still pending are deduplicated in martian-re-frame #48

This release improves:

  • Documentation on per-route interceptors #49
  • Documentation on providing body parameters #50

0.1.7

6 years ago

This release adds support for:

  • UUIDs as added by @markdingram in #47 - thank you
  • A subscription to find out what requests are pending - #39

This release fixes:

  • Reflection warnings in the JVM libraries

0.1.6

6 years ago

This release contains enhancement #46 allowing kebab-cased keywords for all parameters, even in deeply nested bodies.