Skip to content

Dev for v0.6.0 #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Sep 25, 2021
Merged

Dev for v0.6.0 #35

merged 31 commits into from
Sep 25, 2021

Conversation

johguentner
Copy link
Member

@johguentner johguentner commented Sep 19, 2021

  • Drafting general approach of query filters, moving Filter / CompoundFilter into new namespace & adding valid filter operators
  • Full implementation for block creation
  • More information of single database-information-retrieval
  • add icons/covers to database-retrieval
  • Add new block-types (retrieval/creation)
  • Improved Exceptions/ErrorHandling (More information, if error at NotionApi occures)

johguentner and others added 30 commits September 11, 2021 20:27
- implemented static creation-function for all modifiable blocks
- implemented append-function to Block-Endpoint
- implemented tests-function, in which all block-creation-functions are tested
- added todo/warning for notion-version-change to test-function
- rename "fillContent" of Block to "fillRawContent", since it is filling the rawContent (no direct breaking change)
- added EmbedBlock (retreive url + caption)
- this ensures the currect values within the class attributes
- this ensures the correct values within the textblock classes attributes
- set up BaseFileBlock::class for file-related blocks (file, image, file, pdf)
- implement Modifiable within embed and BaseFileBlock
- mark caption as optional paramter in embed and BaseFileBlock with empty string as default
- set up tests for all new blocks (creation and retreival)
enhanced notion exception by detailed response message
- rename "BaseBlockEntity" to "BlockEntity" in BlockEndpoint for clearity
- mark createFileBlock method in BaseFileBlock as final
- replace array_push with array[] = [...] for better performance
block creation + all new current blocks (+ tests for creation/fetch)
- replace notion-api-docs link with updated page (Databases)
- add icon, iconType, cover, coverType to Database and Page with according extraction of different cover- and icon-types
- add database-notion-url retrieval to database
- add raw-information-retrieval to database-retrieval (add as empty properties with according information to property-key and options)
- add retrieval of available options to MultiSelect and Select during database retrieval
- don't retrieve rollup and formula if type-value is not given
- don't retrieve created_time and last_edited_time if retrieved content is null
- fix missing id's and wrong options-field (array in array) within response-json-files
…Filter into new namespace & adding valid filter operators
- and replace == to ===, != to !== in according places
improve database retrieval and add icon/cover
@johguentner johguentner changed the title Dev Dev for v0.6.0 Sep 25, 2021
@johguentner
Copy link
Member Author

🚀✨ Ready for release ✨🚀

@mechelon mechelon merged commit 15d3c73 into main Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants