Releases: jomei/notionapi
Releases · jomei/notionapi
v1.5.1
Add support for file-based blocks and embeds/bookmarks
2021-08-16 api version support
- Add Database#Create method
- Add Block#Get method
- Add Block#Update method
- Set
2021-08-16API version by default
Add "archived" field to the Page structure
- Add
Archivedfield to thePagestructure. Thanks, @kanata2! - Fix
Datestructure unmarshalling error. Thanks, @jhchabran!
Database Update support and fixes
Properties rework
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
Fix empty list children
Thanks @mustafasegf 👍
Filters rework
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
v1.0.6 Add children to paragraph block