Skip to content

Releases: jomei/notionapi

v1.5.1

06 Oct 11:23
77a7cdf
Compare
Choose a tag to compare
  • add Code block
  • handle pagination for Retrieve block children endpoint
  • add ChidDatabase block
  • change RichText.Link from string to object

Thanks @xzebra and @pcarion 🔥

Add support for file-based blocks and embeds/bookmarks

22 Sep 07:41
5e047c0
Compare
Choose a tag to compare

2021-08-16 api version support

10 Sep 14:35
Compare
Choose a tag to compare
  • Add Database#Create method
  • Add Block#Get method
  • Add Block#Update method
  • Set 2021-08-16 API version by default

Add "archived" field to the Page structure

30 Aug 11:13
Compare
Choose a tag to compare
  • Add Archived field to the Page structure. Thanks, @kanata2!
  • Fix Date structure unmarshalling error. Thanks, @jhchabran!

Database Update support and fixes

27 Aug 12:16
Compare
Choose a tag to compare
  • Create/Updates requests with nil body results in a JSON parsing error. Fix #11
  • Add database update request. Thanks, @kanata2! 🔥

Properties rework

12 Aug 09:17
Compare
Choose a tag to compare

Fix #7

Page and Database properties were separated into two sets of structs. Page now contains Properties and Database contains PropertiesConfig

Fix empty filters parsing error

11 Aug 06:34
ba3cd5d
Compare
Choose a tag to compare

Fix empty list children

09 Aug 17:43
Compare
Choose a tag to compare

Filters rework

08 Aug 08:38
Compare
Choose a tag to compare

The Filter interface was removed.
The DatabaseQueryRequest now provides two fields: a PropertyFilter for simple filters and a CompoundFilter for complex ones.

PropertyFilter struct was reworked. The messy map[Condition]interface{} was replaced by a set of well-defined FilterCondition structs.

Add "children" property to paragraph block

01 Aug 07:40
Compare
Choose a tag to compare
v1.0.6

Add children to paragraph block