- Add TOTP Login support
- Upgrade to dart 2.17
- Default theme fields
- Add
LeaveAdmin
endpoint (thanks @ilpianista)
- Remove
TransferSite
endpoint (thanks @ilpianista) - Remove site creator (thanks @LouisMarotta)
- Endpoints related to lemmy
v0.15.0
- Bump
freezed
dependency to1.0.0
- Add
GetUnreadCount
endpoint - Add
honeypot
fields
- Add reporting API
- Marked model constructors as
const
- Add show post notifs option
- Add
ResolveObject
endpoint - Add
GetSiteMetadata
endpoint - Add
ModTransferCommunity
- Add blocking actions
- Models with
instanceHost
now take it explicitly in the constructor
- new stuff from lemmy v0.11.0
Jwt
has a different constructor and now provides acopyWith
method
- API v3
- Null safety
- Removed API v1. It didn't even work properly and lemmy completely removed thus no point in keeping
- Websocket joins!
communityJoin
,userJoin
,postJoin
, andmodJoin
can be used to listen to particular events SortType
has now anewComments
sortPostAggregates
has now anewestCommentTimeNecro
property and has correctlyDateTime
types instead ofString
- All
DateTime
objects are now explicitly UTC time - All queries have now constant constructors
GetReplies.sort
is now ofSortType
typeshowNsfw
fromRegister
query is now correctly a boolean instead of a string
FullSiteView.federatedInstances
now has a different structure
- Added
MostComments
toSortType
- Added new Lemmy
v0.9.1
fields
- V2 Lemmy api is now available. The use has changed to make
lemmy_api_client
much easier and less tedious to maintain
- Clients are now split between v1 (
package:lemmy_api_client/v1.dart
) and v2 (package:lemmy_api_client/v2.dart
) Pictrs
is now inpackage:lemmy_api_client/pictrs.dart
- All models are now generated with
freezed
+json_serializable
. This unlocks a handy.copyWith()
method on all models and make all models data classes (which means they can be compared with==
value wise). Models are now more null-safe makinglemmy_api_client
more ready for null-safety
User
model now uses enums for its fields
- Fixed v0.8.4 (third time's the charm?)
- Fixed v0.8.3
- Fixed v0.8.2
- All models are now augmented with a
instanceHost
property that shows where did the response come from. Very useful when dealing with multiple instances at once and not knowing what object belongs to what instance.
- Added
local
variant toPostListingType
- Pict-rs upload requires auth
- Pict-rs v0.2
- Exporting pictrs models
- Error handling in pictrs delete method
- Added
upload
anddelete
pictrs endpoints
- Removed statically typed errors, now every error is forwarded by
LemmyApiException
with a i18n message
GET /comment/list
- Added missing auth field in
getPost
- Correctly decoding utf8 bodies
- type on
Search
model is now an enum
myVote
is now an enum
savePost
now usesPUT
instead ofPOST
- Added
RateLimitException
- Changed
UnknownResponseException
toUnknownResponseError
and exposed it as a public member
- Added rest of the user endpoints:
POST /user/ban
- Added rest of the site endpoints:
PUT /site/config
POST /site
PUT /site
POST /site/transfer
- Added rest of the post endpoints:
POST /post/sticky
POST /post/locked
- Added rest of the community endpoints:
POST /community
PUT /community
POST /community/ban_user
POST /community/mod
POST /community/delete
POST /community/remove
POST /community/transfer
- Added rest of the misc endpoints:
POST /admin/add
GET /modlog
- Renamed FullPost to FullPostView
- Moved toJson from UserView to User
- Jwt and User is serializable to json
- Changed examples to reflect changes
- Renamed
LemmyAPI
toLemmyApi
- Endpoints that return a jwt now return a parsed jwt instead of just a raw one
- Exporting all models
- lowered meta semver range
- examples for pub.dev
- Works on the web
- Logo now is displayed on pub.dev
POST /comment
PUT /comment
POST /comment/delete
POST /comment/remove
POST /comment/mark_as_read
~~POST~~ PUT /comment/save
POST /comment/like
GET /community
GET /community/list
POST /community/follow
GET /user/followed_communities
GET /categories
POST /post
GET /post
GET /post/list
POST /post/like
PUT /post
POST /post/delete
POST /post/remove
POST /post/save
GET /site
GET /site/config
~~POST~~ GET /search
PUT ~~/save_user_settings~~ /user/save_user_settings
POST /user/login
GET /user
GET /user/replies
GET ~~/user/mentions~~ /user/mention
POST /user/mention/mark_as_read
GET /private_message/list
POST /private_message
PUT /private_message
POST /private_message/delete
POST /private_message/mark_as_read
POST /user/mark_all_as_read
POST /user/delete_account
- First release of
lemmy_api_client
. Contains an http interface for the lemmy API for the "core" endpoints (mod/admin endpoints are coming soon)