remove changelog

This commit is contained in:
GitHub
2024-10-12 17:24:17 +08:00
parent 2ed30ec010
commit bc673c9d22
2 changed files with 1 additions and 436 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
# changelog: CHANGELOG.md
# (required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,435 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.7.4] - 2024-09-29
### Fixed
- site description length
- rss item content
- fix #27 favicon
- Feed bug fixed
- Feed bug fixed
## [0.7.3] - 2024-04-20
**Please update as soon as possible, this is a security update.**
### Fixed
- When you edit a post, it doesnt use the markdown system but only HTML
- fix <https://freedit.eu/post/1/5>
### Added
- https://freedit.eu/post/1/3
- https://freedit.eu/post/1/233
## [0.7.2] - 2024-03-05
### Fixed
- High vulnerability: https://github.com/freedit-org/freedit/security/dependabot/11
## [0.7.1] - 2024-02-07
### Fixed
- fix <https://freedit.eu/post/1/211>
## [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](./examples/dm_inn_type.rs) for data migration.
`cargo run --example dm_inn_type`
### Breaking
inn_type: String -> u8
```rust
#[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
- fix <https://freedit.eu/post/1/181>
## [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
- `<meta property="og:description" content="...">` should be escaped #154
- fix https://freedit.eu/post/1/155 name-spoofing
- update robots.txt <https://github.com/freedit-org/freedit/commit/b2b637b>
- limit username to 32 chars <https://github.com/freedit-org/freedit/commit/8559933>
- fix <https://freedit.eu/post/1/167>
- fix <https://freedit.eu/post/1/171>
- fix feed pagination error <https://github.com/freedit-org/freedit/commit/a113aad>
- fix <https://freedit.eu/post/1/172>
- fix layout overflow <https://github.com/freedit-org/freedit/commit/6d4d9b2>
- fix <https://freedit.eu/post/1/175>
- use search emoji <https://github.com/freedit-org/freedit/commit/3593b0f>
- fix <https://freedit.eu/post/1/177>
- fix <https://freedit.eu/post/1/176>
- remove duplicate search result <https://github.com/freedit-org/freedit/commit/01675aa>
- inn feed <https://github.com/freedit-org/freedit/commit/8a2b171>
## [0.6.1] - 2023-09-25
- bug fixed <https://freedit.eu/post/1/145>
## [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](./examples/disable_compress.rs) for data migration.
### Fixed
- Only count public
- <https://freedit.eu/post/1/133>
- ogcontent bug with post from feed
- https://github.com/freedit-org/freedit/security/dependabot/8
- whitelist mathml tags in html sanitizer #126 by @aszepieniec
- Add default tag for private inn post
- Remove page admin stats
- Add basic og meta tags
- if rss has no title, use content as title
- Atom feed content from summary if its content is empty.
### Added
- Add feed link
- Post pin <https://freedit.eu/post/1/127>
- Recommend users <https://freedit.eu/post/1/131>
- Open Graph Meta Tag #128
- Add proxy option
## [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](https://github.com/freedit-org/freedit/commit/8ea5f8f8796ac8119ecf8e0220f178bcb17ac312)
- Add robots.txt [3a5051f](https://github.com/freedit-org/freedit/commit/3a5051fdd6159bef711dc455b858e8171dcecaf6)
- Fix all broken link [4632907](https://github.com/freedit-org/freedit/commit/4632907680bcff58bf39b55a3dcbb8e372a5599a)
- 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 :tada: :tada: :tada:
- 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
- <https://freedit.eu/post/1/75>
- fix #109
- <https://freedit.eu/post/1/73>
## [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
- upgrade crates
- fix https://freedit.eu/post/1/52
## [0.4.0] - 2023-03-31
**breaking changes**
- upgrade crate [bincode](https://github.com/bincode-org/bincode/releases/tag/v2.0.0-rc.3) to rc.3, which breaks enum with value. Make sure backup first and run [examples/post](./examples/post.rs) for data migration.
## [0.3.7] - 2023-03-30
### Fixed
- fix <https://freedit.eu/post/1/45?anchor=0&is_desc=false#4> if you upgrade from v0.3.6, run [example/name](https://github.com/freedit-org/freedit/blob/main/examples/name.rs) first.
## [0.3.6] - 2023-03-29
### Fixed
- fix #97
- fix #88
- fix <https://freedit.eu/post/1/47>
## [0.3.5] - 2023-03-28
### Fixed
- fix <https://freedit.eu/post/1/45>
## [0.3.4] - 2023-03-17
### Fixed
- allow comment only if normal status
## [0.3.3] - 2023-03-17
### Fixed
- panic bug: visibility error
- fix #89 (reported by @Yakumo-Yukari)
- fix https://freedit.eu/post/1/38?#1 (reported by @Alice)
## [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](https://github.com/thomas992) [#61](https://github.com/freedit-org/freedit/pull/61))
- push footer to the bottom of the page (by [pleshevskiy](https://github.com/pleshevskiy) [#66](https://github.com/freedit-org/freedit/pull/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
- Add [CHANGELOG.md](./CHANGELOG.md)
## [0.2.4] - 2022-12-01
[unreleased]: https://github.com/freedit-org/freedit/compare/v0.7.4...HEAD
[0.7.4]: https://github.com/freedit-org/freedit/compare/v0.7.3...v0.7.4
[0.7.3]: https://github.com/freedit-org/freedit/compare/v0.7.2...v0.7.3
[0.7.2]: https://github.com/freedit-org/freedit/compare/v0.7.1...v0.7.2
[0.7.1]: https://github.com/freedit-org/freedit/compare/v0.7.0...v0.7.1
[0.7.0]: https://github.com/freedit-org/freedit/compare/v0.6.5...v0.7.0
[0.6.5]: https://github.com/freedit-org/freedit/compare/v0.6.4...v0.6.5
[0.6.4]: https://github.com/freedit-org/freedit/compare/v0.6.3...v0.6.4
[0.6.3]: https://github.com/freedit-org/freedit/compare/v0.6.2...v0.6.3
[0.6.2]: https://github.com/freedit-org/freedit/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/freedit-org/freedit/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/freedit-org/freedit/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/freedit-org/freedit/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/freedit-org/freedit/compare/v0.4.5...v0.5.0
[0.4.5]: https://github.com/freedit-org/freedit/compare/v0.4.4...v0.4.5
[0.4.4]: https://github.com/freedit-org/freedit/compare/v0.4.3...v0.4.4
[0.4.3]: https://github.com/freedit-org/freedit/compare/v0.4.2...v0.4.3
[0.4.2]: https://github.com/freedit-org/freedit/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/freedit-org/freedit/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/freedit-org/freedit/compare/v0.3.7...v0.4.0
[0.3.7]: https://github.com/freedit-org/freedit/compare/v0.3.6...v0.3.7
[0.3.6]: https://github.com/freedit-org/freedit/compare/v0.3.5...v0.3.6
[0.3.5]: https://github.com/freedit-org/freedit/compare/v0.3.4...v0.3.5
[0.3.4]: https://github.com/freedit-org/freedit/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/freedit-org/freedit/compare/v0.3.1...v0.3.3
[0.3.1]: https://github.com/freedit-org/freedit/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/freedit-org/freedit/compare/v0.2.10...v0.3.0
[0.2.10]: https://github.com/freedit-org/freedit/compare/v0.2.9...v0.2.10
[0.2.9]: https://github.com/freedit-org/freedit/compare/v0.2.8...v0.2.9
[0.2.8]: https://github.com/freedit-org/freedit/compare/v0.2.7...v0.2.8
[0.2.7]: https://github.com/freedit-org/freedit/compare/v0.2.6...v0.2.7
[0.2.6]: https://github.com/freedit-org/freedit/compare/v0.2.5...v0.2.6
[0.2.5]: https://github.com/freedit-org/freedit/compare/v0.2.4...v0.2.5
[0.2.4]: https://github.com/freedit-org/freedit/compare/v0.2.3...v0.2.4
[0.2.3]: https://github.com/freedit-org/freedit/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/freedit-org/freedit/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/freedit-org/freedit/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/freedit-org/freedit/compare/v0.1.4...v0.2.0
[0.1.4]: https://github.com/freedit-org/freedit/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/freedit-org/freedit/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/freedit-org/freedit/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/freedit-org/freedit/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/freedit-org/freedit/releases/tag/v0.1.0