All Notable changes to laravel-share-buttons
will be documented in this file
- Add support for PHP 8.4
- Add a Bluesky share provider
- Add a Mastodon share provider
- Update README.md
- Some improvements
ShareButtons
class now implementsStringable
interface- Add the possibility to change the link text in methods
- Add the possibility to access a page url in the text
- Update README.md
- Some improvements
- Add a
url_templater
configuration option - Add an
InvalidOptionValue
exception - Refactor
TemplateShareButtonsPresenter
toTemplateBasedPresenterMediator
- Remove factories
- Fix some test cases
- Fix some docblocks
- Update README.md
- Some improvements
- 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 improvements
- 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.
- Add a separate JS function that can be attached to an event manually suggested by @ronald2wing
- Add default styles by @kudashevs in #5
- Change the share buttons block id attribute to
social-buttons
- Change the default representation of share buttons
- Change the twitter icon by @kudashevs in #4
- Change the publishing assets paths
- Change the publishing assets tags
- Update tests (almost representation independent now)
- Update README.md
- Some improvements
This is a major release. The changes of the block id attribute and default representation break the backward compatibility.
- Add a plain JavaScript implementation
- Move jQuery implementation to a new file
- Update README.md
- Some improvements
- Set PHPUnit version to 9.1
- Add a new
render
method - Add support for Laravel 10
- Update README.md
- Some improvements
- Remove a redundant
reportUnexpectedCalls
option - Some improvements
- 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
.
- Add a Xing share provider
- Add a Value object for calls
- Fix missed
currentPage
method - Update README.md
- Some improvements and refactoring
- Add Laravel 9 support
- Change ShareProvider classes to final
- Update ShareButtonsFacade with direct alias
- Update README.md
- Some improvements
- Update TemplateFormatter massive refactoring
- Update exception message generations with sprintf
- Fix README.md fix missed
mail to
service - Update README.md
- Some improvements
- Fix style prefix for copylink and mailto icons
- Add a mailto share provider
- Fix CHANGELOG.md compare links
- Some improvements
- Change the package templater
- Move representations from a language file to config
- Update README.md
This is a major release which has a breaking change. It removes the language file with representations.