Skip to content

Releases: kudashevs/laravel-share-buttons

v5.3.0

07 Dec 12:29
Compare
Choose a tag to compare
  • 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

28 Sep 13:32
Compare
Choose a tag to compare

What's Changed

  • ShareButtons class now implements Stringable 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

15 Apr 21:22
Compare
Choose a tag to compare

What's Changed

  • Add a url_templater configuration option (closes #10)
  • Add an InvalidOptionValue exception
  • Refactor TemplateShareButtonsPresenter to TemplateBasedPresenterMediator
  • 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

02 Apr 20:30
Compare
Choose a tag to compare

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

17 Mar 12:03
Compare
Choose a tag to compare

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

14 Aug 21:32
Compare
Choose a tag to compare

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

Full Changelog: v3.3.0...v4.0.0

v3.3.0

08 Apr 16:03
Compare
Choose a tag to compare
  • 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

02 Apr 11:31
Compare
Choose a tag to compare
  • Add support for Laravel 10
  • Add a new render method
  • Update README.md
  • Some improvements

This release sets the minimum supported PHPUnit version to 9.1.

v3.1.0

16 Dec 16:04
Compare
Choose a tag to compare
  • Remove a redundant reportUnexpectedCalls option
  • Some improvements

v3.0.0

05 Dec 20:58
Compare
Choose a tag to compare
  • 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 to sharebuttons
  • Change config providers rename to buttons
  • 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.