Skip to content

Releases: 5am-code/laravel-notion-api

v1.2.0 - Laravel 11.x Compatibility

05 May 04:33
9cf529d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

v1.1.0 - database creation, resolving entities, better testing and more

22 Jun 07:05
b5b978c
Compare
Choose a tag to compare

🍵 v1.1.0 : Database Creation and resolving entities

This feature release comes with some spicy new ways to interact with the Notion API.

We hope you enjoy it!

Database Creation

Database Creation was contributed by Johannes Güntner

A high requested feature: Creating databases with all possible configurations and properties.

In order to stick to the eloquent Laravel standard of creating database structures, we have tried to stick to a similar structure.
A detailed description for database creation can be found at database creation.

Resolving Entities

Resolving Entities was contributed by Johannes Güntner

To simplify the retrieval of parents, users and relations, we have added an extra endpoint, which helps you to access full information of entities.

To learn more, go to resolving entities.

Added missing Quote Block Type

Quote Block Type was contributed by Tom Witkowski

One important text block was missing: the Quote Block. Now it is finally added.

Breaking Changes

No breaking changes

Fixed

  • Avoiding serializing scalar values (Contributed by richardhj)

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1 - Patch for exception due to empty response

21 Apr 03:43
4d5e556
Compare
Choose a tag to compare

What's Changed

  • Fixes #132: Exception, during creation of NotionException, if response is null

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Apr 08:25
ee3f9ca
Compare
Choose a tag to compare

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)

v0.8.1 - patch for missing property mapping

27 Jan 15:29
1e259ff
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0 🍉 - Bugfixes, Pagination and General Improvements

01 Aug 16:57
4f75db6
Compare
Choose a tag to compare

What's Changed

  • Fix: Rollup with empty select in #68
    • ✅ Solved: If a Rollup Property had an empty select or multi_select, there was an error.
    • Fix for #65
  • polish/fix: control over 'includeTime' of Date in #69
    • ✅ Solved: If a Date Property has been set by creating or updating a Notion Page, the time was always included
    • Fix for #61
  • Feature/better pagination handling: add: better pagination handling in #73

More Details in our docs: Docs - Changelog

Full Changelog: v0.7.0...v0.8.0

v0.7.0 – Laravel 9 compatibility release 🍦

20 Mar 10:42
21e07d4
Compare
Choose a tag to compare

What's Changed

  • Now compatible with Laravel 9
  • Allow v9 of illuminate/support by @treonde in #63
  • Updated README.md by @farez in #62

New Contributors

v0.6.2 Bugfixes and code improvements 🧹

28 Dec 14:20
4ccef63
Compare
Choose a tag to compare

What's Changed

  • Removed union types in method parameters (temporarily for PHP 7.4 support) and replaced them with corresponding type check (Syntax error when using PHP 7.4, due to use of union type. #51)
  • Changed Eloquent Collection Import to Support Collection (use Support\Collection instead of Eloquent\Collection #50)
  • Added StyleCI
  • Added PHP 8.1 and PHP 7.4 to Workflows

New Contributors

Full Changelog: https://5amco.de/docs/0.6.0/changelog

v0.6.1 - Patch for two issues and 🙌 implementation for updating Blocks

18 Oct 20:04
973b154
Compare
Choose a tag to compare
  • fix typo in operations (for query)
  • fix type-check issue in property LastEditedType
  • unnecessary class is removed
  • implementation for updating Blocks 🔥

v0.6.0 - Block Creation, Query Filters, detailed database information and more Block types

25 Sep 20:53
15d3c73
Compare
Choose a tag to compare
  • 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.
  • You're also able to create new blocks and append them in Notion!
  • More detailed database information can be fetched - Icon, cover, title and property-information is provided in the databases endpoint.
  • New block types have been added to the block classes

For more information, check out the Changelog in our docs!
https://5amco.de/docs/0.6.0/changelog