Skip to content

Releases: pluja/pocketbase

v0.1.0

03 Jun 11:42
ea0290a
Compare
Choose a tag to compare

What's Changed

  • Add possibility to login with any collection of type auth by @mladBlum in #2
  • adds all endpoints for managing pocketbase-backups by @bbuehrig in #3
  • Fixing linter-finding and vulnerabilities by @bbuehrig in #4
  • adds records api-calls to manage and use auth on collections by @bbuehrig in #5
  • add One and OneTo methods to client

New Contributors

Full Changelog: v0.0.7...v0.1.0

v0.0.10

26 Apr 13:33
e3802e9
Compare
Choose a tag to compare

What's Changed

  • Fixing linter-finding and vulnerabilities by @bbuehrig in #4
  • adds records api-calls to manage and use auth on collections by @bbuehrig in #5

Full Changelog: v0.0.9...v0.0.10

v0.0.9

10 Apr 10:23
89e8409
Compare
Choose a tag to compare

What's Changed

  • adds all endpoints for managing pocketbase-backups by @bbuehrig in #3

New Contributors

Full Changelog: v0.0.8...v0.0.9

v0.0.8

15 Mar 15:01
6bd0553
Compare
Choose a tag to compare

What's Changed

  • Add possibility to login with any collection of type auth by @mladBlum in #2
  • FullList function for client and collection.

New Contributors

Full Changelog: v0.0.7...v0.0.8

v0.0.7

15 Mar 11:10
Compare
Choose a tag to compare

What's new:

FullList function

Inspired by official Pocketbase SDK, I added a new FullList function to the client. This allows to list a the full results of a collection query, without the need of batching requests or setting large Size numbers to the query parameters.

example:

collection := pocketbase.CollectionSet[models.Exchange](p.Client, "services")
params := pocketbase.ParamsList{
    Filters: "active=true",
}

response, err := collection.FullList(params)

Full Changelog: v0.0.61...v0.0.7

v0.0.6

18 Dec 10:53
Compare
Choose a tag to compare
  • Adds support for OneWithParams

Example usage:

func (p *PbClient) GetServiceById(id string) {
	collection := pocketbase.CollectionSet[Service](p.Client, "services")
	params := pocketbase.ParamsList{
		Fields:  "*,expand.attributes.*",
		Expand:  "attributes",
	}

	service, err := collection.OneWithParams(id, params)
	if err != nil {
		log.Error().Err(err)
	}
}

Full Changelog: v0.0.5...v0.0.6

v0.0.5

11 Dec 16:49
Compare
Choose a tag to compare
Update compatibility information in README

v0.0.4

06 Dec 07:56
Compare
Choose a tag to compare
add support for fields

v0.0.3

06 Dec 07:23
Compare
Choose a tag to compare
fix versions

v0.0.2

06 Dec 07:19
Compare
Choose a tag to compare
more version bumps