Releases: mariosimao/notion-sdk-php
Releases · mariosimao/notion-sdk-php
Version 0.2.0
Added
- Breadcrumb block
- Support discovery of more PSR clients with
php-http/discovery
Changed
- Clients require implementations of
RequestFactoryInterface
- Rename
Notion\Client::createWithPsrClient()
tocreateWithPsrImplementations()
- Rename
Notion\Client
toNotion\Notion
- Rename
Notion\Databases\Database::withTitle()
towithAdvancedTitle()
- Use
list<RichText>
instead of...RichText
onBookmark::withCaption()
BulletedListItem::withText()
Callout::withText()
Code::withText()
Heading1::withText()
Heading2::withText()
Heading3::withText()
NumberedListItem::withText()
Paragraph::withText()
Quote::withText()
ToDo::withText()
Toggle::withText()
Database::withAdvancedTitle()
Title::withRichTexts()
RichTextProperty::withText()
- Use
list<BlockInterface>
instead of...BlockInterface
onBulletedListItem::withChildren()
Callout::withChildren()
NumberedListItem::withChildren()
Paragraph::withChildren()
Quote::withChildren()
ToDo::withChildren()
Toggle::withChildren()
Notion\Pages\Client::create()
- Use
list<SelectOption>
instead of...SelectOption
onSelect::withOptions()
MultiSelect::withOptions()
- Use
list<non-empty-string>
instead of...string
onMultiSelect::fromIds()
andMultiSelect::fromNames()
Relation::create()
andRelation::withRelations()
- Use
list<User>
instead of...User
onPeople::create()
andPeople::withPeople()
Version 0.1.0
First release of notion-sdk-php ! 🎉
Support to pages, databases and users API.
Blocks:
- bookmark
- bulleted list item
- callout
- child database
- child page
- code
- divider
- embed
- equation
- file
- heading 1
- heading 2
- heading 3
- image
- numbered list item
- paragraph
- quote
- table of contents
- to do
- toggle
- video
Database and Page properties:
- checkbox
- created by
- created time
- date
- files
- formula
- last edited by
- last edited time
- multi select
- number
- people
- phone number
- rich text
- select
- title
- URL