Skip to content

Commit 9b1df9f

Browse files
Release v1.4.0
1 parent 6133156 commit 9b1df9f

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

Changelog.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Eloquent History Changelog
22

3-
## Unreleased
4-
##### 2024-XX-YY
3+
## 1.4.0
4+
##### 2024-03-12
55

66
- Added Laravel 11 support
7+
- Changed the minimum PostgreSQL version to v12, due to an incompatibility detected with Laravel 11.0.0 and PostgreSQL 11
78

89
## 1.3.0
910
##### 2023-11-17

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ History::logRecentUpdate($task);
2727
- Define included/excluded fields on a per-model basis
2828
- Has a diff of the changed fields (old/new values)
2929

30+
## Requirements
31+
32+
It requires PHP 8.1+ and Laravel 10 or 11.
33+
34+
It has been tested with SQLite, MySQL 5.7, 8.0 & 8.2 and PostgreSQL 11, 12 & 16.
35+
36+
It is known that this library, **Laravel 11.0 and PostgreSQL 11 don't work together**, therefore it is
37+
recommended to use at least Postgres version 12 or higher in case your DB engine is Postgres.
38+
3039
## Documentation
3140

3241
For Installation and usage instruction see the Documentation; https://konekt.dev/history/master

docs/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Eloquent Model History Documentation
22

33
History is a Laravel package to manage the history of changes of Eloquent models.
4-
This library **DOES NOT automatically hook into the model's lifecycle events**, but
5-
allows the developer to manually register history events at arbitrary places
6-
in the application code.
4+
5+
!> This library **DOES NOT automatically hook into the model's lifecycle events**, but allows the developer to manually register history events at arbitrary places in the application code.
76

87
## Features
98

docs/installation.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Installation
22

3+
## Prerequisites
4+
5+
PHP 8.1+ and Laravel 10 or 11.
6+
7+
!> **Avoid using PostgresSQL 11** or older since it is known to have bugs when using together with this library and Laravel 11!
8+
39
You can install the package via composer:
410

511
``` bash

src/resources/manifest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
return [
66
'name' => 'Konekt History Module',
7-
'version' => '1.3.0',
7+
'version' => '1.4.0',
88
];

0 commit comments

Comments
 (0)