Skip to content

Releases: dstotijn/go-notion

v0.3.2

25 May 16:26
969ba03
Compare
Choose a tag to compare

Fixes issue (#15) where it was impossible to query database with sorts and/or pagination but without a filter.

v0.3.1

24 May 16:02
Compare
Choose a tag to compare

Fixes (7e83ec7) database page property fields with incorrect mappings to the Notion API.

v0.3.0

24 May 14:59
Compare
Choose a tag to compare

Fixes for various database property types.

Ref:

v0.2.0

23 May 12:05
Compare
Choose a tag to compare

Adds a new type notion.DateTime, used for Notion date properties that have optional time data. When encoding/decoding JSON, time is included based on whether the notion.DateTime value was parsed from a string with/without time, or when constructed via NewDateTime using the the second bool argument.

Ref: 7e83ec7

v0.1.5

22 May 21:42
Compare
Choose a tag to compare

Fixes (ref: 00a77fe) typo in JSON struct tag, and ensures that the Object field of a Block is automatically set to block when creating block content.

v0.1.4

22 May 16:54
Compare
Choose a tag to compare

When creating/updating a database page, it's no longer mandatory to explicitly set the Type field on a DatabaseProperty struct. It was causing an issue (#5) because the empty value wasn't omitted from the JSON, resulting in a 400 Bad Request response when not explicitly setting it.

v0.1.3

22 May 13:18
9ed2a6f
Compare
Choose a tag to compare

Fixes issue (ref: 55aa9db) where parent.type was erroneously sent in POST body when creating a page, resulting in a 400 Bad Request response.

v0.1.2

18 May 19:20
Compare
Choose a tag to compare

Fixes missing title and date database page property types.

v0.1.1

17 May 20:06
Compare
Choose a tag to compare

Fixes

  • #2: Encountering Error Code 500 on Database Query

v0.1.0

15 May 23:10
Compare
Choose a tag to compare

First release. Initial support for all (non-deprecated) endpoints on the Notion API.