Skip to content

Releases: grnet/apimas

0.3.1

30 Aug 10:30

Choose a tag to compare

Fixed

  • Regular expressions for validating email addresses.

0.3

24 Mar 11:55

Choose a tag to compare

0.3

Added

  • Specification can now specify multiple endpoints.
  • Informative error messages when handling the specification.
  • CLI subcommands for every endpoint.
  • An optional --config CLI option to specify the location of
    specification.
  • New field predicates: .choices and .text.
  • New max_length parameter for .string fields.

Changed

  • The DRF-specific code is split off in a separate package apimas_drf.
  • .endpoint is no longer top-level; it now describes its parent node.
  • A reference to a collection must now be prefixed by its endpoint.
  • API of testing utility methods used by developers.
  • format parameter of .date and .datetime fields now expects a list of
    string formats.
  • .cli_auth now gets two parameters:
    a) format (the credentials file format),
    b) schema (the credentials schema).
  • Adapter method apply() is removed; its functionality is merged into
    construct().
  • mkdeb script is installed along with apimas.

Fixed

  • Client side data validation between two consecutive calls.