Skip to content

0.2.0

Choose a tag to compare

@jeoooo jeoooo released this 23 Jan 09:56
· 41 commits to main since this release

馃殌PocketbaseArduino 0.2.0

What's Changed?

  • Add getList() function
pb.collection("notes").getList("page", "perPage", "sort", "filter", "skipTotal", "expand", "fields");
  • Improved function for GETRequest to support for both ESP8266 and ESP32 (needs further testing!!)

What's next?

  • Improve documentation
  • add create() function
  • improve syntax for other body parameters (having to place nullptr works for now, but is very inconvenient for developers)
// current implementation
String record = pb.collection("websites").getOne("1", "websites");

// "wtf i need to place nullptr just because its optional?" - some random dev
String record = pb.collection("websites").getOne("1", nullptr);
.... 

// and instead use
 String record = pb.collection("websites").getOne("1").expand("websites");

chain methods is much more flexible in terms of how developers will write syntax (hopefully 馃榾)

Wanna know what Pocketbase is?: https://pocketbase.io/

Full Changelog: https://github.com/jeoooo/PocketbaseArduino/commits/0.1.0

What's Changed

  • separated expand and fields to a chain method by @jeoooo in #1
  • implemented getList function by @jeoooo in #2

New Contributors

  • @jeoooo made their first contribution in #1

Full Changelog: 0.1.0...0.2.0