Removed union types in method parameters (temporarily for PHP 7.4 support) and replaced them with corresponding type check (#51)
Changed Eloquent Collection Import to Support Collection (#50)
Added StyleCI
Added PHP 8.1 and PHP 7.4 to Workflows
Implementation for updating Blocks 🔥
Fixed typo in operations (for query)
Fixed type-check issue in property LastEditedType
Removed unnecessary classes
We implemented a new approach for the Filter classes and start with Filter::textFilter
and Filter::numberFilter
. The
other filter types will follow with time. Please have a look in the breaking changes section for more details.
Finally you will be able to create new blocks and append them in Notion. More at ✨Create Blocks.
Furthermore, more detailed database information can be fetched. Icon, cover, title and property-information is provided in the databases endpoint. More at ✨Databases.
And, new block types have been added to the block classes. Check them out in ✨Blocks.
{info} If you like our package and you want to see further/faster development,
consider becoming a Patreon.
FiveamCode\LaravelNotionApi\Query
to FiveamCode\LaravelNotionApi\Query\Filters
.Filter::textFilter()
. The new method signature is the following:
$textFilter = Filter::textFilter("Name", "equals", "Ada Lovelace");
It's more natural to read: Apply a text Filter where Name equals Ada Lovelace
. This will be the blueprint for all
upcoming filters.{success} Nothing to fix in this release.
Found a bug? Head over to our issue tracker!