Skip to content

Releases: giantswarm/personio-go

v0.4.0

26 Mar 16:26
2dfca75
Compare
Choose a tag to compare

Added

  • Add v1.GetTimeOffsMapped() function

v0.3.0

05 Jul 08:29
6982b89
Compare
Choose a tag to compare

Added

  • Add TimeOff.Comment field

v0.2.0

04 Jun 17:51
0249d40
Compare
Choose a tag to compare
  • Renamed GetListValue() to GetTagValues()
  • Changed GetStringValue() to also read the value of list attributes

v0.1.0

22 Feb 18:52
36d07bd
Compare
Choose a tag to compare

Fixed

  • Fixed GetEmployees() only returning first page of data
  • Fixed GetTimeOffs() date argument format (YYYY-MM-DD)

Added

  • Add NewClientWithTimeout() to allow specifying the client timeout
  • Add GetMapAttribute() to simply get nested object's attributes as map[string]interface{}

v0.0.1

08 Dec 17:21
425cdb9
Compare
Choose a tag to compare
  • Add GetEmployees() and GetEmployee(id) to handle GET /company/employees
  • Add GetTimeOffs() to handle GET /company/time-offs
  • Implement basic request handling and accessToken rotation
  • Add Authenticate() to handle POST /auth
  • Add Personio API v1 client