Merge branch 'dev' into eckartal-patch-1
This commit is contained in:
commit
5afedef032
File diff suppressed because one or more lines are too long
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 16
|
sidebar_position: 17
|
||||||
slug: /changelog/changelog-v0.2.0
|
slug: /changelog/changelog-v0.2.0
|
||||||
---
|
---
|
||||||
# v0.2.0
|
# v0.2.0
|
||||||
|
|
||||||
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.0)
|
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.0)
|
||||||
|
|
||||||
Highlighted Issue: [Issue #342: feat: Add Jan Hacker House event page to Docs](https://github.com/janhq/jan/pull/342)
|
Highlighted Issue: [Issue #342: feat: Add Jan Hacker House event page to Docs](https://github.com/janhq/jan/pull/342)
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
- feat: Add Jan Hacker House event page to Docs @dan-jan (#342)
|
- feat: Add Jan Hacker House event page to Docs @dan-jan (#342)
|
||||||
@ -44,4 +44,4 @@ Highlighted Issue: [Issue #342: feat: Add Jan Hacker House event page to Docs](
|
|||||||
## Contributor
|
## Contributor
|
||||||
|
|
||||||
@0xSage, @Its-Alamin-H, @dan-jan, @drakehere, @hiento09, @hientominh, @louis-jan, @namchuai, Hien To and James
|
@0xSage, @Its-Alamin-H, @dan-jan, @drakehere, @hiento09, @hientominh, @louis-jan, @namchuai, Hien To and James
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 15
|
sidebar_position: 16
|
||||||
slug: /changelog/changelog-v0.2.1
|
slug: /changelog/changelog-v0.2.1
|
||||||
---
|
---
|
||||||
# v0.2.1
|
# v0.2.1
|
||||||
|
|
||||||
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.1)
|
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.1)
|
||||||
|
|
||||||
Highlighted Issue: [Issue #446: fix: model is started but the indicator is not stopped loading](https://github.com/janhq/jan/pull/446)
|
Highlighted Issue: [Issue #446: fix: model is started but the indicator is not stopped loading](https://github.com/janhq/jan/pull/446)
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
- fix: model is started but the indicator is not stopped loading @louis-jan (#446)
|
- fix: model is started but the indicator is not stopped loading @louis-jan (#446)
|
||||||
@ -90,4 +90,4 @@ Highlighted Issue: [Issue #446: fix: model is started but the indicator is not
|
|||||||
## Contributor
|
## Contributor
|
||||||
|
|
||||||
@0xSage, @dan-jan, @hiento09, @jan-service-account, @louis-jan, @nam-john-ho, @namchuai, @tikikun, @urmauur, @vuonghoainam and Hien To
|
@0xSage, @dan-jan, @hiento09, @jan-service-account, @louis-jan, @nam-john-ho, @namchuai, @tikikun, @urmauur, @vuonghoainam and Hien To
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 14
|
sidebar_position: 15
|
||||||
slug: /changelog/changelog-v0.2.2
|
slug: /changelog/changelog-v0.2.2
|
||||||
---
|
---
|
||||||
# v0.2.2
|
# v0.2.2
|
||||||
|
|
||||||
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.2)
|
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.2)
|
||||||
|
|
||||||
Highlighted Issue: [Issue #469: chore: plugin and app version dependency](https://github.com/janhq/jan/pull/469)
|
Highlighted Issue: [Issue #469: chore: plugin and app version dependency](https://github.com/janhq/jan/pull/469)
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
- chore: plugin and app version dependency @louis-jan (#469)
|
- chore: plugin and app version dependency @louis-jan (#469)
|
||||||
@ -40,4 +40,4 @@ Highlighted Issue: [Issue #469: chore: plugin and app version dependency](https
|
|||||||
## Contributor
|
## Contributor
|
||||||
|
|
||||||
@hiento09, @jan-service-account, @louis-jan, @namchuai, @urmauur and @vuonghoainam
|
@hiento09, @jan-service-account, @louis-jan, @namchuai, @urmauur and @vuonghoainam
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 13
|
sidebar_position: 14
|
||||||
slug: /changelog/changelog-v0.2.3
|
slug: /changelog/changelog-v0.2.3
|
||||||
---
|
---
|
||||||
# v0.2.3
|
# v0.2.3
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 12
|
sidebar_position: 13
|
||||||
slug: /changelog/changelog-v0.3.0
|
slug: /changelog/changelog-v0.3.0
|
||||||
---
|
---
|
||||||
# v0.3.0
|
# v0.3.0
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 11
|
sidebar_position: 12
|
||||||
slug: /changelog/changelog-v0.3.1
|
slug: /changelog/changelog-v0.3.1
|
||||||
---
|
---
|
||||||
# v0.3.1
|
# v0.3.1
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 10
|
sidebar_position: 11
|
||||||
slug: /changelog/changelog-v0.3.2
|
slug: /changelog/changelog-v0.3.2
|
||||||
---
|
---
|
||||||
# v0.3.2
|
# v0.3.2
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 9
|
sidebar_position: 10
|
||||||
slug: /changelog/changelog-v0.3.3
|
slug: /changelog/changelog-v0.3.3
|
||||||
---
|
---
|
||||||
# v0.3.3
|
# v0.3.3
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 8
|
sidebar_position: 9
|
||||||
slug: /changelog/changelog-v0.4.0
|
slug: /changelog/changelog-v0.4.0
|
||||||
---
|
---
|
||||||
# v0.4.0
|
# v0.4.0
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 7
|
sidebar_position: 8
|
||||||
slug: /changelog/changelog-v0.4.1
|
slug: /changelog/changelog-v0.4.1
|
||||||
---
|
---
|
||||||
# v0.4.1
|
# v0.4.1
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 6
|
sidebar_position: 7
|
||||||
slug: /changelog/changelog-v0.4.2
|
slug: /changelog/changelog-v0.4.2
|
||||||
---
|
---
|
||||||
# v0.4.2
|
# v0.4.2
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 5
|
sidebar_position: 6
|
||||||
slug: /changelog/changelog-v0.4.3
|
slug: /changelog/changelog-v0.4.3
|
||||||
---
|
---
|
||||||
# v0.4.3
|
# v0.4.3
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 4
|
sidebar_position: 5
|
||||||
slug: /changelog/changelog-v0.4.4
|
slug: /changelog/changelog-v0.4.4
|
||||||
---
|
---
|
||||||
# v0.4.4
|
# v0.4.4
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 3
|
sidebar_position: 4
|
||||||
slug: /changelog/changelog-v0.4.5
|
slug: /changelog/changelog-v0.4.5
|
||||||
---
|
---
|
||||||
# v0.4.5
|
# v0.4.5
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 3
|
||||||
slug: /changelog/changelog-v0.4.6
|
slug: /changelog/changelog-v0.4.6
|
||||||
---
|
---
|
||||||
# v0.4.6
|
# v0.4.6
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 2
|
||||||
slug: /changelog/changelog-v0.4.7
|
slug: /changelog/changelog-v0.4.7
|
||||||
---
|
---
|
||||||
# v0.4.7
|
# v0.4.7
|
||||||
|
|||||||
98
docs/docs/releases/changelog/changelog-v0.4.8.mdx
Normal file
98
docs/docs/releases/changelog/changelog-v0.4.8.mdx
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
slug: /changelog/changelog-v0.4.8
|
||||||
|
---
|
||||||
|
# v0.4.8
|
||||||
|
|
||||||
|
For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4.8)
|
||||||
|
|
||||||
|
Highlighted Issue: [Issue #2267: Release cut v0.4.8](https://github.com/janhq/jan/pull/2267)
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Release cut v0.4.8 @louis-jan (#2267)
|
||||||
|
- Add modify notary team in CI @hiento09 (#2265)
|
||||||
|
- Chore: Update new models to model hub @hahuyhoang411 (#2192)
|
||||||
|
- Macos Notarize migrage to new Team ID @hiento09 (#2228)
|
||||||
|
- docs: update API Reference assistants\_id endpoint from DevDocs @avb-is-me (#2195)
|
||||||
|
- docs: update API Reference assistants endpoint from DevDocs @avb-is-me (#2194)
|
||||||
|
- docs: update API Reference threads endpoint from DevDocs @avb-is-me (#2182)
|
||||||
|
- fix: wrong profile parameter in docker command @mooncool (#2159)
|
||||||
|
- Sync release 0.4.7 to dev @louis-jan (#2151)
|
||||||
|
- docs: add upstream acknowledgements @hieu-jan (#2136)
|
||||||
|
- Sync dev branch to docs branch @hieu-jan (#2131)
|
||||||
|
|
||||||
|
## 🚀 Features
|
||||||
|
|
||||||
|
- feat: prompt user to download an update manually @louis-jan (#2261)
|
||||||
|
- feat: Jan can see @hiro-v (#2069)
|
||||||
|
- Revert feat: temporary remove dark mode @urmauur (#2221)
|
||||||
|
- feat: add turborepo @louis-jan (#2220)
|
||||||
|
- fix: change button import model on hub page @urmauur (#2178)
|
||||||
|
- feat: temporary remove dark mode :( @urmauur (#2168)
|
||||||
|
- feat: add import model feature @namchuai (#2104)
|
||||||
|
- feat: restore docusaurus style @urmauur (#2152)
|
||||||
|
- feat: add a simple way to convert Hugging Face model to GGUF @Helloyunho (#1972)
|
||||||
|
|
||||||
|
## 🐛 Fixes
|
||||||
|
|
||||||
|
- codesign script force sign @hiento09 (#2291)
|
||||||
|
- fix: should not attach error messages to the completion request @louis-jan (#2258)
|
||||||
|
- fix: image upload button and drag event are not enabled @louis-jan (#2248)
|
||||||
|
- fix: error message being sent along with conversation when inference @namchuai (#2242)
|
||||||
|
- fix: replaced user path from app log @namchuai (#2238)
|
||||||
|
- fix: drag and drop support image format to support vision model @urmauur (#2237)
|
||||||
|
- fix: re-configure changelog sections @hieu-jan (#2230)
|
||||||
|
- fix: import from HuggingFace with random string is causing app crash @louis-jan (#2214)
|
||||||
|
- fix: comment from QA regarding import model @namchuai (#2213)
|
||||||
|
- fix: download model error does not reset state in model hub @namchuai (#2199)
|
||||||
|
- fix: minor ui missing secondary background @urmauur (#2198)
|
||||||
|
- docs: update docker command @hieu-jan (#2180)
|
||||||
|
- fix: some bugs for import model @namchuai (#2181)
|
||||||
|
- fix: change button import model on hub page @urmauur (#2178)
|
||||||
|
- fix space between progress bar and title list of gpu @urmauur (#2177)
|
||||||
|
- fix: disabled prompt user using dangerouslySetInnerHTML @urmauur (#2176)
|
||||||
|
- fix: style list of gpus on system monitor @urmauur (#2172)
|
||||||
|
- fix: system monitor expand overlap tooltip ribbon @urmauur (#2158)
|
||||||
|
- Huggingface extension add codesign step for building on darwin @hiento09 (#2166)
|
||||||
|
- Add run codesign for huggingface extension @hiento09 (#2163)
|
||||||
|
- fix: system monitor ui @urmauur (#2135)
|
||||||
|
|
||||||
|
## 🧰 Maintenance
|
||||||
|
|
||||||
|
- chore: temporary remove convert model @namchuai (#2266)
|
||||||
|
- docs: sync slug fix from dev branch to docs branch @hieu-jan (#2264)
|
||||||
|
- docs: Update broken link and fix the slug @aindrajaya (#2260)
|
||||||
|
- docs: Fix navbar issues. Keep stay when clicked other menu items from the sidebar @aindrajaya (#2253)
|
||||||
|
- docs: sync docs hub fixes from dev to docs branch @hieu-jan (#2247)
|
||||||
|
- docs: Update content for Hub page and Guides section @aindrajaya (#2245)
|
||||||
|
- docs: Fix Dark Mode on the Hub page and Update the Navbar functionality @aindrajaya (#2243)
|
||||||
|
- chore: sync dev branch to docs branch @hieu-jan (#2239)
|
||||||
|
- Chore: add prefix latest for task clean r2 bucket @hiento09 (#2233)
|
||||||
|
- fix: re-configure changelog sections @hieu-jan (#2230)
|
||||||
|
- docs: add command run API server without frontend @hieu-jan (#2231)
|
||||||
|
- docs: revamp entire Jan guides @hieu-jan (#2139)
|
||||||
|
- chore: clean up some redundant code @namchuai (#2215)
|
||||||
|
- docs: update API Reference chatCompletions from DevDocs @avb-is-me (#2171)
|
||||||
|
- docs: update API Reference download model from DevDocs @avb-is-me (#2170)
|
||||||
|
- docs: update API Reference model\_id from DevDocs @avb-is-me (#2169)
|
||||||
|
- docs: update API Reference listModel from DevDocs @avb-is-me (#2161)
|
||||||
|
- docs: Update 08-antivirus-compatibility-testing.md @0xSage (#2186)
|
||||||
|
- docs: adding new feature for v0.4.7 to release checklist @Van-QA (#2189)
|
||||||
|
- docs: Update 01-integrate-continue.mdx @0xSage (#2187)
|
||||||
|
- chore: bump nitro 0.3.14 @louis-jan (#2183)
|
||||||
|
- docs: Sync dev branch to docs branch @hieu-jan (#2185)
|
||||||
|
- docs: update docker command @hieu-jan (#2180)
|
||||||
|
- docs: update wall of love @hieu-jan (#2179)
|
||||||
|
- docs: add Jan newsletter @hieu-jan (#2174)
|
||||||
|
- chore: make convert gguf as experimental feature @namchuai (#2156)
|
||||||
|
- docs: update acknowledgements @hieu-jan (#2147)
|
||||||
|
- feat: restore docusaurus style @urmauur (#2152)
|
||||||
|
- docs: update run Jan in Docker mode @hieu-jan (#2150)
|
||||||
|
- Docs pena team - Add Quickstart Docs @aindrajaya (#2138)
|
||||||
|
- docs: hide incomplete pages @hieu-jan (#2127)
|
||||||
|
|
||||||
|
## Contributor
|
||||||
|
|
||||||
|
@0xSage, @Helloyunho, @Van-QA, @aindrajaya, @avb-is-me, @hahuyhoang411, @hiento09, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @mooncool, @namchuai and @urmauur
|
||||||
|
|
||||||
@ -2,7 +2,7 @@ const fs = require('fs');
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
|
|
||||||
async function fetchData(siteConfig) {
|
async function fetchData(siteConfig, forceRefresh = false) {
|
||||||
const owner = siteConfig.organizationName;
|
const owner = siteConfig.organizationName;
|
||||||
const repo = siteConfig.projectName;
|
const repo = siteConfig.projectName;
|
||||||
const apiUrl = `https://api.github.com/repos/${owner}/${repo}/releases`;
|
const apiUrl = `https://api.github.com/repos/${owner}/${repo}/releases`;
|
||||||
@ -17,7 +17,7 @@ async function fetchData(siteConfig) {
|
|||||||
const cacheFilePath = path.join(outputDirectory, 'cache.json');
|
const cacheFilePath = path.join(outputDirectory, 'cache.json');
|
||||||
|
|
||||||
let cachedData = {};
|
let cachedData = {};
|
||||||
if (fs.existsSync(cacheFilePath)) {
|
if (fs.existsSync(cacheFilePath) && !forceRefresh) {
|
||||||
cachedData = JSON.parse(fs.readFileSync(cacheFilePath, 'utf-8'));
|
cachedData = JSON.parse(fs.readFileSync(cacheFilePath, 'utf-8'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ async function fetchData(siteConfig) {
|
|||||||
// Fetch releases from GitHub API or load from cache
|
// Fetch releases from GitHub API or load from cache
|
||||||
let releases = [];
|
let releases = [];
|
||||||
try {
|
try {
|
||||||
if (cachedData.releases) {
|
if (cachedData.releases && !forceRefresh) {
|
||||||
console.log('Loading releases from cache...');
|
console.log('Loading releases from cache...');
|
||||||
releases = cachedData.releases;
|
releases = cachedData.releases;
|
||||||
} else {
|
} else {
|
||||||
@ -68,6 +68,36 @@ async function fetchData(siteConfig) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if there are new releases
|
||||||
|
const newReleases = releases.filter(release => {
|
||||||
|
const version = release.tag_name;
|
||||||
|
const existingChangelogPath = path.join(outputDirectory, `changelog-${version}.mdx`);
|
||||||
|
return !fs.existsSync(existingChangelogPath);
|
||||||
|
});
|
||||||
|
|
||||||
|
// If there are new releases, update existing changelog files' sidebar positions
|
||||||
|
if (newReleases.length > 0) {
|
||||||
|
console.log(`Updating sidebar positions for ${newReleases.length} new releases...`);
|
||||||
|
const existingChangelogFiles = fs.readdirSync(outputDirectory)
|
||||||
|
.filter(file => file.startsWith('changelog-'));
|
||||||
|
|
||||||
|
existingChangelogFiles.forEach((filename, index) => {
|
||||||
|
const version = filename.substring(10, filename.length - 4);
|
||||||
|
const existingChangelogPath = path.join(outputDirectory, filename);
|
||||||
|
const content = fs.readFileSync(existingChangelogPath, 'utf-8');
|
||||||
|
const sidebarPositionMatch = content.match(/sidebar_position: (\d+)/);
|
||||||
|
let sidebarPosition = index + 1;
|
||||||
|
|
||||||
|
if (sidebarPositionMatch) {
|
||||||
|
sidebarPosition = parseInt(sidebarPositionMatch[1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
const updatedContent = content.replace(/sidebar_position: (\d+)/, `sidebar_position: ${sidebarPosition}`);
|
||||||
|
fs.writeFileSync(existingChangelogPath, updatedContent, 'utf-8');
|
||||||
|
console.log(`Sidebar position updated for changelog-${version}`);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Process the GitHub releases data here
|
// Process the GitHub releases data here
|
||||||
for (const release of releases) {
|
for (const release of releases) {
|
||||||
const version = release.tag_name;
|
const version = release.tag_name;
|
||||||
|
|||||||
@ -24,7 +24,7 @@ module.exports = function (context, options) {
|
|||||||
|
|
||||||
async onPostBuild() {
|
async onPostBuild() {
|
||||||
// If you need additional actions after the build, you can include them here.
|
// If you need additional actions after the build, you can include them here.
|
||||||
await fetchData(siteConfig);
|
await fetchData(siteConfig, true);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user