Skip to content

Releases: jeoooo/PocketbaseExtended

0.4.0

29 Jan 02:04
Compare
Choose a tag to compare

🚀PocketbaseExtended 0.4.0

Changes

What's next?

  • Improve documentation
  • add create() function
  • improve syntax for other body parameters

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

Full Changelog: 0.3.5...0.4.0

0.3.5

25 Jan 03:11
1a1103f
Compare
Choose a tag to compare

🚀PocketbaseArduino 0.3.5

Changes

  • Fixed README typos
  • add deleteRecord() documentation
  • Updated README!

What's next?

  • Improve documentation
  • add create() function
  • improve syntax for other body parameters

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

What's Changed

Full Changelog: 0.3.1...0.3.5

0.3.1

23 Jan 11:35
245dece
Compare
Choose a tag to compare

🚀PocketbaseArduino 0.3.1

Changes

  • Add deleteRecord() function
  • Updated README!
record = pb.collection("notes").deleteRecord("50p6wpaeu4h5j9x");

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 makes it much more flexible in terms of how developers will write the syntax and using this library (hopefully 😀)

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

What's Changed

Full Changelog: 0.2.0...0.3.1

0.2.0

23 Jan 09:56
Compare
Choose a tag to compare

🚀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

0.1.0

20 Jan 09:20
Compare
Choose a tag to compare

🚀PocketbaseArduino 0.1.0

Changes

  • Support for https and http requests. For http requests please use the following commands to setup Pocketbase on your local machine.
./pocketbase serve --http="YOUR_IP_ADDRESS:8090"
  • Add PocketbaseArduino initialization
PocketbaseArduino pb("POCKETBASE_BASE_URL"); 
  • Add PocketbaseArduino getOne() function
PocketbaseArduino pb("POCKETBASE_BASE_URL"); 
String record = pb.collection("collectionName").getOne("record_id");
  • Add initial implementation PocketbaseArduino getList() function
PocketbaseArduino pb("POCKETBASE_BASE_URL");
String result = pb.collection("notes").getList("1", "10", "createdAt", "category=important", "authors", "title,body");

What's next?

  • Implement other CRUD operations
  • Update README
  • Documentation Website
  • Add Contributing guidelines

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

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