Skip to content

Releases: AnswerDotAI/fastspec

v0.2.5

Choose a tag to compare

@jph00 jph00 released this 21 Sep 07:09

New Features

  • Rewrite gql and spec module prose and docstrings (#39)
  • Improve OpFunc docs and reprs, honor UNSET in defaults across all param locations, simplify error context, and handle null mutationType (#38)
  • Improve media type detection for resumable uploads (#37), thanks to @ncoop57

v0.2.4

Choose a tag to compare

@jph00 jph00 released this 01 Sep 04:56

New Features

  • Move errors to fasttransport, and remove FastSpecError and SpecError (#36), thanks to @jph00
  • Add op_func to create detached OpFunc as a delegates target so wrappers inherit spec op signatures and docs (#35)
  • Show request body examples in docs (#30), thanks to @kafkasl

v0.2.3

Choose a tag to compare

@jph00 jph00 released this 20 Aug 09:31

New Features

  • Support bytes and NoneType in param type serialization round-trip (#29)

v0.2.2

Choose a tag to compare

@jph00 jph00 released this 20 Aug 08:50

New Features

  • Add response to APIError, support body_ kwarg override, and allow custom transport and base_url in OpenAPIClient (#28)

v0.2.1

Choose a tag to compare

@jph00 jph00 released this 13 Aug 03:02

New Features

  • Move transport and SSE into external fasttransport package, switch httpx to httpx2, and rename json_data param to json (#27)

v0.2.0

Choose a tag to compare

@jph00 jph00 released this 09 Aug 07:02

Breaking Changes

  • Rename oapi control kwargs to trailing-underscore form (headers_, query_, raw_), drop _body passthrough (#26)

v0.1.7

Choose a tag to compare

@jph00 jph00 released this 09 Aug 05:16

New Features

  • Add chunked parallel batching and paged() cursor iteration for Relay connections to GqlClient (#25)
  • Add fastspec.gql: GraphQL client with distilled schema specs, attribute-chained queries, and batched requests (#24)

v0.1.6

Choose a tag to compare

@jph00 jph00 released this 06 Aug 17:49

New Features

  • Fix OpFunc._bind to skip params covered by client defaults when binding positional args, and raise TypeError on too many (#23)

v0.1.5

Choose a tag to compare

@jph00 jph00 released this 06 Aug 11:26

New Features

  • Fix OpFunc._bind to skip params covered by client defaults when binding positional args, and raise TypeError on too many (#23)

v0.1.4

Choose a tag to compare

@jph00 jph00 released this 02 Aug 10:55

New Features

  • Move API surface helpers (snake, sanitized_params, mk_sig, mk_doc, OpGroup, group building, full_docs) to fastcore.apisurface (#21)
  • Include raw field in APIError string representation (#19), thanks to @kafkasl

Bugs Squashed

  • Fix _schema_py_type for OpenAPI 3.1 nullable type lists (#18), thanks to @kafkasl