Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Aug 28, 2017
1 parent 7189e48 commit d93276a
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,38 @@

All notable changes to `menu` will be documented in this file.

## 2.3.0 - 2017-08-28
- Added `append` and `prepend` methods to `Link`

## 2.2.2 - 2017-07-11
- Fixed: Returning a menu instance is now optional with `fill` and `build`
- Fixed returning a menu instance is now optional with `fill` and `build`

## 2.2.1 - 2017-03-07
- Fixed: Setting items active with urls that start with the same string
- Fixed setting items active with urls that start with the same string

## 2.2.0 - 2017-02-09
- Added: `if` function
- Added `if` function

## 2.1.3
- Fixed: setting an active url when the url is exactly the same
- Fixed setting an active url when the url is exactly the same

## 2.1.1
- Added: The request root path when setting the active path
- Added the request root path when setting the active path

## 2.1.0
- Added: Optional third `$initial` parameter in `Menu::build`
- Added optional third `$initial` parameter in `Menu::build`

## 2.0.1
- Fixed: Require `^1.0.0` of spatie/url
- Fixed require `^1.0.0` of spatie/url

## 2.0.0
- Added: Added the static `Menu::build` and non-static `Menu::fill` methods to create menu's from arrays.
- Added: The `setActive` method on `Activatable` now also accepts a non-strict boolean or callable parameter to set `$active` to true or false.
- Added: `Menu::html` and `Menu::htmlIf` now accept a `$parentAttributes` array as their second arguments.
- Changed: The `HtmlAttributes` and `ParentAttributes` traits have been renamed to `HasHtmlAttributes` and `HasParentAttributes`.
- Changed: The `HasUrl` interface and trait has been removed. Url-related methods now also are part of the `Activatable` interface and trait.
- Removed: The `void` and `voidIf` have been removed. These can be replaced by `html` and `htmlIf`, with empty strings as their first arguments
- Removed: The `prefixLinks` and `prefixUrls` methods have been removed because they were too unpredictable in some case. There currently isn't an alternative for these, besides writing your own logic and applying it with `applyToAll`.
- Added added the static `Menu::build` and non-static `Menu::fill` methods to create menu's from arrays.
- Added the `setActive` method on `Activatable` now also accepts a non-strict boolean or callable parameter to set `$active` to true or false.
- Added `Menu::html` and `Menu::htmlIf` now accept a `$parentAttributes` array as their second arguments.
- Changed the `HtmlAttributes` and `ParentAttributes` traits have been renamed to `HasHtmlAttributes` and `HasParentAttributes`.
- Changed the `HasUrl` interface and trait has been removed. Url-related methods now also are part of the `Activatable` interface and trait.
- Removed the `void` and `voidIf` have been removed. These can be replaced by `html` and `htmlIf`, with empty strings as their first arguments
- Removed the `prefixLinks` and `prefixUrls` methods have been removed because they were too unpredictable in some case. There currently isn't an alternative for these, besides writing your own logic and applying it with `applyToAll`.

## 1.4.0
- Added a `HasUrl` trait
Expand Down

0 comments on commit d93276a

Please sign in to comment.