Skip to content

Commit

Permalink
Merge pull request #258 from bowphp/5.x-update-changelog
Browse files Browse the repository at this point in the history
Update CHANGELOG
  • Loading branch information
papac authored Sep 17, 2023
2 parents 1107ca6 + c706108 commit 1a97aa3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 5.1.1 - 2023-08-21

Add the transaction method

This method aims to execute an SQL transaction around a passed arrow function.

```php
Database::transaction(fn() => $user->update(['name' => '']));

```
Ref: #255

## 5.1.0 - 2023-06-07

Release 5.1.0
Expand Down

0 comments on commit 1a97aa3

Please sign in to comment.