This repository has been archived by the owner on May 8, 2021. It is now read-only.
Releases: Baza207/TrefleSwiftSDK
Releases · Baza207/TrefleSwiftSDK
0.0.4
0.0.3
0.0.2
Made some optimisations and tweaks.
- Added
init
for each model type - Added some
page
helpers forLinks
- Changed
family
to optional inPlantRef
as some items can returnnull
- Changed
familyName
to optional inSpeciesRef
andSpecies
as some items can returnnull
- Added URL helpers to provide
URL
properties for URLString
s - Split out custom JSON decoders to be able to decode
Date
fromString
fro theJWT
compared to dates strings returned in general responses forMetadata
andSource
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 tohttps://
- Warning: This could break URLs and does not guarentee that the
https://
version of that link works or exists
- Note: This will check for
- Renamed
ResponseSingle
->ResponseItem
for consistency - Updated tests for changes
- Fixed some typos etc
0.0.1
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.