diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b7892f6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,511 @@ +## What's Changed + +- Updating. +- Adding git cliff, a RELEASES.md file, and a generate_changelog file. + +## What's Changed in v0.19.4 + +- 0.19.4 by @dessalines +- Updating changes from main before a 0.19.4 release. by @dessalines in [#275](https://github.com/LemmyNet/lemmy-js-client/pull/275) +- Better readme example. by @dessalines in [#261](https://github.com/LemmyNet/lemmy-js-client/pull/261) +- Remove pointless integer annotations. #190 by @dessalines in [#260](https://github.com/LemmyNet/lemmy-js-client/pull/260) +- Adding LocalImageView. by @dessalines in [#258](https://github.com/LemmyNet/lemmy-js-client/pull/258) +- Allow falsey get parameter values by @matc-pub in [#257](https://github.com/LemmyNet/lemmy-js-client/pull/257) +- Add missing docs for logout endpoint by @Nothing4You in [#256](https://github.com/LemmyNet/lemmy-js-client/pull/256) + +## New Contributors + +- @matc-pub made their first contribution in [#257](https://github.com/LemmyNet/lemmy-js-client/pull/257) +- @Nothing4You made their first contribution in [#256](https://github.com/LemmyNet/lemmy-js-client/pull/256) + +## What's Changed in v0.19.0 + +- v0.19.0 by @dessalines +- Adding an error type. by @dessalines in [#220](https://github.com/LemmyNet/lemmy-js-client/pull/220) +- v0.19.0-rc.19 by @dessalines +- Fixing cross-fetch again. by @dessalines +- v0.19.0-rc.18 by @dessalines +- v0.19.0-rc.17 by @dessalines +- Revert "Upgrading deps, removing cross_fetch." by @dessalines in [#217](https://github.com/LemmyNet/lemmy-js-client/pull/217) +- v0.19.0-rc.16 by @dessalines +- Upgrading deps, removing cross_fetch. by @dessalines in [#216](https://github.com/LemmyNet/lemmy-js-client/pull/216) +- v0.19.0-rc.15 by @dessalines +- Adding `creator_is_admin` to various views. by @dessalines in [#215](https://github.com/LemmyNet/lemmy-js-client/pull/215) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.18.1...v0.19.0 + +## What's Changed in v0.18.1 + +- v0.18.1 by @dessalines +- v0.18.1-rc.3 by @dessalines +- Add open links in new tab. by @dessalines in [#160](https://github.com/LemmyNet/lemmy-js-client/pull/160) +- Handle 413 response on image uploads by @sunaurus in [#154](https://github.com/LemmyNet/lemmy-js-client/pull/154) +- Add show_nsfw community sort. by @SleeplessOne1917 in [#156](https://github.com/LemmyNet/lemmy-js-client/pull/156) +- Add show_nsfw community sort. by @dessalines +- v0.18.1-rc.2 by @dessalines +- Make fetch function optional by @SleeplessOne1917 in [#148](https://github.com/LemmyNet/lemmy-js-client/pull/148) +- v0.18.1-rc.1 by @dessalines +- Adding additional post sorts. by @dessalines in [#153](https://github.com/LemmyNet/lemmy-js-client/pull/153) +- Add default value to client functions that have optional form data or query params by @SleeplessOne1917 in [#147](https://github.com/LemmyNet/lemmy-js-client/pull/147) +- Add default object to client functions where the form data or query is optional by @cavanaugh-richards +- Run prettier by @cavanaugh-richards +- Add default value to encodeGetParams body type param. by @cavanaugh-richards + +## New Contributors + +- @sunaurus made their first contribution in [#154](https://github.com/LemmyNet/lemmy-js-client/pull/154) +- @cavanaugh-richards made their first contribution + +## What's Changed in v0.18.0 + +- v0.18.0 by @dessalines +- v0.18.0-rc.2 by @dessalines +- Removing websocket. by @dessalines in [#145](https://github.com/LemmyNet/lemmy-js-client/pull/145) +- Add Hour Sort types by @SleeplessOne1917 in [#143](https://github.com/LemmyNet/lemmy-js-client/pull/143) +- add ending empty line by @L3v3L +- Merge branch 'main' into hour-sort-types by @L3v3L +- add support for a custom fetch function (closing #132) by @SleeplessOne1917 in [#134](https://github.com/LemmyNet/lemmy-js-client/pull/134) +- Merge branch 'main' into custom-fetchinator by @SleeplessOne1917 +- Merge branch 'main' into custom-fetchinator by @SleeplessOne1917 +- DERP, forgot to actually set #fetchFunction by @ExperiBass +- add support for a custom fetch function by @ExperiBass +- Add Hour Sort types by @L3v3L +- v0.18.0-rc.1 by @dessalines +- Adding some 0.18.0 changes. by @dessalines in [#138](https://github.com/LemmyNet/lemmy-js-client/pull/138) +- remove trailing slashes from instance url by @SleeplessOne1917 in [#135](https://github.com/LemmyNet/lemmy-js-client/pull/135) +- remove trailing slashes from instance url by @ExperiBass +- Add taglines to site res by @SleeplessOne1917 in [#130](https://github.com/LemmyNet/lemmy-js-client/pull/130) +- v0.17.2-rc.24 by @dessalines +- Add taglines to site response. by @dessalines +- Dont export websocket. by @dessalines +- Update copy_types script. by @dessalines +- Adjust version by @SleeplessOne1917 in [#129](https://github.com/LemmyNet/lemmy-js-client/pull/129) +- Make private class properties actually private by @SleeplessOne1917 in [#128](https://github.com/LemmyNet/lemmy-js-client/pull/128) +- Remove BigInt by @SleeplessOne1917 in [#127](https://github.com/LemmyNet/lemmy-js-client/pull/127) +- Remove BigInt by @makotech222 +- Better error wrapping. by @dessalines in [#126](https://github.com/LemmyNet/lemmy-js-client/pull/126) +- v0.17.2-rc.20 by @dessalines +- v0.17.2-rc.19 by @dessalines +- v0.17.2-rc.18 by @dessalines +- MarkCommentReplyAsRead response was wrong. by @dessalines in [#125](https://github.com/LemmyNet/lemmy-js-client/pull/125) +- Add missing response types in http client. by @dessalines in [#124](https://github.com/LemmyNet/lemmy-js-client/pull/124) +- Making the http `{"error": "..."}` json into a string exception. by @SleeplessOne1917 in [#122](https://github.com/LemmyNet/lemmy-js-client/pull/122) +- Merge branch 'main' into add_error_message_as_exception by @dessalines +- Adding new distinguish comment. by @SleeplessOne1917 in [#123](https://github.com/LemmyNet/lemmy-js-client/pull/123) +- Adding new distinguish comment. by @dessalines +- Switching to const. by @dessalines +- Making the error json into an exception. by @dessalines +- v0.17.2-rc.17 by @dessalines +- Remove bigints by @dessalines in [#121](https://github.com/LemmyNet/lemmy-js-client/pull/121) +- Adding sleeplessone1917 to codeowners by @dessalines +- v0.17.2-rc.16 by @dessalines +- Fixing bigint serialization. by @dessalines in [#120](https://github.com/LemmyNet/lemmy-js-client/pull/120) +- v0.17.2-rc.15 by @dessalines +- Fix body not serializing because of bigint by @SleeplessOne1917 in [#119](https://github.com/LemmyNet/lemmy-js-client/pull/119) +- v0.17.2-rc.14 by @dessalines +- Make script for adding types to index by @SleeplessOne1917 in [#118](https://github.com/LemmyNet/lemmy-js-client/pull/118) +- v0.17.2-rc.13 by @dessalines +- Upgrading deps by @dessalines in [#117](https://github.com/LemmyNet/lemmy-js-client/pull/117) +- Adding support for federated instances. Fixes #115 by @dessalines in [#116](https://github.com/LemmyNet/lemmy-js-client/pull/116) +- Adding bindings from rust. Fixes #113 by @dessalines in [#114](https://github.com/LemmyNet/lemmy-js-client/pull/114) +- Adding diesel SortType and ListingType enums. by @dessalines in [#112](https://github.com/LemmyNet/lemmy-js-client/pull/112) +- Add getComment to client by @SleeplessOne1917 in [#111](https://github.com/LemmyNet/lemmy-js-client/pull/111) +- v0.17.2-rc.5 by @dessalines +- Merge branch 'makotech222-custom-emojis' by @dessalines +- Add woodpecker by @dessalines +- feat: add image upload method to http client by @SleeplessOne1917 +- docs: Fix incorrect code sample in README by @SleeplessOne1917 +- Totp by @dessalines +- Add Custom Emojis Support by @makotech222 in [#97](https://github.com/LemmyNet/lemmy-js-client/pull/97) +- Fixes for monads by @makotech222 +- Add custom emojis by @makotech222 +- Add woodpecker by @dessalines in [#110](https://github.com/LemmyNet/lemmy-js-client/pull/110) +- feat: add image upload method to http client by @SleeplessOne1917 in [#108](https://github.com/LemmyNet/lemmy-js-client/pull/108) +- docs: Fix incorrect code sample in README by @SleeplessOne1917 in [#109](https://github.com/LemmyNet/lemmy-js-client/pull/109) +- Totp by @dessalines in [#106](https://github.com/LemmyNet/lemmy-js-client/pull/106) +- Adding email admins for new reports. by @dessalines in [#105](https://github.com/LemmyNet/lemmy-js-client/pull/105) +- v0.17.0-rc.62 by @dessalines +- Fixing requireapplication string. by @dessalines in [#104](https://github.com/LemmyNet/lemmy-js-client/pull/104) +- Adding development instructions. Fixes #101 by @dessalines in [#102](https://github.com/LemmyNet/lemmy-js-client/pull/102) +- v0.17.0-rc.61 by @dessalines +- Removing monads. Fixes #98 by @dessalines in [#99](https://github.com/LemmyNet/lemmy-js-client/pull/99) +- v0.17.0-rc.59 by @dessalines +- Udate CreateSite/EditSite structs for registration mode by @Nutomic in [#100](https://github.com/LemmyNet/lemmy-js-client/pull/100) +- v0.17.0-rc.58 by @dessalines +- Fixing yarn.lock by @dessalines +- Add LocalSite.registration_mode by @Nutomic in [#96](https://github.com/LemmyNet/lemmy-js-client/pull/96) +- Add community language by @dessalines in [#85](https://github.com/LemmyNet/lemmy-js-client/pull/85) +- v0.17.0-rc.56 by @dessalines +- Add class instantiation in readme. by @dessalines in [#95](https://github.com/LemmyNet/lemmy-js-client/pull/95) +- Add FeaturePost support by @makotech222 in [#88](https://github.com/LemmyNet/lemmy-js-client/pull/88) +- fix: Move required dependencies to prod dependencies instead of devependencies by @SleeplessOne1917 in [#91](https://github.com/LemmyNet/lemmy-js-client/pull/91) +- Fixed links to Documentation by @hbroer in [#84](https://github.com/LemmyNet/lemmy-js-client/pull/84) +- v0.17.0-rc.54 by @dessalines +- Remove federation strict_allowlist and retry_count. Fixes #82 by @dessalines in [#83](https://github.com/LemmyNet/lemmy-js-client/pull/83) +- v0.17.0-rc.53 by @dessalines +- Update Taglines pt 2 by @makotech222 in [#81](https://github.com/LemmyNet/lemmy-js-client/pull/81) +- v0.17.0-rc.52 by @dessalines +- Add Tagline structs by @makotech222 in [#80](https://github.com/LemmyNet/lemmy-js-client/pull/80) +- Move settings to database by @dessalines in [#79](https://github.com/LemmyNet/lemmy-js-client/pull/79) +- Private message report by @dessalines in [#78](https://github.com/LemmyNet/lemmy-js-client/pull/78) +- v0.17.0-rc.45 by @dessalines +- Add email_admins for new applications API setting. by @dessalines in [#72](https://github.com/LemmyNet/lemmy-js-client/pull/72) +- Person post unread comments by @dessalines in [#74](https://github.com/LemmyNet/lemmy-js-client/pull/74) +- Add language by @dessalines in [#77](https://github.com/LemmyNet/lemmy-js-client/pull/77) +- Rename post.embed_html field to embed_video_url by @Nutomic in [#75](https://github.com/LemmyNet/lemmy-js-client/pull/75) +- v0.17.0-rc.43 by @dessalines +- Add Modlog Filters by @makotech222 in [#65](https://github.com/LemmyNet/lemmy-js-client/pull/65) +- Distinguish by @dessalines in [#73](https://github.com/LemmyNet/lemmy-js-client/pull/73) +- v0.17.0-rc.39 by @dessalines +- Upgrade deps by @dessalines in [#71](https://github.com/LemmyNet/lemmy-js-client/pull/71) +- Starting to add comment tree paging by @dessalines in [#70](https://github.com/LemmyNet/lemmy-js-client/pull/70) +- Admin purge by @dessalines in [#35](https://github.com/LemmyNet/lemmy-js-client/pull/35) +- Remove save and get SiteConfig. Fixes #68 by @dessalines in [#69](https://github.com/LemmyNet/lemmy-js-client/pull/69) +- v0.17.0-rc.31 by @dessalines +- Removing CommunityFollowerResponse, using SubscribedType. by @dessalines in [#62](https://github.com/LemmyNet/lemmy-js-client/pull/62) +- Add option types by @dessalines in [#67](https://github.com/LemmyNet/lemmy-js-client/pull/67) +- v0.16.4-rc.3 by @dessalines +- Revert "Add follow pending." by @dessalines in [#63](https://github.com/LemmyNet/lemmy-js-client/pull/63) +- v0.17.0-rc.10 by @dessalines +- Add legal information by @Nutomic in [#61](https://github.com/LemmyNet/lemmy-js-client/pull/61) +- Add default_post_listing_type by @dessalines in [#53](https://github.com/LemmyNet/lemmy-js-client/pull/53) +- Adding mark post as read. Fixes #36 by @dessalines in [#57](https://github.com/LemmyNet/lemmy-js-client/pull/57) +- Upgrading deps. by @dessalines in [#58](https://github.com/LemmyNet/lemmy-js-client/pull/58) +- Adding endpoint comments. Fixes #50 by @dessalines in [#56](https://github.com/LemmyNet/lemmy-js-client/pull/56) +- Add follow pending. by @dessalines in [#52](https://github.com/LemmyNet/lemmy-js-client/pull/52) +- Use enum types by @Nutomic in [#55](https://github.com/LemmyNet/lemmy-js-client/pull/55) +- v0.17.0-rc.9 by @dessalines +- Use enum types in API. Fixes #51 by @dessalines +- Remove creator from SiteView by @shilangyu in [#49](https://github.com/LemmyNet/lemmy-js-client/pull/49) +- v0.16.4-rc.2 by @dessalines +- Adding posting_restricted_to_mods by @dessalines in [#48](https://github.com/LemmyNet/lemmy-js-client/pull/48) +- v0.16.4-rc.1 by @dessalines +- Add site to GetCommunityResponse by @Nutomic in [#47](https://github.com/LemmyNet/lemmy-js-client/pull/47) +- v0.16.0-rc.1 by @dessalines +- v0.15.4-rc.3 by @dessalines +- Removing site_creator, adding LeaveAdmin. by @dessalines in [#42](https://github.com/LemmyNet/lemmy-js-client/pull/42) +- v0.15.4-rc.2 by @dessalines +- Add field Site.default_theme in missing places by @Nutomic in [#46](https://github.com/LemmyNet/lemmy-js-client/pull/46) +- v0.15.4-rc.1 by @dessalines +- Add field Site.default_theme by @Nutomic in [#45](https://github.com/LemmyNet/lemmy-js-client/pull/45) +- Upgrading deps. by @dessalines in [#43](https://github.com/LemmyNet/lemmy-js-client/pull/43) + +## New Contributors + +- @L3v3L made their first contribution +- @ExperiBass made their first contribution +- @makotech222 made their first contribution +- @hbroer made their first contribution in [#84](https://github.com/LemmyNet/lemmy-js-client/pull/84) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.15.0...v0.18.0 + +## What's Changed in v0.15.0 + +- v0.15.0 by @dessalines +- v0.15.0-rc.34 by @dessalines +- Adding ban_expires to person by @dessalines in [#40](https://github.com/LemmyNet/lemmy-js-client/pull/40) +- v0.15.0-rc.33 by @dessalines +- Trying to publish with npm token 24 by @dessalines +- v0.15.0-rc.32 by @dessalines +- Trying to publish with npm token 23 by @dessalines +- v0.15.0-rc.31 by @dessalines +- Trying to publish with npm token 22 by @dessalines +- v0.15.0-rc.30 by @dessalines +- Trying to publish with npm token 21 by @dessalines +- v0.15.0-rc.29 by @dessalines +- v0.15.0-rc.28 by @dessalines +- Trying to publish with npm token 19 by @dessalines +- v0.15.0-rc.27 by @dessalines +- Trying to publish with npm token 18 by @dessalines +- v0.15.0-rc.26 by @dessalines +- Trying to publish with npm token 17 by @dessalines +- v0.15.0-rc.25 by @dessalines +- Trying to publish with npm token 16 by @dessalines +- v0.15.0-rc.24 by @dessalines +- Trying to publish with npm token 15 by @dessalines +- v0.15.0-rc.23 by @dessalines +- v0.15.0-rc.22 by @dessalines +- v0.15.0-rc.21 by @dessalines +- Trying to publish with npm token 13 by @dessalines +- v0.15.0-rc.20 by @dessalines +- Trying to publish with npm token 12 by @dessalines +- v0.15.0-rc.19 by @dessalines +- Trying to publish with npm token 11 by @dessalines +- v0.15.0-rc.18 by @dessalines +- Trying to publish with npm token 10 by @dessalines +- v0.15.0-rc.17 by @dessalines +- Trying to publish with npm token 9 by @dessalines +- v0.15.0-rc.16 by @dessalines +- Trying to publish with npm token 8 by @dessalines +- v0.15.0-rc.15 by @dessalines +- Trying to publish with npm token 7 by @dessalines +- v0.15.0-rc.14 by @dessalines +- Trying to publish with npm token 6 by @dessalines +- v0.15.0-rc.13 by @dessalines +- Trying to publish with npm token 5 by @dessalines +- v0.15.0-rc.12 by @dessalines +- Trying to publish with npm token 4 by @dessalines +- v0.15.0-rc.11 by @dessalines +- Trying to publish with npm token 3 by @dessalines +- v0.15.0-rc.10 by @dessalines +- Trying to publish with npm token 2 by @dessalines +- v0.15.0-rc.9 by @dessalines +- Trying to publish with npm token by @dessalines +- v0.15.0-rc.8 by @dessalines +- Adding bannedpersons endpoint. by @dessalines in [#41](https://github.com/LemmyNet/lemmy-js-client/pull/41) +- Adding private instance related endpoints. by @dessalines in [#38](https://github.com/LemmyNet/lemmy-js-client/pull/38) +- Upgrade deps 2 by @dessalines in [#39](https://github.com/LemmyNet/lemmy-js-client/pull/39) +- v0.14.0-rc.1 by @dessalines +- Get unread count by @dessalines in [#34](https://github.com/LemmyNet/lemmy-js-client/pull/34) +- Adding husky hook by @dessalines +- v0.13.1-rc.1 by @dessalines in [#33](https://github.com/LemmyNet/lemmy-js-client/pull/33) +- Downgrading typedocs by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.13.0...v0.15.0 + +## What's Changed in v0.13.0 + +- v0.13.0 by @dessalines +- upgrade deps. by @dessalines +- v0.13.0-rc.2 by @dessalines +- Upgrade deps by @dessalines +- Updating reporting API. by @dessalines in [#32](https://github.com/LemmyNet/lemmy-js-client/pull/32) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.12.0...v0.13.0 + +## What's Changed in v0.12.0 + +- v0.12.0 by @dessalines +- Fix defined in links via docker. by @dessalines in [#31](https://github.com/LemmyNet/lemmy-js-client/pull/31) +- v0.12.0-rc.1 by @dessalines +- v0.11.4-rc.16 by @dessalines +- Resolve endpoint by @dessalines in [#28](https://github.com/LemmyNet/lemmy-js-client/pull/28) +- Fix link to websocketresponse. by @dessalines +- Remove support / donate section. by @dessalines +- Adding typedoc, and code comments. Fixes #29 by @dessalines in [#30](https://github.com/LemmyNet/lemmy-js-client/pull/30) +- Adding block person and block community actions by @dessalines in [#22](https://github.com/LemmyNet/lemmy-js-client/pull/22) +- v0.11.4-rc.12 by @dessalines +- Adding GetSiteMetadata by @dessalines in [#26](https://github.com/LemmyNet/lemmy-js-client/pull/26) +- Mod transfer community by @dessalines in [#25](https://github.com/LemmyNet/lemmy-js-client/pull/25) +- v0.11.3-rc.4 by @dessalines +- Removing husky postinstall by @dessalines +- v0.11.3-rc.3 by @dessalines +- Feature/show post notifs by @dessalines in [#24](https://github.com/LemmyNet/lemmy-js-client/pull/24) +- Upgrade deps by @dessalines in [#23](https://github.com/LemmyNet/lemmy-js-client/pull/23) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.11.0...v0.12.0 + +## What's Changed in v0.11.0 + +- v0.11.0 by @dessalines +- Feature/mark post as read by @dessalines in [#21](https://github.com/LemmyNet/lemmy-js-client/pull/21) +- Add admin community_creation_admin_only. by @dessalines in [#20](https://github.com/LemmyNet/lemmy-js-client/pull/20) +- v0.11.0-rc.11 by @dessalines +- Adding bot accounts by @dessalines +- v0.11.0-rc.10 by @dessalines +- Change long desc to sidebar, add short site description by @dessalines +- Feature/optional fields by @dessalines in [#19](https://github.com/LemmyNet/lemmy-js-client/pull/19) +- v0.11.0-rc.8 by @dessalines +- Adding listing_type to search. by @dessalines in [#18](https://github.com/LemmyNet/lemmy-js-client/pull/18) +- Adding listing_type to search. by @dessalines +- v0.11.0-rc.7 by @dessalines +- Add creator_id to search. by @dessalines in [#17](https://github.com/LemmyNet/lemmy-js-client/pull/17) +- Add creator_id to search. by @dessalines +- v0.11.0-rc.6 by @dessalines +- v0.11.0-rc.5 by @dessalines +- Adding show scores to LocalUserSettings and SaveUserSettings by @dessalines in [#16](https://github.com/LemmyNet/lemmy-js-client/pull/16) +- Adding show scores to LocalUserSettings and SaveUserSettings by @dessalines +- v0.11.0-rc.4 by @dessalines +- Change password by @dessalines in [#14](https://github.com/LemmyNet/lemmy-js-client/pull/14) +- v0.11.0-rc.3 by @dessalines +- Remove community creator. by @dessalines +- Merge branch 'main' into change_password by @dessalines +- Display name by @dessalines in [#15](https://github.com/LemmyNet/lemmy-js-client/pull/15) +- Merge branch 'main' into display_name by @dessalines +- v0.11.0-rc.1 by @dessalines +- Merge branch 'main' into change_password by @dessalines +- Fix instances by @dessalines in [#12](https://github.com/LemmyNet/lemmy-js-client/pull/12) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.10.3...v0.11.0 + +## What's Changed in v0.10.3 + +- v0.10.3 by @dessalines +- Fixing allowed and blocked by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.10.0...v0.10.3 + +## What's Changed in v0.10.0 + +- v0.10.0 by @dessalines +- v0.11.0-rc.2 by @dessalines +- Adding change password endpoint. by @dessalines +- Api v3 by @dessalines in [#11](https://github.com/LemmyNet/lemmy-js-client/pull/11) +- Including API version in HTTP constructor. by @dessalines +- v0.10.0-rc.12 by @dessalines +- Split user table 2 by @dessalines in [#9](https://github.com/LemmyNet/lemmy-js-client/pull/9) +- v0.10.0-rc.10 by @dessalines +- Adding saved_only to GetComments and GetPosts by @dessalines +- v0.10.0-rc.9 by @dessalines +- Moving matrix_user_id and admin to Person table. by @dessalines +- Merge branch 'main' into split_user_table_2 by @dessalines +- Fix markAllAsRead response type by @dessalines in [#10](https://github.com/LemmyNet/lemmy-js-client/pull/10) +- Fix markAllAsRead response type by @shilangyu +- v0.10.0-rc.5 by @dessalines +- Fixing AddAdmin. by @dessalines +- v0.10.0-rc.4 by @dessalines +- Fixing saveusersettings by @dessalines +- v0.10.0-rc.3 by @dessalines +- v0.10.0-rc.2 by @dessalines +- Update API to deal with new person table. Fixes #7 by @dessalines +- v0.10.0-rc.1 by @dessalines +- Remove categories by @Nutomic in [#6](https://github.com/LemmyNet/lemmy-js-client/pull/6) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.9.9...v0.10.0 + +## What's Changed in v0.9.9 + +- v0.9.9 by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.9.8...v0.9.9 + +## What's Changed in v0.9.8 + +- v0.9.8 by @dessalines +- New comment sort by @dessalines in [#5](https://github.com/LemmyNet/lemmy-js-client/pull/5) + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.9.4...v0.9.8 + +## What's Changed in v0.9.4 + +- v0.9.4 by @dessalines +- v0.9.4-rc.1 by @dessalines +- Adding MostComments sort, and FederatedInstances by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.9.1...v0.9.4 + +## What's Changed in v0.9.1 + +- v0.9.1 by @dessalines +- Add active aggregates by @dessalines in [#3](https://github.com/LemmyNet/lemmy-js-client/pull/3) +- Add listing type to list communities by @dessalines in [#2](https://github.com/LemmyNet/lemmy-js-client/pull/2) +- v0.9.1-rc.1 by @dessalines +- Adding listing_type to ListCommunities. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v0.9.0...v0.9.1 + +## What's Changed in v0.9.0 + +- v0.9.0 by @dessalines +- v0.9.0-rc.18 by @dessalines +- Adding some comments. by @dessalines +- Revert "Trying to add string dates to javascript Date." by @dessalines +- v0.9.0-rc.17 by @dessalines +- Trying to add string dates to javascript Date. by @dessalines +- v0.9.0-rc.16 by @dessalines +- Adding new version to deploy. by @dessalines +- v0.9.0-rc.13 by @dessalines +- Adding email. by @dessalines +- Fixing drone. by @dessalines +- Trying to add an npm deploy. by @dessalines +- Adding a drone.yml. by @dessalines +- V2 api by @dessalines in [#1](https://github.com/LemmyNet/lemmy-js-client/pull/1) +- v0.9.0-rc.12 by @dessalines +- Making a few API v2 changes. by @dessalines +- v0.9.0-rc.11 by @dessalines +- Adding some API comments. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.16...v0.9.0 + +## What's Changed in v1.0.16 + +- v1.0.16 by @dessalines +- Updating postformparams. by @dessalines + +## What's Changed in v1.0.15 + +- v1.0.15 by @dessalines +- Adding optional headers to the http client. by @dessalines +- Upgrade deps. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.14...v1.0.15 + +## What's Changed in v1.0.14 + +- v1.0.14 by @dessalines +- Adding community_name for search. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.13...v1.0.14 + +## What's Changed in v1.0.13 + +- v1.0.13 by @dessalines +- Removing auth from post and community join. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.12...v1.0.13 + +## What's Changed in v1.0.12 + +- v1.0.12 by @dessalines +- Adding post and community join. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.11...v1.0.12 + +## What's Changed in v1.0.11 + +- v1.0.11 by @dessalines +- Adding community_name for getposts and getcomments. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.10...v1.0.11 + +## What's Changed in v1.0.10 + +- v1.0.10 by @dessalines +- Adding local. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.8...v1.0.10 + +## What's Changed in v1.0.8 + +- v1.0.8 by @dessalines +- Fixing url. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.7...v1.0.8 + +## What's Changed in v1.0.7 + +- v1.0.7 by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.6...v1.0.7 + +## What's Changed in v1.0.6 + +- v1.0.6 by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.5...v1.0.6 + +## What's Changed in v1.0.5 + +- v1.0.5 by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.4...v1.0.5 + +## What's Changed in v1.0.4 + +- v1.0.4 by @dessalines +- Adding an HTTP client. Cleaning up Websocket client. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.2...v1.0.4 + +## What's Changed in v1.0.2 + +- v1.0.2 by @dessalines +- Initial commit. by @dessalines + +**Full Changelog**: https://github.com/LemmyNet/lemmy-js-client/compare/v1.0.1...v1.0.2 + +## What's Changed in v1.0.1 + +- v1.0.1 by @dessalines + + diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..3c74508 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,91 @@ +# git-cliff ~ configuration file +# https://git-cliff.org/docs/configuration + +[remote.github] +owner = "LemmyNet" +repo = "lemmy-js-client" +# token = "" + +[changelog] +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +## What's Changed + +{%- if version %} in {{ version }}{%- endif -%} +{% for commit in commits %} + {% if commit.github.pr_title -%} + {%- set commit_message = commit.github.pr_title -%} + {%- else -%} + {%- set commit_message = commit.message -%} + {%- endif -%} + * {{ commit_message | split(pat="\n") | first | trim }}\ + {% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%} + {% if commit.github.pr_number %} in \ + [#{{ commit.github.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.github.pr_number }}) \ + {%- endif %} +{%- endfor -%} + +{%- if github -%} +{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %} + {% raw %}\n{% endraw -%} + ## New Contributors +{%- endif %}\ +{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %} + * @{{ contributor.username }} made their first contribution + {%- if contributor.pr_number %} in \ + [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \ + {%- endif %} +{%- endfor -%} +{%- endif -%} + +{% if version %} + {% if previous.version %} + **Full Changelog**: {{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }} + {% endif %} +{% else -%} + {% raw %}\n{% endraw %} +{% endif %} + +{%- macro remote_url() -%} + https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }} +{%- endmacro -%} +""" +# remove the leading and trailing whitespace from the template +trim = true +# changelog footer +footer = """ + +""" +# postprocessors +postprocessors = [] + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = false +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + # remove issue numbers from commits + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" }, +] +commit_parsers = [ + { field = "author.name", pattern = "renovate", skip = true }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +tag_pattern = "[0-9].*" +# regex for skipping tags +skip_tags = "beta|alpha" +# regex for ignoring tags +ignore_tags = "rc" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "newest" diff --git a/generate_changelog.sh b/generate_changelog.sh new file mode 100755 index 0000000..967b34e --- /dev/null +++ b/generate_changelog.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +# Adding to CHANGELOG.md +git cliff --output CHANGELOG.md +prettier -w CHANGELOG.md