Skip to content

v1.0.0

Compare
Choose a tag to compare
@mechelon mechelon released this 10 Apr 08:25
· 116 commits to main since this release
ee3f9ca

Release Notes for v1.0.0: First stable release, new shiny documentation and more

We are happy to announce the first officially stable release of our package and on top there will be new features and improvements.

As you can see we have also completely updated and refactored our documentation, to make it more readable.
By adding new guides and polished code examples we hope to ease up the usage of the laravel-notion-api for you.

We have been working hard on this release and we are excited to share it with you.
We hope you enjoy it!

Compound Filters for Database Queries

Contributed by Diana Scharf

With this feature, you can create more complex queries by using compound filters.
Compound filters allow you to combine multiple filters within a single filter bag to create a more specific search.

A FilterBag is a collection of filters that can be used together to form a more complex query.
The FilterBag can work with either the AND or OR operator, and it can contain filters as well as other filter bags.

Interaction with Notion Comments

Contributed by Johannes Güntner

With this new version, it is possible to fetch comments from blocks and pages.
The creation of comments within pages and existing discussions is available as well.

Entity Completion

Contributed by Johannes Güntner

New attributes and according getters are available for all relevant entities.
A detailed description for each of the new attributes can be found in handling results section.

Archived Flag of Entity

The isArchived() method is a boolean value that indicates whether an entity is archived.

Added to Database, Page and Block.

Timestamps of Entity

All relevant Entities now have all timestamp access, such as getCreatedBy(), getCreatedTime(), getLastEditedTime(), and getLastEditedBy().

Added to Database, Page, Block and Comment.

Parent of Entity

ParentId and ParentType, provide information about the parent page or block for a particular item in your Notion resource.

Added to Database, Page, Block and Comment.

Breaking Changes

Read about Breaking Changes in the upgrade guide for Upgrading from v0.8 to v1.0.

Fixed

  • Fixed various typos
  • Added missing HTTP status to NotionException (Contributed by danielh-official)
  • Resolved an issue with start_cursor of EntityCollection not being converted to string before sending it to the Notion API (Contributed by fschirinzi)