Skip to content

Releases: LucienShui/PasteMe

3.4.1

07 Oct 08:54
1175587
Compare
Choose a tag to compare

Changes

Frontend

[email protected]

  • 精简、优化代码
  • 适配后端 3.5.1 版本

Backend

[email protected]

  • 将过期时间的单位由分钟改为秒
  • 一些依赖升级
  • 精简、优化代码

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

06 Oct 16:30
15dfa81
Compare
Choose a tag to compare

Changes

Frontend

[email protected]

  • 适配后端 3.5.0 版本
  • 优化了 API 代码

Backend

[email protected]

  • 将返回码字段 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

20 Sep 04:52
20f2636
Compare
Choose a tag to compare

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

02 Aug 14:39
02459ad
Compare
Choose a tag to compare

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

14 Jun 14:43
Compare
Choose a tag to compare

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

14 Jun 14:34
000f470
Compare
Choose a tag to compare

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

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

24 Nov 04:38
4b32105
Compare
Choose a tag to compare

Changes

Features

Bug Fixes

release-v3.1.2

24 Nov 11:52
a2644ed
Compare
Choose a tag to compare

Changes

Features

  • Add docker branch support in actions, remove .travis.yml (#83) @LucienShui

v3.1.0F-3.0.1B

01 Sep 16:23
40f965b
Compare
Choose a tag to compare

前端更新

  1. 将大部分静态文件放至 CDN

v3.0.3F-3.0.1B

25 Aug 14:39
a7445ad
Compare
Choose a tag to compare

版本信息

前端版本:release-v3.0.3
后端版本:release-v3.0.1

PasteMe 更新日志

v3.0.3F-3.0.1B

2019-08-25

  1. 更新了文档
  2. 添加了 webhook
  3. 更新了捐赠列表

2019-07-24

  1. 更新了 docker-compose.yml

2019-07-23

  1. 将使用 docker 部署作为默认部署方法

Version 3.0.1

2019-07-12

  1. 添加了 DOCKER_DEPLOY.md
  2. 添加了 .travis.yml again
  3. 更新了 docker-compose.yml, 添加了 healthcheck
  4. 更新了 DEPLOY.md, 添加了 docker 部署文档

2019-07-08

  1. 更新了 DEPLOY.md, 添加了 required
  2. 更新了 README.md

前端更新日志(反正也没人看,懒得翻译了)

Version 3.0.3

2019-08-25

  1. Fix bug in vue.config.js
  2. Update .travis.yml
  3. Fix typo in password_view
  4. Fix lang transfer in password_view
  5. Add non-unit testing in README.md

2019-08-16

  1. Use event.prevent instead preventDefault method
  2. Add store getters
  3. Use cdn
  4. Replace MarkdownIt dependency
  5. Add mermaid plugin support
  6. Fix lineNumber disappear
  7. Add mermaid support
  8. Fix analyze mode
  9. Remove unnecessary code
  10. Use vuex to format data flow

2019-08-15

  1. Remove inner github-markdown-css and highlight.js
  2. Add Analyze
  3. Remove hljs.js
  4. favicon.ico resized

2019-08-13

  1. Dump version to 3.0.3
  2. npm update --save
  3. npm update --save-dev
  4. Component lazy load

Version 3.0.2

  1. Footer refresh bug fix
  2. Add manual delete show page, no admin yet

2019-08-04

  1. Change footer's tooltip to popover

2019-08-02

  1. Add Go, JSON highlight support
  2. Remove HTML highlight support

2019-08-01

  1. Fix #22 copy nothing in markdown parsed page
  2. Add tooltip on copy link in success page #24
  3. Simplify PasteView page
  4. Add limit on footer refresh #23

2019-07-24

  1. Add copy back
  2. Merge daovoice into usr.js
  3. Add copy btn
  4. Add markdown switch
  5. Update success page's clipboard include
  6. Version dump to 3.0.2
  7. Remove prismjs
  8. Update DEPLOY.md
  9. Update not found page, remove time cut
  10. Update api.js
  11. Add github button

2019-07-23

  1. Remove prismjs
  2. Add highlightjs
  3. Add line numbers to highlightjs
  4. Bug fix of duplicate syntax when language change
  5. Update baseUrl, remove protocol & base_url from config.json
  6. Update highlight's register

2019-07-22

  1. Add API prefetch

2019-07-18

  1. Remove syntax on plain
  2. Make font size bigger when view the code & text
  3. No copy when plain yetg

Version 3.0.1

2019-07-10

  1. Add Dockerfile for docker deployment

2019-07-08

  1. Markdown parse bug fixed
  2. English translation fixed
  3. Checkbox supported
  4. Markdown i18n supported
  5. mem version fixed

2019-07-07

  1. Add Markdown parser/raw switch
  2. Update version to 3.0.1

2019-07-06

  1. Add refresh on one word
  2. Split API & Guidance into API and Guidance at nav.dropdown
  3. Add Markdown & Latex parser support
  4. Remove some unused package
  5. Remove usr.js from .gitignore

后端更新日志(反正也没人看,懒得翻译了)

2019-07-24

  1. Add github.com/gin-contrib/cors

2019-07-22

  1. Add beat

3.0.1

2019-07-11

  1. Add Dockerfile

2019-07-09

  1. Add MIGRATE.md
  2. Add PASTEMECTL_DOCUMENT.md
  3. Add DEPLOY.md

2019-07-08

  1. Add CHANGELOG.md
  2. Update API.md