Skip to content

Commit

Permalink
repo: Set initial version to 0.1.0 (#5)
Browse files Browse the repository at this point in the history
* Set initial version to 0.1.0

* Change release date

* Reset composer.lock

* Meta stuff

* Update changelog for initial release
  • Loading branch information
Mike Pierce authored Oct 4, 2019
1 parent c7279bb commit e3e98b5
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 15 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0 - 2019-10-02
## 0.1.0 - 2019-10-04

### Added

- Initial release
- Validate incoming requests with a JWT present in the Authentication headers.
- Match a validated JWT to a user account in Craft CMS and login as that user.
- Optionally create a new account if no existing account can be found.
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "edenspiekermann/craft-jwt",
"description": "Enable authentication to Craft through the use of JSON Web Tokens (JWT)",
"type": "craft-plugin",
"version": "1.0.0",
"version": "0.1.0",
"keywords": [
"craft",
"cms",
Expand All @@ -11,13 +11,17 @@
"craft jwt"
],
"support": {
"docs": "https://edenspiekermann.com",
"issues": "https://edenspiekermann.com"
"docs": "https://github.com/edenspiekermann/craft-jwt",
"issues": "https://github.com/edenspiekermann/craft-jwt/issues"
},
"license": "MIT",
"authors": [
{
"name": "Mike Pierce",
"homepage": "https://michaelpierce.trade"
},
{
"name": "Edenspiekermann",
"homepage": "https://edenspiekermann.com"
}
],
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/CraftJwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*
* @property JWTService $jWT
*/
Expand All @@ -49,7 +49,7 @@ class CraftJwt extends Plugin
/**
* @var string
*/
public $schemaVersion = '1.0.0';
public $schemaVersion = '0.1.0';

// Public Methods
// =========================================================================
Expand Down
2 changes: 1 addition & 1 deletion src/assetbundles/craftjwt/CraftJwtAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
class CraftJwtAsset extends AssetBundle
{
Expand Down
2 changes: 1 addition & 1 deletion src/assetbundles/craftjwt/dist/css/CraftJwt.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
* @copyright Copyright (c) 2019 Mike Pierce
* @link https://edenspiekermann.com
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
2 changes: 1 addition & 1 deletion src/assetbundles/craftjwt/dist/js/CraftJwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
* @copyright Copyright (c) 2019 Mike Pierce
* @link https://edenspiekermann.com
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
2 changes: 1 addition & 1 deletion src/controllers/JWTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
class JWTController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
class Settings extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion src/services/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
class JWT extends Component
{
Expand Down
2 changes: 1 addition & 1 deletion src/templates/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @copyright Copyright (c) 2019 Mike Pierce
* @link https://edenspiekermann.com
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
#}

Expand Down
2 changes: 1 addition & 1 deletion src/translations/en/craft-jwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* @author Mike Pierce
* @package CraftJwt
* @since 1.0.0
* @since 0.1.0
*/
return [
'Craft JWT plugin loaded' => 'Craft JWT plugin loaded',
Expand Down

0 comments on commit e3e98b5

Please sign in to comment.