Releases: kudashevs/laravel-share-buttons
v5.3.0
- Add support for PHP 8.4
- Add a Bluesky share provider
- Add a Mastodon share provider
- Update README.md
- Some improvements
Note this release requires the config file to be updated with the new providers' configurations.
Full Changelog: v5.2.0...v5.3.0
v5.2.0
What's Changed
ShareButtons
class now implementsStringable
interface- Add the possibility to change the link text in methods (closes #12)
- Add the possibility to access a page url in the text
- Update README.md
- Some improvements
Full Changelog: v5.1.0...v5.2.0
v5.1.0
What's Changed
- Add a
url_templater
configuration option (closes #10) - Add an
InvalidOptionValue
exception - Refactor
TemplateShareButtonsPresenter
toTemplateBasedPresenterMediator
- Remove factories
- Fix some test cases
- Fix some docblocks
- Update README.md
- Some improvement
Full Changelog: v5.0.1...v5.1.0
v5.0.1
What's Changed
- Increase the minimum supported
orchestra/testbench
version - Add a
phpstan/phpstan
dev dependency - Add a Github Action with PHPStan analysis tool
- Update PHPDoc types
- Update README.md
- Some improvement
Full Changelog: v5.0.0...v5.0.1
v5.0.0
What's Changed
- Drop support of the old 6 and 7 Laravel versions
- Add support for PHP 8.3
- Add support for Laravel 11
- Add support for PHPUnit 11
- Update README.md
- Some improvements
This is a major release because it drops the old Laravel versions.
Full Changelog: v4.0.0...v5.0.0
v4.0.0
What's Changed
- Add a separate JS function that can be attached to an event manually suggested by @ronald2wing in 4751934
- Add default styles by @kudashevs in #5
- Change the share buttons block id attribute to
social-buttons
in aaf9294 - Change the default representation of share buttons in 56afaf2
- Change the twitter icon by @kudashevs in #4
- Change the publishing assets paths in d9af454
- Change the publishing assets tags
- Update tests (almost representation independent now)
- Update README.md
- Some improvement
This is a major release. The changes of the block id attribute and default representation break the backward compatibility. Don't forget to republish the config file.
New Contributors
- @ronald2wing made their first contribution in #1
Full Changelog: v3.3.0...v4.0.0
v3.3.0
- Add a plain JavaScript implementation
- Move jQuery implementation to a new file
- Update README.md
- Some improvements
This release moves the jQuery implementation to a new file resources/assets/js/share-buttons.jquery.js
.
The old file resources/assets/js/share-buttons.js
contains the plain JS code from now on. This change
doesn't break anything (even if you compile your assets). However, it is better to mention this fact here.
v3.2.0
v3.1.0
v3.0.0
- Increase the minimum supported PHP version to 7.4
- Add support for PHP 8.2 version
- Add support for Laravel 9
- Add a
templater
configuration option - Remove the
throwException
configuration option - Change the
share
alias rename tosharebuttons
- Change config
providers
rename tobuttons
- Update the Laravel service provider
- Update README.md
- Massive refactoring
Breaking change: the container binding alias has changed from share
to sharebuttons
. Don't forget to republish the config file - pay attention that the providers
property was replaced with the buttons
property.