Skip to content

Latest commit

Β 

History

History
435 lines (296 loc) Β· 12.3 KB

CHANGELOG.md

File metadata and controls

435 lines (296 loc) Β· 12.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.7.3-rc.4 - 2024-04-08

Fixed

  • When you edit a post, it doesn’t use the markdown system but only HTML

0.7.3-rc.3 - 2024-04-06

Fixed

0.7.3-rc.2 - 2024-04-03

Added

0.7.3-rc.1 - 2024-03-22

0.7.2 - 2024-03-05

Fixed

0.7.1 - 2024-02-07

Fixed

0.7.0 - 2024-02-06

This is a breaking change, please backup the database first. Then stop the server and run examples/dm_inn_type.rs for data migration.

cargo run --example dm_inn_type

Breaking

inn_type: String -> u8

#[derive(Encode, Decode, Serialize, Debug)]
struct Inn {
    iid: u32,
    inn_name: String,
    about: String,
    description: String,
    topics: Vec<String>,
    inn_type: u8, // change from String to u8
    early_birds: u32,
    created_at: i64,
    limit_edit_seconds: u32,
}

db tree:

  1. "user_posts", kv: uid#pid => iid#visibility -> uid#pid => iid#inn_type
  2. "post_timeline_idx", kv: iid#pid => timestamp -> iid#pid => timestamp#inn_type
  3. "post_timeline", kv: timestamp#iid#pid => visibility -> iid#timestamp#pid => inn_type

Added

  • Make site admin happy
  • Add ci for windows and macos

Removed

  • Remove https support

Fixed

  • build error for x86_64-pc-windows-gnu(#209)
  • ...

0.6.5 - 2024-02-04

Fixed

  • post content @ bug fixed

Added

  • /admin/gallery
  • image delete
  • site admin could view all solos
  • site admin could delete solo
  • add notifications for post lock/hide/ comment hide...

0.6.4 - 2024-01-13

Added

  • e2ee message

Fixed

  • default user role standard
  • site admin could hide/lock/pin posts and hide comments
  • notification pagination
  • fix js error

0.6.3 - 2023-11-24

Fixed

0.6.2 - 2023-11-13

Highlight: important security update

  • Security update: some user input is not escaped, which may cause problems. Please update as soon as possible.
  • Privacy update: when reindexing, the private post had been indexed.

Fixed

0.6.1 - 2023-09-25

0.6.0 - 2023-09-08

Breaking

  • Inn mod could set limit edit seconds(set 0 to disable)
  • The old version of the database is not compatible with the new version. Please backup the database first. If you want to keep old data, please see examples/disable_compress.rs for data migration.

Fixed

Added

0.5.1 - 2023-07-07

Breaking

  • Site admin could set global default page(but it Will make your site config broken, please backup site info first)

Fixed

  • Inn feed missing bug
  • unsubscribe button
  • better not found error page
  • Fix broken comment anchor 8ea5f8f
  • Add robots.txt 3a5051f
  • Fix all broken link 4632907
  • code highlight fixed
  • #106
  • use br instead of gzip
  • inn feed missing bug

0.5.0 - 2023-06-21

It's not a breaking change, but it requires more memory for tantivy. If you don't want to upgrade, you can use the old version.

Added

  • Search with tantivy πŸŽ‰ πŸŽ‰ πŸŽ‰
  • add the @user function when posting
  • support /inn/inn_name && /user/username
  • move explore tab to the side
  • Display tips for inn feed posts and old posts
  • feed read tree view

Fixed

  • update crates
  • fix home page resetting bug
  • remove State<Db>
  • remove search bar in search page

0.4.5 - 2023-05-19

Fixed

  • fix #47
  • add help link

0.4.4 - 2023-05-19

Fixed

  • truncate feed read title
  • remove unnecessary error log

0.4.3 - 2023-05-17

Fixed

0.4.2 - 2023-05-11

Fixed

  • fix #109
  • fix #107
  • set default cookie Max-Age 4h to avoid panic
  • inn mod code 8 ->7
  • update timeline if comment has been deleted

0.4.1 - 2023-04-14

0.4.0 - 2023-03-31

breaking changes

  • upgrade crate bincode to rc.3, which breaks enum with value. Make sure backup first and run examples/post for data migration.

0.3.7 - 2023-03-30

Fixed

0.3.6 - 2023-03-29

Fixed

0.3.5 - 2023-03-28

Fixed

0.3.4 - 2023-03-17

Fixed

  • allow comment only if normal status

0.3.3 - 2023-03-17

Fixed

0.3.1 - 2023-03-06

Fixed

  • Changed cookie name from __Host-id to id, fix #86 (Reported by @dominikdalek )
  • Fixed #85 (Reported by @dominikdalek )

0.3.0 - 2023-03-02

breaking changes

  • Post add field status, remove field is_locked and is_hidden
  • Post field content changed to PostContent
  • tree user_uploads: changed from uid#image_hash.ext => &[] to uid#img_id => image_hash.ext
  • rewrite notifications: tree "notifications" changed from old kv: uid#pid#cid => notification_code to new kv: uid#nid#nt_type => id1#id2#is_read

Added

  • author can delete post if no one comments it
  • /gallery Fix #64
  • Auto post from inn feed.

Fixed

  • if the comment has been deleted, just remove it
  • Table style missing #42
  • username could not contain special characters (#77 reported by @Yakumo-Yukari)
  • Feed update timeouts should be less than global timeouts
  • remove notification if the msg is deleted #67
  • Solo like should be descending fix #68
  • /user/list filter is broken #69

0.2.10 - 2023-02-02

Fixed

  • fullscreen background (by thomas992 #61)

  • push footer to the bottom of the page (by pleshevskiy #66)

  • csp: allow imgs from subdomain

0.2.9 - 2023-01-31

Added

  • Add git commit hash
  • default checked for draft

0.2.8 - 2023-01-17

Added

  • Save as draft

0.2.7 - 2023-01-17

Added

  • Show errors if updating feed unsuccessfully

0.2.6 - 2022-12-30

Happy new year! πŸŽ‰πŸŽ‰πŸŽ‰

Fixed

  • panic bug fixed: get inn list by topic
  • bug fixed: remove duplicated tags and topics
  • fixed: don't update timestamp when edit post
  • No joined inn found, return err

Added

  • New post button

Changed

  • Update crates
  • Cargo clippy beta
  • Refresh feeds asynchronously
  • Stop browser requesting favicon

0.2.5 - 2022-12-09

Changed

  • Changed svgs to independent files
  • Update crates
  • Add rss reader feature in readme

Fixed

  • Fixed inn page members number display error
  • Feed unread/star pagination error

Added

0.2.4 - 2022-12-01