Skip to content

Commit 88cbef3

Browse files
authored
Merge pull request #68 from qianmoQ/dev-25.0.5
chore (released): 发布 25.0.5
2 parents ef94737 + 7dd0b20 commit 88cbef3

File tree

17 files changed

+1372
-120
lines changed

17 files changed

+1372
-120
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ go.mod
3131
.Rhistory
3232
program
3333
.env
34+
*.gz

docs/content/release/25.0.5.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: 25.0.4
3+
---
4+
5+
CodeForge v25.0.5 正式发布!本次更新带来了 JVM 生态和 Go 语言的完整支持,全面优化了环境管理、网络配置和用户体验。我们新增了 3 种重要编程语言,重构了版本管理系统,让 CodeForge 成为更强大、更易用的代码执行工具。
6+
7+
CodeForge v25.0.5 is officially released! This update brings complete support for the JVM ecosystem and Go language, with comprehensive optimizations to environment management, network configuration, and user experience. We've added 3 important programming languages and refactored the version management system, making CodeForge a more powerful and user-friendly code execution tool.
8+
9+
---
10+
11+
## 📦 版本信息 | Release Information
12+
13+
- **项目地址 | Repository**https://github.com/devlive-community/codeforge
14+
- **官方网站 | Official Website**https://codeforge.devlive.org/
15+
- **版本号 | Version**:v25.0.5
16+
- **发布日期 | Release Date**:2025年12月28日 | December 28, 2025
17+
18+
---
19+
20+
## ✨ 新增功能 | New Features
21+
22+
### 新增语言支持 | New Language Support
23+
24+
- **🐹 Go** - Google 开发的现代系统编程语言,支持一键环境安装
25+
- **🔷 Scala** - JVM 平台函数式编程语言,支持版本同步管理
26+
- **🎯 Clojure** - JVM 平台 Lisp 方言,现代函数式编程,支持版本同步
27+
28+
现在 CodeForge 支持 **32+** 种编程语言。
29+
30+
Now CodeForge supports **32+** programming languages.
31+
32+
### 环境管理增强 | Enhanced Environment Management
33+
34+
- **版本卸载功能** - 支持已安装版本的便捷卸载,管理更灵活
35+
- **版本切换脚本** - 快速切换不同语言版本,提升开发效率
36+
- **手动环境检测** - 手动触发环境检测,确保配置准确性
37+
- **动态配置刷新** - 配置修改即时生效,无需重启应用
38+
- **目录结构优化** - 统一日志文件、插件安装和缓冲目录
39+
40+
**Version Uninstallation** - Convenient uninstallation of installed versions for flexible management
41+
**Version Switching Scripts** - Quickly switch between different language versions for improved efficiency
42+
**Manual Environment Detection** - Manually trigger environment detection to ensure configuration accuracy
43+
**Dynamic Configuration Refresh** - Configuration changes take effect immediately without restart
44+
**Directory Structure Optimization** - Unified log file, plugin installation, and buffer directories
45+
46+
### 网络与性能优化 | Network & Performance Optimization
47+
48+
- **网络配置页面** - 全新网络设置界面,支持自定义参数配置
49+
- **网络回滚机制** - 配置出错可快速回滚,保障系统稳定性
50+
- **统一 CDN 加速** - 全面启用 CDN,大幅提升下载速度
51+
- **缓冲管理优化** - 增强缓冲区管理,提升整体性能表现
52+
53+
**Network Configuration Page** - Brand new network settings interface with customizable parameters
54+
**Network Rollback Mechanism** - Quick rollback for configuration errors to ensure system stability
55+
**Unified CDN Acceleration** - Full CDN acceleration for significantly faster downloads
56+
**Buffer Management Optimization** - Enhanced buffer management for improved overall performance
57+
58+
### 用户体验提升 | User Experience Improvements
59+
60+
- **窗口拖拽调整** - 支持自由拖拽调整窗口大小
61+
- **滚动条美化** - 重新设计滚动条样式,界面更精致
62+
- **版本列表优化** - 美化已安装版本和可用版本展示
63+
- **插件管理** - 支持插件启用/禁用切换,灵活控制功能
64+
- **显示优化** - 修复内容显示不全问题,完善视觉体验
65+
66+
**Resizable Windows** - Support for drag-to-resize windows
67+
**Beautified Scrollbars** - Redesigned scrollbar styles for a more refined interface
68+
**Optimized Version Lists** - Enhanced display for installed and available versions
69+
**Plugin Management** - Support for enabling/disabling plugins for flexible control
70+
**Display Optimization** - Fixed incomplete content display for better visual experience
71+
72+
---
73+
74+
## 🐛 问题修复 | Bug Fixes
75+
76+
- **修复代码格式化问题** - 解决代码格式化相关异常
77+
- **修复插件输出异常** - 解决 Scala 和 Clojure 插件无效输出
78+
- **修复显示问题** - 修复窗口内容显示不全的问题
79+
- **修复自动保存问题** - 修复打开语言配置时的自动保存异常
80+
- **修复界面宽度问题** - 修复语言列表宽度显示异常
81+
- **代码质量优化** - 解决代码警告,提升代码质量
82+
83+
**Fixed Code Formatting Issues** - Resolved code formatting related anomalies
84+
**Fixed Plugin Output Issues** - Resolved invalid output from Scala and Clojure plugins
85+
**Fixed Display Issues** - Fixed incomplete window content display
86+
**Fixed Auto-save Issues** - Fixed auto-save anomaly when opening language configuration
87+
**Fixed Interface Width Issues** - Fixed language list width display anomaly
88+
**Code Quality Optimization** - Resolved code warnings and improved code quality
89+
90+
---
91+
92+
## 📥 立即下载 | Download Now
93+
94+
[GitHub Releases](https://github.com/devlive-community/codeforge/releases) 下载最新版本,或访问[官方网站](https://codeforge.devlive.org/)了解更多信息。
95+
96+
Download the latest version from [GitHub Releases](https://github.com/devlive-community/codeforge/releases), or visit the [Official Website](https://codeforge.devlive.org/) for more information.

docs/pageforge.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ footer:
4343

4444
nav:
4545
- 发布日志:
46+
- /release/25.0.5.md
4647
- /release/25.0.4.md
4748
- /release/25.0.3.md
4849
- /release/25.0.2.md

scripts/sync-clojure-versions.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function getConfig() {
7272
ossAccessKeySecret: process.env.OSS_ACCESS_KEY_SECRET,
7373
ossBucket: process.env.OSS_BUCKET,
7474
cdnDomain: process.env.CDN_DOMAIN, // 自定义 CDN 域名(可选)
75+
githubToken: process.env.GITHUB_TOKEN, // GitHub Personal Access Token(可选,用于提高 API 速率限制)
7576
githubRepo: 'clojure/brew-install',
7677
ossPrefix: 'global/plugins/clojure/',
7778
tempDir: path.join(__dirname, '.temp-clojure'),
@@ -130,6 +131,11 @@ function httpGet(url, isJson = true) {
130131
}
131132
};
132133

134+
// 如果是 GitHub API 请求且配置了 Token,添加认证头
135+
if (url.includes('api.github.com') && CONFIG.githubToken) {
136+
options.headers['Authorization'] = `token ${CONFIG.githubToken}`;
137+
}
138+
133139
client.get(url, options, (res) => {
134140
if (res.statusCode === 302 || res.statusCode === 301) {
135141
// 处理重定向

0 commit comments

Comments
 (0)