Skip to content

Commit

Permalink
1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
niksamokhvalov committed Dec 27, 2017
1 parent 22061d7 commit 0f9cafb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## 1.0.0-beta - 2017-12-27

### Added

- `README.md` - `Usage` and `Exceptions` blocks
- `src/LockInterface` - lock model interface for custom lock class
- Ability to install custom lock class via definitions
- `README.md` - `Usage` and `Exceptions` blocks.
- `LockInterface` - lock model interface for custom lock class.
- Ability to install custom lock class via definitions.

### Changed

- Move part logic from `src/LockManager.php` to `src/Lock.php`
- Move part logic from `LockManager` to `Lock`.

### Fixed
- `Bootstrap` - fix initialization
- `Bootstrap` - fix initialization.

## 1.0.0-alpha2 - 2017-08-18

### Added
- `Bootstrap` - bootstrapping component as well as an localization initializator.

### Fixed
- `src/LockManager.php` - component init before user authentification.
- `LockManager` - component init before user authentification.
- `checkAccess` callable in `notamedia\locker\rest\Action`.

## 1.0.0-alpha - 2017-07-28
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ Usage
-----

Methods:
* src/rest/LockAction.php - activates lock and returns `204` status code if successful
* src/rest/UnlockAction.php - deactivates lock and returns `204` status code if successful
* `LockAction` - activates lock and returns `204` status code if successful
* `UnlockAction` - deactivates lock and returns `204` status code if successful

Exceptions
----------

* src/LockAnotherUserException.php - exception if lock set another user, status code `500`
* src/LockNotExistException.php - exception if lock not exist, status code `500`
* src/LockNotExpiredException.php - exception if lock actual and its time not expired, status code `500`
* `LockAnotherUserException` - exception if lock set another user, status code `500`
* `LockNotExistException` - exception if lock not exist, status code `500`
* `LockNotExpiredException` - exception if lock actual and its time not expired, status code `500`

0 comments on commit 0f9cafb

Please sign in to comment.