You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: replace global secret parameter with auto-generated secret (#6)
* feat!: replace global secret parameter with auto-generated secret
- Remove GLOBAL_SECRET environment variable and command line flag
- Add LoadOrGenerateSecret function to automatically generate and persist secrets
- Update documentation to remove global secret references
- Add developer guidelines for conventional commits
BREAKING CHANGE: GLOBAL_SECRET environment variable and --global-secret flag are no longer supported. Secrets are now automatically generated and persisted.
* Update pkg/utils/keys.go
Co-authored-by: Copilot <[email protected]>
* refactor: extract secret size to named constant
Replace magic number 32 with SecretSize constant for better maintainability.
---------
Co-authored-by: Copilot <[email protected]>
This project follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification for commit messages. This helps with automated versioning, changelog generation, and makes the commit history more readable.
119
+
120
+
#### Format
121
+
122
+
```
123
+
<type>[optional scope]: <description>
124
+
125
+
[optional body]
126
+
127
+
[optional footer(s)]
128
+
```
129
+
130
+
#### Types
131
+
132
+
-**feat**: A new feature
133
+
-**fix**: A bug fix
134
+
-**docs**: Documentation only changes
135
+
-**style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
136
+
-**refactor**: A code change that neither fixes a bug nor adds a feature
137
+
-**perf**: A code change that improves performance
138
+
-**test**: Adding missing tests or correcting existing tests
139
+
-**build**: Changes that affect the build system or external dependencies
140
+
-**ci**: Changes to our CI configuration files and scripts
141
+
-**chore**: Other changes that don't modify src or test files
142
+
-**revert**: Reverts a previous commit
143
+
144
+
#### Examples
145
+
146
+
```
147
+
feat: add GitHub OAuth provider support
148
+
fix: resolve token expiration handling
149
+
docs: update OAuth setup instructions
150
+
refactor: simplify authentication middleware
151
+
ci: add automated release workflow
152
+
```
153
+
154
+
#### Breaking Changes
155
+
156
+
Breaking changes should be indicated by a `!` after the type/scope:
157
+
158
+
```
159
+
feat!: change authentication API to support multiple providers
0 commit comments