mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
release: v2.4.1
This commit is contained in:
parent
b790bab9c0
commit
ab74f1ee8d
32
CHANGELOG.md
32
CHANGELOG.md
@ -1,5 +1,37 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v2.4.1 (2024-07-11)
|
||||||
|
|
||||||
|
### Puter
|
||||||
|
|
||||||
|
|
||||||
|
#### Features
|
||||||
|
|
||||||
|
- update BR translation ([42a6b39](https://github.com/HeyPuter/puter/commit/42a6b3938a588b8b4d1bd976c37e9c6e58408c75))
|
||||||
|
- JSON support for kv driver ([3ed7916](https://github.com/HeyPuter/puter/commit/3ed7916856f03eafbe0891f2ab39c34d20d2bd24))
|
||||||
|
|
||||||
|
#### Translations
|
||||||
|
|
||||||
|
- Update bn.js file formatting ([cff488f](https://github.com/HeyPuter/puter/commit/cff488f4f4378ca6c7568a585a665f2a3b87b89c))
|
||||||
|
- Issue#530 - Update bengali translations ([92abc99](https://github.com/HeyPuter/puter/commit/92abc9947f811f94f17a5ee5a4b73ee2b210900a))
|
||||||
|
- Added missing Romanian translations. ([8440f56](https://github.com/HeyPuter/puter/commit/8440f566b91c9eb4f01addcb850061e3fbe3afc7))
|
||||||
|
- Add 2FA Romanian translations ([473b651](https://github.com/HeyPuter/puter/commit/473b6512c697854e3f3badae1eb7b87742954da5))
|
||||||
|
- Add Japanese Translation ([47ec74f](https://github.com/HeyPuter/puter/commit/47ec74f0aa6adb3952e6460909029a4acb0c3039))
|
||||||
|
- Completing Italian translation based on English file ([f5a8ee1](https://github.com/HeyPuter/puter/commit/f5a8ee1c6ab950d62c90b6257791f026a508b4e4))
|
||||||
|
- Completing Italian translation based on English file. ([a96abb5](https://github.com/HeyPuter/puter/commit/a96abb5793528d0dc56d75f95d771e1dcf5960d1))
|
||||||
|
- Completing Arabic translation based on English file ([78a0ace](https://github.com/HeyPuter/puter/commit/78a0acea6980b6d491da4874edbd98e17c0d9577))
|
||||||
|
- Update Arabic translations in src/gui/src/i18n/translations/ar.js to match English version in src/gui/src/i18n/translations/en.js ([fe5be7f](https://github.com/HeyPuter/puter/commit/fe5be7f3cf7f336730137293ba86a637e8d8591d))
|
||||||
|
- Update Arabic translations in src/gui/src/i18n/translations/ar.js to match English version in src/gui/src/i18n/translations/en.js ([bffa192](https://github.com/HeyPuter/puter/commit/bffa192805216fc17045cd8d629f34784dca7f3f))
|
||||||
|
- Ukrainian updated ([e61039f](https://github.com/HeyPuter/puter/commit/e61039faf409b0ad85c7513b0123f3f2e92ebe32))
|
||||||
|
- Update ru.js issue #547 ([17145d0](https://github.com/HeyPuter/puter/commit/17145d0be6a9a1445947cc0c4bec8f16a475144c))
|
||||||
|
- Russian translation fixed ([8836011](https://github.com/HeyPuter/puter/commit/883601142873f10d69c84874499065a7d29af054))
|
||||||
|
|
||||||
|
#### Bug Fixes
|
||||||
|
|
||||||
|
- remove flag that breaks puter-js webpack ([7aadae5](https://github.com/HeyPuter/puter/commit/7aadae58ce1a51f925bf64c3d65ac1fa6971b164))
|
||||||
|
- Improve `getMimeType` to remove trailing dot in the extension if preset ([535475b](https://github.com/HeyPuter/puter/commit/535475b3c36a37e3319ed067a24fb671790dcda3))
|
||||||
|
|
||||||
|
|
||||||
## 2.4.0 (2024-07-08)
|
## 2.4.0 (2024-07-08)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "puter.com",
|
"name": "puter.com",
|
||||||
"version": "1.0.0",
|
"version": "2.4.1",
|
||||||
"author": "Puter Technologies Inc.",
|
"author": "Puter Technologies Inc.",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"description": "Desktop environment in the browser!",
|
"description": "Desktop environment in the browser!",
|
||||||
|
@ -21,17 +21,17 @@ import { simpleGit } from 'simple-git';
|
|||||||
const REPO_URL = 'https://github.com/HeyPuter/puter';
|
const REPO_URL = 'https://github.com/HeyPuter/puter';
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
from: 'v2.3.0',
|
from: 'v2.4.0',
|
||||||
// from: 'v2.4.0',
|
// from: 'v2.4.0',
|
||||||
to: 'v2.5.0',
|
to: 'v2.4.1',
|
||||||
date: '2024-07-08',
|
date: '2024-07-11',
|
||||||
};
|
};
|
||||||
|
|
||||||
const git = simpleGit();
|
const git = simpleGit();
|
||||||
const log = await git.log({ from: params.from });
|
const log = await git.log({ from: params.from });
|
||||||
const commits = log.all;
|
const commits = log.all;
|
||||||
|
|
||||||
const CC_REGEX = /^([a-z]+)(\([a-z]+\))?:\s(.*)/;
|
const CC_REGEX = /^([a-z0-9]+)(\([a-z0-9]+\))?:\s(.*)/;
|
||||||
const parse_conventional_commit = message => {
|
const parse_conventional_commit = message => {
|
||||||
const parts = CC_REGEX.exec(message);
|
const parts = CC_REGEX.exec(message);
|
||||||
if ( ! parts ) return null;
|
if ( ! parts ) return null;
|
||||||
@ -45,9 +45,12 @@ const types = {
|
|||||||
feat: {
|
feat: {
|
||||||
label: 'Features'
|
label: 'Features'
|
||||||
},
|
},
|
||||||
|
i18n: {
|
||||||
|
label: 'Translations'
|
||||||
|
},
|
||||||
fix: {
|
fix: {
|
||||||
label: 'Bug Fixes'
|
label: 'Bug Fixes'
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const scopes = {
|
const scopes = {
|
||||||
@ -66,6 +69,9 @@ const scopes = {
|
|||||||
gui: {
|
gui: {
|
||||||
label: 'GUI'
|
label: 'GUI'
|
||||||
},
|
},
|
||||||
|
tools: {
|
||||||
|
ignore: true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const scope_aliases = {
|
const scope_aliases = {
|
||||||
@ -74,6 +80,40 @@ const scope_aliases = {
|
|||||||
parsely: 'phoenix',
|
parsely: 'phoenix',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const retro_prefixes_0 = {
|
||||||
|
i18n: [
|
||||||
|
'883601142873f10d69c84874499065a7d29af054',
|
||||||
|
'17145d0be6a9a1445947cc0c4bec8f16a475144c',
|
||||||
|
'e61039faf409b0ad85c7513b0123f3f2e92ebe32',
|
||||||
|
'bffa192805216fc17045cd8d629f34784dca7f3f',
|
||||||
|
'fe5be7f3cf7f336730137293ba86a637e8d8591d',
|
||||||
|
'78a0acea6980b6d491da4874edbd98e17c0d9577',
|
||||||
|
'a96abb5793528d0dc56d75f95d771e1dcf5960d1',
|
||||||
|
'f5a8ee1c6ab950d62c90b6257791f026a508b4e4',
|
||||||
|
'47ec74f0aa6adb3952e6460909029a4acb0c3039',
|
||||||
|
'473b6512c697854e3f3badae1eb7b87742954da5',
|
||||||
|
'8440f566b91c9eb4f01addcb850061e3fbe3afc7',
|
||||||
|
'92abc9947f811f94f17a5ee5a4b73ee2b210900a',
|
||||||
|
'cff488f4f4378ca6c7568a585a665f2a3b87b89c',
|
||||||
|
|
||||||
|
],
|
||||||
|
fix: [
|
||||||
|
'535475b3c36a37e3319ed067a24fb671790dcda3',
|
||||||
|
],
|
||||||
|
doc: [
|
||||||
|
'338004474f078a00608af1d0ebf8a7f9534bad28',
|
||||||
|
'6c4c73a9e85ff8eb5e7663dcce11f4d1f824032b',
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
const retro_prefixes = {};
|
||||||
|
for ( const prefix in retro_prefixes_0 ) {
|
||||||
|
for ( const commit_hash of retro_prefixes_0[prefix] ) {
|
||||||
|
console.log('PREFIX', commit_hash, prefix);
|
||||||
|
retro_prefixes[commit_hash] = prefix;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const data = {};
|
const data = {};
|
||||||
const ensure_scope = name => {
|
const ensure_scope = name => {
|
||||||
if ( data[name] ) return;
|
if ( data[name] ) return;
|
||||||
@ -82,17 +122,22 @@ const ensure_scope = name => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
for ( const commit of commits ) {
|
for ( const commit of commits ) {
|
||||||
|
if ( retro_prefixes.hasOwnProperty(commit.hash) ) {
|
||||||
|
commit.message = retro_prefixes[commit.hash] + ': ' +
|
||||||
|
commit.message;
|
||||||
|
}
|
||||||
const meta = parse_conventional_commit(commit.message);
|
const meta = parse_conventional_commit(commit.message);
|
||||||
if ( ! meta ) continue;
|
if ( ! meta ) continue;
|
||||||
let scope = meta.scope ?? 'puter';
|
let scope = meta.scope ?? 'puter';
|
||||||
while ( scope in scope_aliases ) {
|
while ( scope in scope_aliases ) {
|
||||||
scope = scope_aliases[scope];
|
scope = scope_aliases[scope];
|
||||||
}
|
}
|
||||||
ensure_scope(scope);
|
|
||||||
if ( ! scopes[scope] ) {
|
if ( ! scopes[scope] ) {
|
||||||
console.log(commit);
|
console.log(commit);
|
||||||
throw new Error(`missing scope: ${scope}`);
|
throw new Error(`missing scope: ${scope}`);
|
||||||
}
|
}
|
||||||
|
if ( scopes[scope].ignore ) continue;
|
||||||
|
ensure_scope(scope);
|
||||||
|
|
||||||
if ( types.hasOwnProperty(meta.type) ) {
|
if ( types.hasOwnProperty(meta.type) ) {
|
||||||
data[scope][meta.type].push({ meta, commit });
|
data[scope][meta.type].push({ meta, commit });
|
||||||
@ -108,7 +153,7 @@ for ( const scope_name in data ) {
|
|||||||
const type = types[type_name];
|
const type = types[type_name];
|
||||||
const items = scope[type_name];
|
const items = scope[type_name];
|
||||||
if ( items.length == 0 ) continue;
|
if ( items.length == 0 ) continue;
|
||||||
s += `#### ${type.label}\n\n`;
|
s += `\n#### ${type.label}\n\n`;
|
||||||
for ( const { meta, commit } of items ) {
|
for ( const { meta, commit } of items ) {
|
||||||
const shorthash = commit.hash.slice(0,7)
|
const shorthash = commit.hash.slice(0,7)
|
||||||
s += `- ${meta.summary} ([${shorthash}](${REPO_URL}/commit/${commit.hash}))\n`;
|
s += `- ${meta.summary} ([${shorthash}](${REPO_URL}/commit/${commit.hash}))\n`;
|
||||||
|
Loading…
Reference in New Issue
Block a user