0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-04 15:08:59 +01:00
dendrite/internal
0x1a8510f2 46902e5766
Take advantage of changes in recent Go versions (#3361)
Given that #2714 wasn't merged but we are now at a minimum supported Go
version of 1.20 (soon to be 1.21), I wanted to carry over some of the
changes. Namely:
- Fix the log typo
- Simplify build constraints for unix
- Use stdlib atomic package

### Pull Request Checklist

<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->

* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off)
_or_ I have already signed off privately

Signed-off-by: `0x1a8510f2 <admin@0x1a8510f2.space>`

---------

Co-authored-by: devonh <devon.dmytro@gmail.com>
2024-05-01 00:38:36 +00:00
..
caching de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
eventutil Move pseudoID ClientEvent hotswapping to a common location (#3199) 2023-09-15 15:25:09 +00:00
fulltext refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
hooks Remove gmsl.HeaderedEvent (#3068) 2023-04-27 12:54:20 +01:00
httputil Return correct Content-Type for unrecognized requests (#3355) 2024-04-08 07:51:04 +02:00
pushgateway Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
pushrules Implement MSC3987, fix setting Element Android notifications (#3242) 2023-10-24 11:51:08 +02:00
sqlutil Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
transactions Scope transactions to endpoints (#2799) 2022-10-17 14:48:35 +02:00
log.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
log_unix.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
log_windows.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
mutex.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
tracing.go Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
tracing_test.go Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
transactionrequest.go Update gmsl to use new validated RoomID on PDUs (#3200) 2023-09-15 14:39:06 +00:00
transactionrequest_test.go Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
validate.go Allow + in MIDs as per MSC4009 (#3313) 2024-01-25 21:17:20 +01:00
validate_test.go Allow + in MIDs as per MSC4009 (#3313) 2024-01-25 21:17:20 +01:00
version.go Version 0.13.7 (#3349) 2024-04-09 10:24:27 +02:00