decap-cms-backend-gitea 3.3.0 → 3.4.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.4.0](https://github.com/decaporg/decap-cms/compare/decap-cms-backend-gitea@3.3.0...decap-cms-backend-gitea@3.4.0) (2026-04-16)
7
+
8
+ ### Features
9
+
10
+ - add config option to enable Signed-off-by in commit messages ([#7766](https://github.com/decaporg/decap-cms/issues/7766)) ([4b9ea40](https://github.com/decaporg/decap-cms/commit/4b9ea4040f3b858793052cee287caa3cce2f3af3))
11
+
6
12
  # [3.3.0](https://github.com/decaporg/decap-cms/compare/decap-cms-backend-gitea@3.1.5...decap-cms-backend-gitea@3.3.0) (2025-07-15)
7
13
 
8
14
  ### Features
@@ -119,6 +119,7 @@ export default class Gitea {
119
119
  return {
120
120
  name: user.full_name,
121
121
  login: user.login,
122
+ email: user.email,
122
123
  avatar_url: user.avatar_url,
123
124
  token: state.token
124
125
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "decap-cms-backend-gitea",
3
3
  "description": "Gitea backend for Decap CMS",
4
- "version": "3.3.0",
4
+ "version": "3.4.0",
5
5
  "repository": "https://github.com/decaporg/decap-cms/tree/main/packages/decap-cms-backend-gitea",
6
6
  "bugs": "https://github.com/decaporg/decap-cms/issues",
7
7
  "license": "MIT",
@@ -33,5 +33,5 @@
33
33
  "prop-types": "^15.7.2",
34
34
  "react": "^19.1.0"
35
35
  },
36
- "gitHead": "d3465f53b7f056ad5d872948a07eaa8e4ae63315"
36
+ "gitHead": "45c9f5b9a1a12f74321ce4658b71ec88d6365ec1"
37
37
  }
package/src/API.ts CHANGED
@@ -131,7 +131,7 @@ export default class API {
131
131
 
132
132
  static DEFAULT_COMMIT_MESSAGE = 'Automatically generated by Static CMS';
133
133
 
134
- user(): Promise<{ full_name: string; login: string; avatar_url: string }> {
134
+ user(): Promise<{ full_name: string; login: string; email: string; avatar_url: string }> {
135
135
  if (!this._userPromise) {
136
136
  this._userPromise = this.getUser();
137
137
  }
@@ -183,6 +183,7 @@ export default class Gitea implements Implementation {
183
183
  return {
184
184
  name: user.full_name,
185
185
  login: user.login,
186
+ email: user.email,
186
187
  avatar_url: user.avatar_url,
187
188
  token: state.token as string,
188
189
  };