Skip to content

Commit

Permalink
chore: Bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
  • Loading branch information
brunogaspar committed Aug 13, 2019
1 parent 4ff657a commit 3a279a8
Show file tree
Hide file tree
Showing 95 changed files with 202 additions and 185 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

### v3.0.0 - TBA

- Added support for PHP ^7.2 only
- Added support for Laravel ^6.0
- Added PHP 7 Scalar type hints
- Added PHP 7 Return type hints
- Added `Sentinel::getCheckpoints()` method to retrieve all the added Checkpoints
- Added `Sentinel::getActivationRepository()->get()` method to retrieve the valid Activation
- Added `Sentinel::getReminderRepository()->get()` method to retrieve the valid Reminder
- Updated the `Sentinel::getActivationRepository()->exists();` method to always return a boolean
- Updated the `Sentinel::getActivationRepository()->completed();` method to always return a boolean
- Updated the `Sentinel::getReminderRepository()->exists();` method to always return a boolean
- Updated the `findByPersistenceCode()` to return a `PersistenceInterface` or `null` instead of `PersistenceInterface` or `bool`
- Updated the `findUserByPersistenceCode()` to return `UserInterface` or `null` instead of `UserInterface` or `bool`
- Removed integrations for both CodeIgniter and FuelPHP

### v2.0.17 - 2017-11-28

`FIXED`
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The BSD 3-Clause License
Copyright (c) 2011-2017, Cartalyst LLC
Copyright (c) 2011-2019, Cartalyst LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ An open source package by [Cartalyst](https://cartalyst.com), code well, rock on

Version | Laravel | PHP Version
------- | --------- | ------------
3.x | 6.0 | >= 7.2
2.x | 5.0 | >= 5.4.0
1.x | 4.1 - 5.0 | >= 5.4.0

Expand Down Expand Up @@ -42,7 +43,7 @@ This software is released under the [BSD 3-Clause](LICENSE) License.
[link-license]: https://opensource.org/licenses/MIT
[link-packagist]: https://packagist.org/packages/cartalyst/sentinel

[icon-travis]: https://travis-ci.org/cartalyst/sentinel.svg?branch=2.0
[icon-travis]: https://travis-ci.org/cartalyst/sentinel.svg?branch=3.0
[icon-license]: https://poser.pugx.org/cartalyst/sentinel/license
[icon-version]: https://poser.pugx.org/cartalyst/sentinel/version
[icon-downloads]: https://poser.pugx.org/cartalyst/sentinel/downloads
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"extra": {
"component": "package",
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "3.0.x-dev"
},
"laravel": {
"providers": [
Expand Down
4 changes: 2 additions & 2 deletions src/Activations/ActivationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Activations/ActivationRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Activations/EloquentActivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Activations/IlluminateActivationRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/ActivationCheckpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/AuthenticatedCheckpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/CheckpointInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/NotActivatedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/ThrottleCheckpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Checkpoints/ThrottlingException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Cookies/CookieInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Cookies/IlluminateCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Cookies/NativeCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Cookies/NullCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/BcryptHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/CallbackHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/Hasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/HasherInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/NativeHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/Sha256Hasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hashing/WhirlpoolHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/Facades/Activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/Facades/Reminder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/Facades/Sentinel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/SentinelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Native/ConfigRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.17
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @copyright (c) 2011-2019, Cartalyst LLC
* @link http://cartalyst.com
*/

Expand Down
Loading

0 comments on commit 3a279a8

Please sign in to comment.