mirror of https://github.com/mifi/lossless-cut
improve whatsnew
parent
251107a073
commit
251107dac7
@ -0,0 +1,16 @@
|
||||
import { readdir, readFile, writeFile } from 'node:fs/promises';
|
||||
|
||||
|
||||
const versionsDir = new URL('../versions/', import.meta.url);
|
||||
|
||||
const versions: { version: string, highlightsMd?: string | undefined }[] = [];
|
||||
|
||||
for (const file of await readdir(versionsDir, { withFileTypes: true })) {
|
||||
if (file.isFile() && file.name.endsWith('.md')) {
|
||||
const version = file.name.replace(/.md$/, '');
|
||||
const content = await readFile(new URL(file.name, versionsDir), { encoding: 'utf8' });
|
||||
versions.push({ version, highlightsMd: content.trim() !== '' ? content : undefined });
|
||||
}
|
||||
}
|
||||
|
||||
await writeFile(new URL('../src/renderer/src/versions.json', import.meta.url), JSON.stringify(versions, null, 2));
|
||||
@ -0,0 +1,13 @@
|
||||
[
|
||||
{
|
||||
"version": "3.64.0"
|
||||
},
|
||||
{
|
||||
"version": "3.66.1",
|
||||
"highlightsMd": "- ‼️ Upgraded Electron to 38 - They dropped support for macOS 11\n- 🆕 Markers: Segments that don't have any end time are now considered \"markers\". They are rendered differently, and are excluded from exports. Markers can be useful for bookmarking locations on the timeline and all markers can be batch exported as screenshots.\n- 🔈 Play multiple audio tracks simultaneously (with FFmpeg-assisted playback)\n- ✅ Remember segment selected/deselected state inside `.llc` file\n- 💿 Split timeline by byte size\n- Modify segments by JavaScript expression\n- Upgraded FFmpeg to 8.0\n- Drastically improve performance of FFmpeg-assisted playback for non-natively supported codecs/formats\n- Improve UI performance and increase max segments to 1000\n- Toggle tracks by expression\n- CSV export/import tags as extra columns\n- New keyboard actions:\n - `toggleDarkMode`: Toggle dark mode\n - `toggleStripCurrentFilter`: Toggle tracks using current filter\n - `toggleStripAll`: Keep or discard all tracks\n - `toggleStripSubtitle`: Keep or discard subtitle tracks\n - `toggleStripVideo`: Keep or discard video tracks\n - `selectSegmentsAtCursor`\n - `makeCursorTimeZero`: Allow setting timeline zero offset to current cursor time - this effectively also means allowing a negative time offset\n- New shortcuts:\n - <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>up</kbd> Jump & seek to previous segment\n - <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>down</kbd> Jump & seek to next segment\n - <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pageup</kbd> Jump & seek to first segment\n - <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pagedown</kbd> Jump & seek to last segment\n- Add new file name template variables:\n - `CUT_DURATION`\n - `CUT_FROM_NUM`\n - `CUT_TO_NUM`\n - `FILE_EXPORT_COUNT`\n - `EXPORT_COUNT`\n - `SEG_LABEL` (cut+merge mode)\n- Change `SEG_NUM` and `SEG_NUM_INT` variables: they will now correspond to the original index of the segment as shown in the number on the segment list. New variables `SELECTED_SEG_NUM` and `SELECTED_SEG_NUM_INT` can be used for previous behavior (where the numbering is based on the segment's number in the list of *selected* segments).\n- All segments will now have a start time defined - `.llc` project file version bumped to v2 (to migrate missing `start` times). Missing end time now means that the segment is a marker (previously it meant the segment extended to end of timeline).\n"
|
||||
},
|
||||
{
|
||||
"version": "3.67.0",
|
||||
"highlightsMd": "- Improve UI and dark/light mode\n- Allow <kbd>Shift</kbd> + mouse click/drag to move/resize segments (configurable modifier key)\n- Use native web keyboard events: This makes keybindings consistently independent of keyboard layout.\n- New action `play-selected-segments` (play once, no loop)\n- Use file name template also for merge files\n- Persist more app state\n- New, improved reduce motion setting to override OS default\n- Dialog button positions are now OS-dependent\n- Add \"What's new\" (this dialog!)\n"
|
||||
}
|
||||
]
|
||||
@ -1,18 +0,0 @@
|
||||
const versions: { version: string, highlights?: string[] }[] = [
|
||||
{
|
||||
version: '3.66.1',
|
||||
highlights: [
|
||||
'‼️ Upgraded Electron to 38 - They dropped support for macOS 11',
|
||||
'🆕 Markers: Segments that don\'t have any end time are now considered "markers". They are rendered differently, and are excluded from exports. Markers can be useful for bookmarking locations on the timeline and all markers can be batch exported as screenshots.',
|
||||
'🔈 Play multiple audio tracks simultaneously (with FFmpeg-assisted playback)',
|
||||
'✅ Remember segment selected/deselected state inside .llc file',
|
||||
'💿 Split timeline by byte size',
|
||||
'Upgraded FFmpeg to 8.0',
|
||||
],
|
||||
},
|
||||
{
|
||||
version: '3.64.0',
|
||||
},
|
||||
];
|
||||
|
||||
export default versions;
|
||||
@ -0,0 +1,33 @@
|
||||
- ‼️ Upgraded Electron to 38 - They dropped support for macOS 11
|
||||
- 🆕 Markers: Segments that don't have any end time are now considered "markers". They are rendered differently, and are excluded from exports. Markers can be useful for bookmarking locations on the timeline and all markers can be batch exported as screenshots.
|
||||
- 🔈 Play multiple audio tracks simultaneously (with FFmpeg-assisted playback)
|
||||
- ✅ Remember segment selected/deselected state inside `.llc` file
|
||||
- 💿 Split timeline by byte size
|
||||
- Modify segments by JavaScript expression
|
||||
- Upgraded FFmpeg to 8.0
|
||||
- Drastically improve performance of FFmpeg-assisted playback for non-natively supported codecs/formats
|
||||
- Improve UI performance and increase max segments to 1000
|
||||
- Toggle tracks by expression
|
||||
- CSV export/import tags as extra columns
|
||||
- New keyboard actions:
|
||||
- `toggleDarkMode`: Toggle dark mode
|
||||
- `toggleStripCurrentFilter`: Toggle tracks using current filter
|
||||
- `toggleStripAll`: Keep or discard all tracks
|
||||
- `toggleStripSubtitle`: Keep or discard subtitle tracks
|
||||
- `toggleStripVideo`: Keep or discard video tracks
|
||||
- `selectSegmentsAtCursor`
|
||||
- `makeCursorTimeZero`: Allow setting timeline zero offset to current cursor time - this effectively also means allowing a negative time offset
|
||||
- New shortcuts:
|
||||
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>up</kbd> Jump & seek to previous segment
|
||||
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>down</kbd> Jump & seek to next segment
|
||||
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pageup</kbd> Jump & seek to first segment
|
||||
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pagedown</kbd> Jump & seek to last segment
|
||||
- Add new file name template variables:
|
||||
- `CUT_DURATION`
|
||||
- `CUT_FROM_NUM`
|
||||
- `CUT_TO_NUM`
|
||||
- `FILE_EXPORT_COUNT`
|
||||
- `EXPORT_COUNT`
|
||||
- `SEG_LABEL` (cut+merge mode)
|
||||
- Change `SEG_NUM` and `SEG_NUM_INT` variables: they will now correspond to the original index of the segment as shown in the number on the segment list. New variables `SELECTED_SEG_NUM` and `SELECTED_SEG_NUM_INT` can be used for previous behavior (where the numbering is based on the segment's number in the list of *selected* segments).
|
||||
- All segments will now have a start time defined - `.llc` project file version bumped to v2 (to migrate missing `start` times). Missing end time now means that the segment is a marker (previously it meant the segment extended to end of timeline).
|
||||
@ -0,0 +1,9 @@
|
||||
- Improve UI and dark/light mode
|
||||
- Allow <kbd>Shift</kbd> + mouse click/drag to move/resize segments (configurable modifier key)
|
||||
- Use native web keyboard events: This makes keybindings consistently independent of keyboard layout.
|
||||
- New action `play-selected-segments` (play once, no loop)
|
||||
- Use file name template also for merge files
|
||||
- Persist more app state
|
||||
- New, improved reduce motion setting to override OS default
|
||||
- Dialog button positions are now OS-dependent
|
||||
- Add "What's new" (this dialog!)
|
||||
Loading…
Reference in New Issue