Christian Pauly
268b05b09f
chore: Bump version
2021-07-22 18:17:06 +02:00
Lukas Lihotzki
cfa633b489
feat: Add image pack event content models
2021-07-22 17:08:36 +02:00
Lukas Lihotzki
bad334d441
refactor: FilterMap extension
2021-07-19 19:43:56 +02:00
Lukas Lihotzki
c10a98ff35
fix: log levels for tryGet
2021-07-07 15:30:42 +02:00
Marcus Hoffmann
0b8e3f3071
make tryGet* safer
...
* check casts (for list and map) at cast time by recreating the list/map
instead of throwing on access.
* type warnings work now slightly differently:
* when we expect nullable fields to be actually null within normal
operation you can explicitly set the tryGet type param to an
optional type and mute the warning. Otherwise it'll warn that something
is null which we expect to something else.
2021-07-02 12:17:05 +02:00
Lukas Lihotzki
c73ea67bcd
add note about txnId
2021-07-02 11:36:42 +02:00
Lukas Lihotzki
bf3bed9ef9
simpler toMap
2021-07-02 11:18:16 +02:00
Lukas Lihotzki
0d1e7bdf7b
omit type in tryGet
2021-07-02 11:11:29 +02:00
Marcus Hoffmann
4026f480fb
fix test after removing user field
2021-07-01 18:16:47 +02:00
Marcus Hoffmann
faabc55d28
isServer and isAccessToken are optional
2021-07-01 18:05:56 +02:00
Marcus Hoffmann
dd7a824512
remove user field from AuthenticationPassword structure
...
it's not in the spec
2021-07-01 18:01:07 +02:00
Marcus
f5dbacfe07
remove leftover migration tool comment
2021-07-01 15:50:42 +00:00
Marcus Hoffmann
92a2bd9d7e
null safety test fixes
2021-07-01 17:36:21 +02:00
Marcus Hoffmann
34b9cc0dcf
filter out invalid CiphertextInfo instead of crashing
2021-07-01 17:15:06 +02:00
Marcus Hoffmann
1a51f813a7
null safety cleanup
2021-07-01 16:59:54 +02:00
Lukas Lihotzki
9e6019b820
fix: return Never
2021-07-01 15:13:45 +02:00
Lukas Lihotzki
d9c1fdb78a
refactor: migrate to null safety
2021-07-01 15:11:39 +02:00
Lukas Lihotzki
1b84de0b44
refactor: remove timeouts in matrix_api_lite
2021-06-25 12:40:03 +02:00
Lukas Lihotzki
e3a1b6aa77
refactor: mostly use dart_openapi_codegen
2021-06-25 12:40:03 +02:00
Christian Pauly
3a6d224348
fix: Log filter in wrong direction
2021-06-10 09:21:20 +02:00
Christian Pauly
9b3768300e
fix: Logs should only printed if loglevel is high enough
2021-06-09 10:11:56 +02:00
Christian Pauly
73a2f38698
Update version
2021-05-12 13:37:35 +02:00
Christian Pauly
c70b149c20
change: Remove logger
...
The logger package has a lot of issues.
The colors are not working in web and on iOS.
Emojis are not working on some platforms.
It introduced a not very important library in a SDk which is intended to
be as minimal as possible.
This simplifies the logging to a format which works everywhere.
The # Syntax makes it also look good as markdown.
It is not very far away from the default syntax of errors and stacktraces.
It still provides several log levels, the same API and a list of output events for the logviewer.
2021-05-12 12:14:04 +02:00
Christian Pauly
adb6d0a564
bump version
2021-05-10 12:08:26 +02:00
Lukas Lihotzki
3eaf4ef99a
feat!: operation names from OpenAPI spec
2021-05-07 13:43:06 +02:00
Christian Pauly
d667f63675
refactor: Enable more lints
2021-05-05 12:32:20 +02:00
Lukas Lihotzki
846c96e90d
refactor: move identifier type detection into AuthenticationIdentifier
2021-05-05 12:08:03 +02:00
Lukas Lihotzki
2fdf3e8284
refactor: polymorphism can be used without manual switch statement
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
4069f0a02f
refactor: avoid string conversion for comparison
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
9de57fad9b
refactor: initializer lists in fromJson constructors
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
23db25d4af
refactor: use ..
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
83ef6484eb
refactor: use map
2021-05-05 12:05:26 +02:00
Lukas Lihotzki
19500307be
refactor: call fromJson constructor of base class
2021-05-05 12:05:26 +02:00
Christian Pauly
a5af392fb8
fix: Missing RoomCreationTypes
2021-05-01 09:26:18 +02:00
Christian Pauly
ddce012498
chore: Bump version
2021-05-01 09:01:20 +02:00
Christian Pauly
88d0eae2b7
fix: Request aliases
2021-05-01 09:00:31 +02:00
Christian Pauly
a84e196b03
fix: Changelog
2021-04-12 09:00:30 +02:00
Christian Pauly
cd76448f8b
feat: Add room and event types for spaces
2021-04-12 09:00:11 +02:00
Lukas Lihotzki
924af98f30
fix: no empty server_name parameter
2021-03-31 18:33:59 +02:00
Christian Pauly
af70aee537
chore: Update version
2021-03-31 13:42:09 +02:00
Lukas Lihotzki
8f0e20c044
chore: upgrade logger to 1.0.0
2021-03-30 14:52:17 +02:00
Lukas Lihotzki
04674e2dfd
refactor: upgrade to http 0.13
2021-03-30 14:49:21 +02:00
Christian Pauly
af693700fb
fix: Mime
2021-03-30 12:37:08 +02:00
Christian Pauly
11904f4da1
fix: Remove unused dependency mime
2021-03-30 12:29:46 +02:00
Krille Fear
7a078251a6
fix: IdServerUnbindResult typo
2021-03-09 08:24:30 +00:00
Christian Pauly
e28b0fa1b3
refactor: login method AuthenticationIdentifier
...
This is a breaking change for the login method to use the correct format.
It makes it possible to login with email or phone.
Also this does some housekeeping stuff while
upgrading to pedantic 1.11.0 which doesnt
allow curly braces in Strings where not needed
anymore.
2021-03-09 08:09:29 +00:00
Christian Pauly
7d91cdac5e
fix: Typo and wellknown parsing
2021-03-01 11:38:53 +01:00
Sorunome
512abfc476
chore: Add changelog
2021-02-19 13:09:17 +01:00
Sorunome
31e72662ef
chore: version bump
2021-02-19 13:08:32 +01:00
Sorunome
8573e1915f
feat: Add fallback keys support
2021-02-15 16:23:33 +01:00