Releases: dstotijn/go-notion
Releases · dstotijn/go-notion
v0.3.2
Fixes issue (#15) where it was impossible to query database with sorts and/or pagination but without a filter.
v0.3.1
Fixes (7e83ec7) database page property fields with incorrect mappings to the Notion API.
v0.3.0
Fixes for various database property types.
Ref:
v0.2.0
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
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
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
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
Fixes missing title
and date
database page property types.
v0.1.1
Fixes
- #2: Encountering Error Code 500 on Database Query
v0.1.0
First release. Initial support for all (non-deprecated) endpoints on the Notion API.