Skip to content

Releases: kusanagi/katana-sdk-python2

Release 2.1.0

01 Jun 18:21
af8bbe9
Compare
Choose a tag to compare

Changed

  • Modified "api" module to comply with SDK specs.

Release 2.0.0

01 Mar 09:58
3a26c65
Compare
Choose a tag to compare

Added

  • A configured file server must be available to make runtime calls that send file parameters.
  • Added "log-level" support to runner.
  • Implemented support for the Transport API.

Changed

  • Calls to Api.done() raise an exception now.
  • Action schema entity's primary key field name is getted from the entity instead of the action.
  • Removed ActionSchema.get_primary_key()
  • Removed the "quiet" CLI flag.
  • Logging changed to support the new Syslog based logging from KATANA.

Release 1.3.0

01 Dec 15:34
ddda17a
Compare
Choose a tag to compare

Added

  • Support for action tags defined in the configuration.
  • Request ID to logs.
  • Component and framework info was added to log prefix.

Changed

  • Runtime call default timeout to 10000.
  • Parameter schema default value getter now returns None by default.

Fixed

  • Component.log() now includes the date and [SDK] prefix.
  • Error payload handling during runtime calls.

Release 1.2.1

01 Oct 18:16
Compare
Choose a tag to compare

Changed

  • Running a service with an action input payload now flushes the output right after the print.
  • File payload have a name and is now added to transport as a list of files instead of a dict.

Release 1.2.0

01 Sep 12:40
Compare
Choose a tag to compare

Changed

  • Callback for Component.set_resource() now receives the component as
    the first argument.
  • Header methods are now case insensitive.

Added

  • Support for SDK process execution timeout per request.
  • Request and response header related methods.
  • Api.has_variable() was added to check if a variable exists.
  • Request attributes support.

Fixed

  • Service schema resolution now supports services that contain
    "/" in their name.
  • File parameters now work for service to service calls.

Release 1.1.0

01 Jun 09:24
Compare
Choose a tag to compare

Added

  • Added support to get service return value in response middlewares.
  • Added getter for origin duration to transport.
  • Added "binary" type support for parameters and return value.

Changed

  • Updated CONTRIBUTING.md and README.md

Release 1.0.1

28 Apr 10:30
Compare
Choose a tag to compare

Added

  • Version wildcards support for single '*' to match all.
  • Added support to run a component server and handle a single request
    where the payload is send from the CLI in a JSON file (#72).

Changed

  • The wildcard ('*') in the last version part now matches any character.
  • HttpActionSchema.get_method() now returns method names in lower case.

Fixed

  • Engine variables now works with request and response middlewares.

Release 1.0.0

10 Mar 10:31
Compare
Choose a tag to compare

Python 2 SDK to interface with the KATANA™ framework (https://katana.kusanagi.io).