propel_authentication 0.3.1.2 → 0.3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed22a9ad44e3e469f99ecf5ace801fb72aaa445d61651f779dd2cf48e8d98928
|
4
|
+
data.tar.gz: e481ff893b4b8f0c119027dd14b7a6b8622c964e483425e3a262b5b542ad4f80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1054e52568bd9dff16cb1239b8348f974c0eea4cc3b776512661373accdc9a81ee24c7c9f95eaf103fb93b256d9ca2c42161b5b8863b8605fbe550fa03ca197c
|
7
|
+
data.tar.gz: ddef2ce77da126feefd41efa5d7092ea15de672657d7bd2ee85b3be0a7f36a5c019762482b455eaaa8301fc3f439c660e6b46cc21e0a0ee33fcb7107b846673c
|
data/CHANGELOG.md
CHANGED
@@ -13,13 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
- Session management and device tracking
|
14
14
|
- Advanced password policies
|
15
15
|
|
16
|
-
## [0.3.1.
|
16
|
+
## [0.3.1.4] - 2025-09-11
|
17
17
|
|
18
|
-
### 🔧
|
19
|
-
- **
|
20
|
-
-
|
21
|
-
-
|
22
|
-
|
18
|
+
### 🔧 Version Synchronization
|
19
|
+
- **Version Consistency**: Updated version to maintain consistency with PropelApi 0.3.1.4 critical bug fix
|
20
|
+
- No functional changes in this release
|
21
|
+
- Synchronized release with PropelApi polymorphic parents parsing fix
|
22
|
+
|
23
|
+
## [0.3.1.3] - 2025-09-11
|
23
24
|
|
24
25
|
### 🐛 Bug Fixes
|
25
26
|
- **HTTP Status Code Consistency**: Fixed tokens controller HTTP status codes for better standards compliance
|
@@ -27,6 +28,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
27
28
|
- More consistent error responses across authentication endpoints
|
28
29
|
- Better alignment with standard HTTP parameter validation practices
|
29
30
|
|
31
|
+
## [0.3.1.2] - 2025-09-11
|
32
|
+
|
33
|
+
### 🔧 Compatibility Updates
|
34
|
+
- **PropelApi Integration**: Enhanced compatibility with PropelApi 0.3.1.2's new JSON field defaults feature
|
35
|
+
- Authentication model templates now work seamlessly with automatic JSON field defaults
|
36
|
+
- Better coordination with PropelApi's enhanced migration generation system
|
37
|
+
- Improved fixture generation for JSON fields with default values
|
38
|
+
|
30
39
|
## [0.3.1.1] - 2025-09-11
|
31
40
|
|
32
41
|
### 🐛 Bug Fixes
|
@@ -66,7 +66,7 @@ class <%= auth_controller_class_name('tokens') %> < Api::BaseController
|
|
66
66
|
token = params[:token]
|
67
67
|
|
68
68
|
if token.blank?
|
69
|
-
render json: { error: 'Token is required' }, status: :
|
69
|
+
render json: { error: 'Token is required' }, status: :unprocessable_content
|
70
70
|
return
|
71
71
|
end
|
72
72
|
|
@@ -104,7 +104,7 @@ class <%= auth_controller_class_name('tokens') %> < Api::BaseController
|
|
104
104
|
|
105
105
|
def validate_login_parameters
|
106
106
|
unless params[:user].present? && params[:user][:email_address].present? && params[:user][:password].present?
|
107
|
-
render json: { error: 'Email address and password are required' }, status: :
|
107
|
+
render json: { error: 'Email address and password are required' }, status: :unprocessable_content
|
108
108
|
end
|
109
109
|
end
|
110
110
|
end
|