notion_api 2.0.0-beta2
notion_api: ^2.0.0-beta2 copied to clipboard
A wrapper for the public beta Notion API to manage it like a Notion SDK package for dart.
Changelog #
0.0.1-prealpha1 #
Release date: 20/May/2021
- First version
- Add
pagerequests parameters models - Add notion api endpoints:
pages- Retrieve a page
- Create a page
- Note: Accept only basic content:
title&parent.
- Note: Accept only basic content:
- Add
databasetests
v0.0.1-dev.1: #
Release date: 20/May/2021
- Separate into classes
v0.0.1-dev.2: #
Release date: 20/May/2021
- Add notion api endpoints:
databases- Retrieve a database
- Retrieve all databases
- Note:
page_size&start_cursorquery parameters are available
- Note:
- Add
databasetests - Add
titlefield toPageconstructor - Add static API information (host, api version) on separated file
v0.0.1-beta1: #
Release date: 26/May/2021
- Update to null-safety
- Improve environment variables implementation
- Add CI with GitHub Actions
- Add notion api endpoints:
block children- Retrieve block children
- Append block children
- Note: Only
Paragraph(withText) &Headingtypes are working
- Note: Only
- Add
block childrenAPI request tests
v0.0.1: #
Release date: 01/Jun/2021
- Improve testing
- Improve Rich Text usage
- Add more blocks for
(PATCH): block childrenendpointToDoblock
v1.0.0-beta1: #
Release date: 16/Jun/2021
- Improve code implementation
- Refactor package structure
- Refactor some properties & function names
- Add useful functions
- Separate classes to avoid duplicated code
- Add more tests
- Tests for every piece of code
- Separate tests by sections
- Improve code documentation
- Improve Pub Points
- Add custom response
- Remove dependency for
flutter
v1.0.0-beta2: #
Release date: 22/Jun/2021
- Fix any error
- Tests for every piece of code
- Improve coverage
- Improve docs
v1.0.0: #
Release date: 25/Jun/2021
- Fix any error
- Add library-documentation
v1.0.1: #
Release date: 04/Jul/2021
- Fix Notion-Version header missing
v1.0.2: #
Release date: 05/Jul/2021
- Fix warnings for documentation
- Improve documentation
- Add contribution rules
v1.1.0: #
Release date: 10/Jul/2021
- Add more blocks support for
(PATCH): block childrenendpointBulletedListItemblockNumberedListItemblockToggleblock
- Add
childrenfield for blocks:BulletedListItemNumberedListItemToDoToggleParagraph
- Add methods to manipulate
contentandchildrenfor blocks:addText(String text, {TextAnnotations? annotations})addChild(Block block)addChildren(List<Block> blocks)
- Add
Children.withBlocks(List<Block> blocks)constructor - Add
finalfortypefields to not allow overwrite:- Objects
- Blocks
- Add
BaseClientclass to avoid duplicated code for clients - Add
deprecatedannotations for future changes:- Remove
textSeparationparameter/field - Remove
add(Text text)function - Remove
textsgetter forParagraph - Remove named parameters for
Childrenclass
- Remove
- Update documentation
2.0.0-beta1 #
Release date: 30/Aug/2021
- 🐣 Add constructor for empty
Database. - 🐣 Add parameter
blocksforChildrenconstructor. - 🍗 Remove deprecated code:
textSeparation- Parameter constructors for
Children:headingparagraphtoDo
- 🐣 Add suggestions on issue #11:
- Update exports to improve usage
- Add private folder (
src/)
- 🐣 Add constructors with only single text content with default style for:
Paragraph:Paragraph.text('some text here...')ToDo:ToDo.text('some text here...', checked: true)Heading:Heading.text('some text here...', type: 2)BulletedListItem:BulletedListItem.text('some text here...')NumberedListItem:NumberedListItem.text('some text here...')Toggle:Toggle.text('some text here...', children: [])
- 🐣 Add more constructors for
Headingclass:one: Heading with type 1 by default.two: Heading with type 2 by default.three: Heading with type 3 by default.
- 🐣 Add more constructors for
Textclass:code: Text with code style by default.italic: Text with italic style by default.bold: Text with bold style by default.underline: Text with underline style by default.color: Text with different color of default.
- 🐣 Add
list(List<Text> texts, String separator, String lastSeparator):- A static method
- Generate a textual list of texts separated by comma (by default).
2.0.0-beta2 #
Release date: 06/Aug/2021
- 🍗 Add more suggestions on issue #11:
- Copy some terminologies from
notion-sdk-js
- Copy some terminologies from