Skip to content

Releases: mdb1/CoreNetworking

0.1.1

06 May 15:08
0c45531
Compare
Choose a tag to compare

Remove extra "

Full Changelog: 0.1.0...0.1.1

0.1.0

19 Mar 14:42
6b313bc
Compare
Choose a tag to compare

What's Changed

  • Add support for OSLog by @mdb1 in #9

Full Changelog: 0.0.5...0.1.0

0.0.5

28 May 15:04
Compare
Choose a tag to compare

Add pretty printed logs for the json data:

🛜 ===> Network Request started:
 3 key/value pairs
   (2 elements)
    - key: "Request\'s Internal Id"
    - value: "[CA5C3]"
   (2 elements)
    - key: "URL"
    - value: "https://catfact.ninja/fact/?"
   (2 elements)
    - key: "HTTP Method"
    - value: "GET"
🛜 <==== Network Response received:
 3 key/value pairs
   (2 elements)
    - key: "Status Code"
    - value: "200"
   (2 elements)
    - key: "Request\'s Internal Id"
    - value: "[CA5C3]"
   (2 elements)
    - key: "URL"
    - value: "https://catfact.ninja/fact/?"
 ==> JSON Decoding start:
 CoreNetworkingTests.CatFact
  - fact: "Cats are now Britain\'s favourite pet: there are 7.7 million cats as opposed to 6.6 million dogs."
  - length: 96
ℹ️ Additional Info:
ℹ️ 🔍 Expected Model: CatFact
ℹ️ 📝 Pretty Printed JSON:
{
  "fact" : "Cats are now Britain's favourite pet: there are 7.7 million cats as opposed to 6.6 million dogs.",
  "length" : 96
}
 <== JSON Decoding end.
🏁 <==== Network Request finished.

Full Changelog: 0.0.4...0.0.5

0.0.4

27 May 23:43
Compare
Choose a tag to compare

Add a more robust NetworkLogger.

Example:

🛜 ===> Network Request started:
 3 key/value pairs
   (2 elements)
    - key: "URL"
    - value: "https://catfact.ninja/fact/?"
   (2 elements)
    - key: "HTTP Method"
    - value: "GET"
   (2 elements)
    - key: "Request\'s Internal Id"
    - value: "[3E786]"
🛜 <==== Network Response received:
 3 key/value pairs
   (2 elements)
    - key: "Request\'s Internal Id"
    - value: "[3E786]"
   (2 elements)
    - key: "URL"
    - value: "https://catfact.ninja/fact/?"
   (2 elements)
    - key: "Status Code"
    - value: "200"
 ==> JSON Decoding start:
 CoreNetworkingTests.CatFact
  - fact: "A cat\'s brain is more similar to a man\'s brain than that of a dog."
  - length: 66
ℹ️ Additional Info:
 2 key/value pairs
   (2 elements)
    - key: "Expected Model"
    - value: "CatFact"
   (2 elements)
    - key: "UTF8 - String"
    - value: "{\"fact\":\"A cat\'s brain is more similar to a man\'s brain than that of a dog.\",\"length\":66}"
 <== JSON Decoding end.
🏁 <==== Network Request finished.

Full Changelog: 0.0.3...0.0.4

0.0.3

24 May 18:38
164b45d
Compare
Choose a tag to compare

What's Changed

  • Add additional information when decoding the models by @mdb1 in #3

New Contributors

  • @mdb1 made their first contribution in #3

Full Changelog: 0.0.2...0.0.3

0.0.2

17 May 12:35
Compare
Choose a tag to compare

Add support for macOS
Add unit tests action to the repository

Full Changelog: 0.0.1...0.0.2

0.0.1

17 May 12:25
c5d0585
Compare
Choose a tag to compare

What's Changed

  • [Enhancement] Add DecodingError as associated type in decode enum case in ResponseError by @gentilijuanmanuel in #1

New Contributors

Full Changelog: https://github.com/mdb1/CoreNetworking/commits/0.0.1