Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Releases: Baza207/TrefleSwiftSDK

0.0.4

18 Oct 20:59
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release

Added Combine Publisher support along with some other optimisations.

0.0.3

12 Oct 14:37
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release

Updated to using Operations. This allows all request to return a ListOperation or ItemOperation which in turn allows tasks to be canceled.

0.0.2

11 Oct 19:41
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release

Made some optimisations and tweaks.

  • Added init for each model type
  • Added some page helpers for Links
  • Changed family to optional in PlantRef as some items can return null
  • Changed familyName to optional in SpeciesRef and Species as some items can return null
  • Added URL helpers to provide URL properties for URL Strings
  • Split out custom JSON decoders to be able to decode Date from String fro the JWT compared to dates strings returned in general responses for Metadata and Source items
  • Added Config to allow setting options on setup
  • Added ability to force https for image links set via Config
    • Note: This will check for http:// prefixed image URLs and change it to https://
    • Warning: This could break URLs and does not guarentee that the https:// version of that link works or exists
  • Renamed ResponseSingle -> ResponseItem for consistency
  • Updated tests for changes
  • Fixed some typos etc

0.0.1

07 Oct 19:54
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

This is the initial release of TrefleSwiftSDK. It includes authentication using JWT and the ability to fetch lists and individual items of the following types along with filter, exclude, order, range and search query parameters where applicable:

  • Kingdoms
  • Subkingdoms
  • Divisions
  • Families
  • Genus
  • Plants
  • Species
  • Distribution Zones

This version is based on Trefle 1.6.0.