Skip to content

v2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jonathangomz jonathangomz released this 30 Jul 17:47
· 0 commits to main since this 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).