Skip to content

Releases: drekka/Voodoo

iOS 17

08 Oct 09:52
025d9f6
Compare
Choose a tag to compare

Some minor changes.

  • Tested under iOS17 and Xcode 15.
  • Changed the command line program from magic to voodoo which was the original desired name. Previously was able to use voodoo because SPM could not create an executable with the same name as the module.

Version 0.3.1 Decodable

21 Nov 07:37
281b90c
Compare
Choose a tag to compare

Adds the functionality to decode a JSON request body into a Decodable type.

Version 0.3.0

21 Nov 04:19
186b4cc
Compare
Choose a tag to compare

New

  • Added the ability to set a delay. Delays affect all requests after being set. Use the admin path _admin/delay/<n.n> where 'n.nis the number of seconds to set. ie.http://127.0.0.1/_admin/delay/2.0` sets a 2 second delay on all request from now on. Setting to 0 stops delaying requests. Delays can also be updated at any time in a XCTest with server.delay = n.n.
  • Added missing unauthorised and forbidden to response decoding from YAML files.

Fixed

Refactored

  • Adjusted YAML model for responses. the type field has been removed and replaced with the individual types as it was an unnecessary abstraction. For example

    Old:

    response:
      type: text
      text: Hello

    New

    response:
      text: hello

Lots of lots of good stuff... and GraphQL

14 Nov 10:28
7cdc231
Compare
Choose a tag to compare

Lots of changes in this release as a result of working through the addition of GraphQL.

Initial release

27 Oct 22:54
0.1.0
1969706
Compare
Choose a tag to compare

This is the initial release of Simulacra. Please let me know if you have any suggestions, bugs or tweaks.