0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00
Commit Graph

407 Commits

Author SHA1 Message Date
Jordan Rose
2958955259 Bump to version v0.58.0 2024-09-17 15:38:45 -07:00
Alex Konradi
13c2d76f4c
Signal intentional close when reader sees cancellation 2024-09-16 15:54:18 -04:00
Alex Konradi
8462fb23af
Upgrade typescript-eslint packages 2024-09-13 15:15:39 -04:00
Max Moiseev
3917f60919 Bump to version 0.57.1 2024-09-12 15:51:40 -07:00
Jordan Rose
df7a3797e3 node: Update node-gyp-build dependency spec
This should have gone in with 4f4669ed, since earlier node-gyp-builds
don't support the new names generated by prebuildify 6.0, but we
forgot to bump the requirement then.

The fixes in node-gyp-build 4.8.1 and 4.8.2 don't affect us, but we
might as well take the update.
2024-09-12 09:32:11 -07:00
Alex Konradi
b705532230
Remove circular node Native/Error dependency 2024-09-11 14:49:31 -04:00
Alex Konradi
763c32dd01 Upgrade typescript to 5.3.3
This is the same version that Desktop is using.
2024-09-10 09:02:54 -07:00
Jamie Kyle
575369bfd9 Bump type-fest to 4.26 2024-09-10 09:02:54 -07:00
Alex Konradi
d5321d1c75 Bump to version v0.57.0 2024-09-06 09:46:54 -04:00
Alex Konradi
40aaecb9f3
Propagate reason for chat disconnect to listeners 2024-09-05 16:49:55 -04:00
Jordan Rose
e46841ea2c Bump to version v0.56.1 2024-08-29 14:33:20 -07:00
Jordan Rose
a8814d16f8 Move all "testing-fns" APIs into libsignal-bridge-testing
This means they'll be shipped to clients, but still filtered out of
the device builds on Android (via having two separate libraries on
disk) and iOS (by not being included in non-simulator builds). The
biggest benefit of this is dropping the :android:makeTestJniLibraries
step for running libsignal's Android tests.
2024-08-27 08:29:06 -07:00
Jordan Rose
134324c8c4 Bump to version v0.56.0 2024-08-20 16:27:15 -07:00
Jordan Rose
360b335cff Bump to version v0.55.1 2024-08-13 09:52:44 -07:00
Sergey Skrobotov
a8bc95bc7e Bump to version v0.55.0 2024-08-09 11:30:00 -08:00
Sergey Skrobotov
4b283b7b4f
net: dropping reconnect count field 2024-08-07 19:11:43 -07:00
Sergey Skrobotov
55ac7166e0
net: dropping auto-reconnect logic 2024-08-07 16:38:45 -07:00
Jordan Rose
aa3f6532b2 Bump to version v0.54.3 2024-08-07 12:06:46 -07:00
Jordan Rose
83e18251c7 Bump to version v0.54.2 2024-08-06 13:06:03 -07:00
Fedor Indutny
367e2399ab
Don't use binary encoding for Node streams 2024-08-06 14:46:43 -04:00
Jordan Rose
ee321f2697 Bump to version v0.54.1 2024-07-31 16:58:52 -07:00
Jordan Rose
a561392cff
Expose the "network changed" event to apps 2024-07-30 15:27:42 -07:00
Sergey Skrobotov
b86d58e8d6 Bump to version v0.54.0 2024-07-26 14:02:22 -08:00
Sergey Skrobotov
d694cff1a1
net: adding a parameter to opt in/out of receiving stories 2024-07-25 14:55:23 -07:00
Sergey Skrobotov
e3d3b7762d
node: extract a common API for auth/unauth ChatService 2024-07-24 12:59:21 -07:00
Jordan Rose
f2ae8436b3 Bump to version v0.53.0 2024-07-23 14:57:28 -07:00
Sergey Skrobotov
cb3cd55c17
node: adjusting ChatService API to align with the usage patterns 2024-07-23 14:45:30 -07:00
Jordan Rose
d0b1821888 node: Upload dump_syms output to releases instead of raw debug info 2024-07-19 16:19:53 -07:00
Alex Konradi
8ba0f2731c Bump to version v0.52.5 2024-07-19 13:41:34 -04:00
Alex Konradi
d33ce0bea5 Bump version number to 0.52.4 2024-07-19 09:34:42 -04:00
Alex Konradi
a6a8eae650
Fix expected canonical test case output 2024-07-16 15:40:43 -04:00
Alex Konradi
66cd3f0133
backup: bridge canonical serialization as ComparableBackup 2024-07-16 14:20:31 -04:00
Jordan Rose
a4a0663528 Bump to version v0.52.3 2024-07-11 14:10:27 -07:00
Jordan Rose
5b63a03ecd node: Put an empty install script so node-gyp isn't invoked implicitly 2024-07-11 14:08:52 -07:00
Jordan Rose
7261c37b46 Bump to version v0.52.2 2024-07-11 12:33:46 -07:00
Alex Konradi
31759a5680
Add libsignal-bridge-testing for Node
Unlike Java, just bundle it into the exiting signal_node shared library. We 
don't care as much about code size here and splitting it into a separate 
library is significantly more complicated (though it might be worth it some 
day).
2024-07-10 14:09:35 -04:00
Jordan Rose
36c6eebc0e node: Remove "install" script that invokes node-gyp-build
- For local development, this built the Rust library automatically
  when you invoked `yarn install`, whether you wanted it to or not.

