Skip to content

Releases: jonathangomz/notion_api

v2.0.0-beta2

06 Aug 18:24
Compare
Choose a tag to compare
v2.0.0-beta2 Pre-release
Pre-release
  • 🍗 Add more suggestions on issue #11:

v2.0.0-beta1

30 Jul 17:47
Compare
Choose a tag to compare
v2.0.0-beta1 Pre-release
Pre-release

New feature: 🐣
Breaking change: 🍗

  • 🐣 Add constructor for empty Database.
  • 🐣 Add parameter blocks for Children constructor.
  • 🍗 Remove deprecated code:
    • textSeparation
    • Parameter constructors for Children:
      • heading
      • paragraph
      • toDo
  • 🐣 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 Heading class:
    • 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 Text class:
    • 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).

v1.2.0

27 Jul 22:13
706e9b3
Compare
Choose a tag to compare

v1.1.0

11 Jul 21:16
af3d8e4
Compare
Choose a tag to compare
  • Add more blocks support for (PATCH): block children endpoint
    • BulletedListItem block
    • NumberedListItem block
    • Toggle block
  • Add children field for blocks:
    • BulletedListItem
    • NumberedListItem
    • ToDo
    • Toggle
    • Paragraph
  • Add methods to manipulate content and children for blocks:
    • addText(String text, {TextAnnotations? annotations})
    • addChild(Block block)
    • addChildren(List<Block> blocks)
  • Add Children.withBlocks(List<Block> blocks) constructor
  • Add final for type fields to not allow overwrite:
    • Objects
    • Blocks
  • Add BaseClient class to avoid duplicated code for clients
  • Add deprecated annotations for future changes:
    • Remove textSeparation parameter/field
    • Remove add(Text text) function
    • Remove texts getter for Paragraph
    • Remove named parameters for Children class
  • Update documentation

v1.0.1

05 Jul 01:52
Compare
Choose a tag to compare
  • Fix missing Notion-Version header

v1.0.0

05 Jul 01:51
Compare
Choose a tag to compare
  • Fix any error
  • Add library-documentation

v1.0.0-beta2

22 Jun 17:37
Compare
Choose a tag to compare
v1.0.0-beta2 Pre-release
Pre-release
  • Fix any error
  • Tests for every piece of code
  • Improve coverage
  • Improve docs

v1.0.0-beta1

16 Jun 23:53
Compare
Choose a tag to compare
v1.0.0-beta1 Pre-release
Pre-release
  • 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

v0.0.1

01 Jun 21:41
Compare
Choose a tag to compare
  • Improve testing
  • Improve Rich Text usage
  • Add to do block for (PATCH): block children endpoint

v0.0.1-beta1

26 May 21:34
d7b2e6c
Compare
Choose a tag to compare
v0.0.1-beta1 Pre-release
Pre-release
  • Update to null-safety
  • Improve environment variables implementation
  • Improve documentation
    • Add public docs for code
    • Add examples
  • Add CI with GitHub Actions
  • Add notion api endpoints: block children
    • Retrieve block children
    • Append block children
      • Note: Only Paragraph (with Text) & Heading types are working
  • Add block children API request tests