Releases: 5am-code/laravel-notion-api
v1.2.0 - Laravel 11.x Compatibility
What's Changed
- Laravel 11.x Compatibility by @laravel-shift in #172
- Addition of Laravel 11 support and updated dependencies by @johguentner in #174
Full Changelog: v1.1.0...v1.2.0
v1.1.0 - database creation, resolving entities, better testing and more
🍵 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
- Snapshot and Fake Tests Later by @johguentner in #128
- Do not serialize scalar values by @richardhj in #129
- add the ability to resolve users and parents by @johguentner in #116
- Database Creation by @johguentner in #135
- add quote block type by @Gummibeer in #161
- Release v1.1.0 with new features and minor fixes by @johguentner in #160
New Contributors
- @richardhj made their first contribution in #129
Full Changelog: v1.0.1...v1.1.0
v1.0.1 - Patch for exception due to empty response
What's Changed
- Fixes #132: Exception, during creation of
NotionException
, if response isnull
Full Changelog: v1.0.0...v1.0.1
v1.0.0
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
ofEntityCollection
not being converted to string before sending it to the Notion API (Contributed by fschirinzi)
v0.8.1 - patch for missing property mapping
What's Changed
- add relation property mapping by @Gummibeer in #96
New Contributors
- @Gummibeer made their first contribution in #96
Full Changelog: v0.8.0...v0.8.1
v0.8.0 🍉 - Bugfixes, Pagination and General Improvements
What's Changed
- Fix: Rollup with empty select in #68
- ✅ Solved: If a
Rollup Property
had an emptyselect
ormulti_select
, there was an error. - Fix for #65
- ✅ Solved: If a
- 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
- ✅ Solved: If a
- 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 🍦
v0.6.2 Bugfixes and code improvements 🧹
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
- @blessingefkt made their first contribution in #50
Full Changelog: https://5amco.de/docs/0.6.0/changelog
v0.6.1 - Patch for two issues and 🙌 implementation for updating Blocks
- 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
- We implemented a new approach for the Filter classes and start with
Filter::textFilter
andFilter::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