- For the published package, this either did nothing (if the correct
  prebuilds were present) or produced a weird error (if they weren't).
  You can't use the published package without prebuilds, so maybe this
  was useful, but you'd find that out pretty quickly when loading the
  module failed.

- If you used the "link" feature to build Signal Desktop with a local
  checkout of libsignal, this would build the Rust library
  automatically when you `install`ed in the *Desktop* directory,
  whether you wanted it to or not.

- If you pointed Signal Desktop at a local checkout by copy instead of
  link, this would just fail, because the Rust parts wouldn't be
  copied with it.

Overall, it's simpler to just have this step be explicit.
2024-07-09 18:04:14 -07:00
Jordan Rose
773530ecd1 Add type annotations to all our Python scripts
The main benefit of this is not our *own* type-checking; it's that
mypy will error out if you try to use a too-new Python API. And in
fact, we were already relying on Python 3.9 and didn't realize.

check_code_size.py works with JSON, so it still uses Any a fair bit.
2024-07-09 17:01:10 -07:00
Jordan Rose
377ca153ab node: Attach debug info to the GitHub Release 2024-07-09 17:00:36 -07:00
Jordan Rose
9aa5d07c10 node: Build with (split) debug info
We don't save that debug info anywhere yet, but it's a start!
This is following the pattern of build-electron in RingRTC.
2024-07-09 13:26:21 -07:00
Alex Konradi
c6857dd58e
Don't assume EOF on 0-length read for Node
Remove the special handling code that detects EOF now that the upstream crate 
has fixed the bug that was being worked around. This also fixes a bug where EOF 
was being incorrectly detected when the provided buffer was empty. Add a test 
case to prevent regression in the future.
2024-07-09 11:58:43 -04:00
Max Moiseev
2b48d18d23 Bump to version 0.52.1 2024-06-28 15:16:18 -07:00
Alex Konradi
e13e3de8b2 Bump to version v0.52.0 2024-06-28 14:55:58 -04:00
Sergey Skrobotov
4243979826
net: support status codes when responding to server messages 2024-06-26 14:40:04 -07:00
Alex Konradi
b064ec78c5
Upgrade rustc to latest nightly 2024-06-25 11:31:59 -04:00
Jordan Rose
2a2ef524d2 Update to Node 20.11.1 2024-06-21 14:35:17 -07:00
Jordan Rose
db18a102f2 Use Docker's ADD command for remote resources 2024-06-21 11:35:08 -07:00
Jordan Rose
2e2896fc23 Bump to version v0.51.1 2024-06-20 17:02:58 -07:00
Fedor Indutny
4f4669ed23 node: update prebuildify to 6.0.1 2024-06-20 15:41:43 -07:00
Jordan Rose
95bf4e7715 Bump to version v0.51.0 2024-06-13 16:42:29 -07:00