Releases: LucienShui/PasteMe
Releases · LucienShui/PasteMe
3.4.1
Changes
Frontend
- 精简、优化代码
- 适配后端 3.5.1 版本
Backend
- 将过期时间的单位由分钟改为秒
- 一些依赖升级
- 精简、优化代码
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.4.1
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.5.1
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
3.4.0
Changes
Frontend
- 适配后端 3.5.0 版本
- 优化了 API 代码
Backend
- 将返回码字段
status
变为code
- 支持大小写不敏感的 paste getter
- 添加了高亮类型验证
- 添加了 swagger 文档支持,将在未来进行展示
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.4.0
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.5.0
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
3.3.0
Changes
From version 3.3.0, PasteMe Frontend uses hash router instead of history router, and is incompatible with PasteMe Go Backend version before 3.4.0
Frontend
https://github.com/PasteUs/PasteMeFrontend/releases/tag/3.3.0
Backend
https://github.com/PasteUs/PasteMeGoBackend/releases/tag/3.4.0
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.3.0
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.4.0
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
release-v3.2.2
Changes
Frontend
https://github.com/PasteUs/PasteMeGoBackend/releases/tag/release-v3.3.2
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.2.6
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.3.2
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
release-v3.2.1
Changes
Frontend
https://github.com/PasteUs/PasteMeFrontend/releases/tag/release-v3.2.6
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.2.6
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.3.1
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
release-v3.2.0
Changes
Frontend
https://github.com/PasteUs/PasteMeFrontend/releases/tag/release-v3.2.5
Backend
https://github.com/PasteUs/PasteMeGoBackend/releases/tag/release-v3.3.1
Maintenance
- remove submodule (#113) @LucienShui
- Update donate list, README.md, ci/d (#90) @LucienShui
Docker Compose
version: "3"
services:
pasteme-frontend:
image: pasteme/frontend:3.2.5
container_name: pasteme-frontend
depends_on:
- pasteme-backend
healthcheck:
test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
interval: 45s
timeout: 3s
retries: 3
restart: always
ports:
- 80:8080
volumes:
- ./data/nginx-logs/:/var/lib/pasteme/
- ./data/frontend-usr/:/www/pasteme/usr/
pasteme-backend:
image: pasteme/go-backend:3.3.1
container_name: pasteme-backend
depends_on:
- pasteme-mysql
healthcheck:
test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
interval: 45s
timeout: 3s
retries: 3
restart: always
volumes:
- ./data/backend-config/:/etc/pastemed/
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
pasteme-mysql:
image: mysql:5.5
container_name: pasteme-mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 45s
timeout: 3s
retries: 3
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_USER: username
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: pasteme
MYSQL_MAX_ALLOWED_PACKET: 128M
MYSQL_INNODB_LOG_FILE_SIZE: 64M
volumes:
- ./data/mysql:/var/lib/mysql
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "128m"
v3.1.0F-3.2.1B
Changes
- Sync submodule at 2019-11-24 11:38:52 (#82) @LucienShui
- Update submodule (#72) @LucienShui
Features
- Update backend version to 3.2.1 (#77) @LucienShui
Bug Fixes
- Fix GITHUB_TOKEN in cron (#81) @LucienShui
- Fix user information in cron (#80) @LucienShui
- Fix time format of cron (#79) @LucienShui
- Add cron job for update submodule, fix release-drafter (#78) @LucienShui
release-v3.1.2
v3.1.0F-3.0.1B
前端更新
- 将大部分静态文件放至 CDN
v3.0.3F-3.0.1B
版本信息
前端版本:release-v3.0.3
后端版本:release-v3.0.1
PasteMe 更新日志
v3.0.3F-3.0.1B
2019-08-25
- 更新了文档
- 添加了 webhook
- 更新了捐赠列表
2019-07-24
- 更新了
docker-compose.yml
2019-07-23
- 将使用 docker 部署作为默认部署方法
Version 3.0.1
2019-07-12
- 添加了 DOCKER_DEPLOY.md
- 添加了 .travis.yml again
- 更新了
docker-compose.yml
, 添加了 healthcheck - 更新了
DEPLOY.md
, 添加了 docker 部署文档
2019-07-08
- 更新了
DEPLOY.md
, 添加了required
- 更新了
README.md
前端更新日志(反正也没人看,懒得翻译了)
Version 3.0.3
2019-08-25
- Fix bug in vue.config.js
- Update .travis.yml
- Fix typo in password_view
- Fix lang transfer in password_view
- Add non-unit testing in README.md
2019-08-16
- Use event.prevent instead preventDefault method
- Add store getters
- Use cdn
- Replace MarkdownIt dependency
- Add mermaid plugin support
- Fix lineNumber disappear
- Add mermaid support
- Fix analyze mode
- Remove unnecessary code
- Use vuex to format data flow
2019-08-15
- Remove inner
github-markdown-css
andhighlight.js
- Add Analyze
- Remove
hljs.js
favicon.ico
resized
2019-08-13
- Dump version to 3.0.3
npm update --save
npm update --save-dev
- Component lazy load
Version 3.0.2
- Footer refresh bug fix
- Add manual delete show page, no admin yet
2019-08-04
- Change footer's tooltip to popover
2019-08-02
- Add
Go
,JSON
highlight support - Remove
HTML
highlight support
2019-08-01
- Fix #22 copy nothing in markdown parsed page
- Add tooltip on copy link in success page #24
- Simplify PasteView page
- Add limit on footer refresh #23
2019-07-24
- Add copy back
- Merge daovoice into
usr.js
- Add copy btn
- Add markdown switch
- Update success page's clipboard include
- Version dump to
3.0.2
- Remove
prismjs
- Update
DEPLOY.md
- Update not found page, remove time cut
- Update
api.js
- Add github button
2019-07-23
- Remove prismjs
- Add highlightjs
- Add line numbers to highlightjs
- Bug fix of duplicate syntax when language change
- Update baseUrl, remove
protocol
&base_url
from config.json - Update highlight's register
2019-07-22
- Add API prefetch
2019-07-18
- Remove syntax on plain
- Make font size bigger when view the code & text
- No copy when plain yetg
Version 3.0.1
2019-07-10
- Add Dockerfile for docker deployment
2019-07-08
- Markdown parse bug fixed
- English translation fixed
- Checkbox supported
- Markdown
i18n
supported mem
version fixed
2019-07-07
- Add Markdown parser/raw switch
- Update version to
3.0.1
2019-07-06
- Add refresh on
one word
- Split
API & Guidance
intoAPI
andGuidance
at nav.dropdown - Add Markdown & Latex parser support
- Remove some unused package
- Remove
usr.js
from.gitignore
后端更新日志(反正也没人看,懒得翻译了)
2019-07-24
- Add
github.com/gin-contrib/cors
2019-07-22
- Add beat
3.0.1
2019-07-11
- Add Dockerfile
2019-07-09
- Add MIGRATE.md
- Add PASTEMECTL_DOCUMENT.md
- Add DEPLOY.md
2019-07-08
- Add CHANGELOG.md
- Update API.md