prosody 0.1.2-x86_64-linux → 0.2.1-x86_64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f18e87115a9d9fea6e3cfd35c2254b2d4d8d7cbae761246cdf80a96afee6c67
4
- data.tar.gz: b04344bc9f8ec7887c4a1559d8d8eb181150a7d4e8c8995f815f3e4a5542cbc7
3
+ metadata.gz: 54326c5164d1db3821ca275eda2592c7e52e5a98e762cc7c13fcdeb2888d79ff
4
+ data.tar.gz: 23e0bbee956ec0cf124b1cf483ad4e07ae4ca8d188df9f7bf996798700460392
5
5
  SHA512:
6
- metadata.gz: a4d97550d9663d046ec3719f3f6acaf4311a7fc0127a912872b9122d8cf7cdea5d33eceb645058016f6aa65fb8dd483ad36c33bcadd519ba471b376a3ced57a7
7
- data.tar.gz: 86f679fec7ec28bd95b1d12552c451bfd13a42b145b6ec268aea227dd6bd3a8add1c2597be748b675f7081ddd5fbecd3892e4e58612450acf19789c7911a87a5
6
+ metadata.gz: 881f84776c017b5d27a934fe5207175bafd3a798d74e6ce5142637691f38956af190b33c7088e0d889b0ac32e9e3af6a1d372773baa920b0087be236317c628a
7
+ data.tar.gz: 82d1b86e7be8f3186af3b691f10f6f8fcc376e7ff290c5288dbc2f3084f3faaeaeed519468eef821cf23554db324a5081b5567d4d76ebe7654fe59e66c521651
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.2"
2
+ ".": "0.2.1"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.2.0...prosody/v0.2.1) (2026-05-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **ci:** define ERROR_COMMITMENT_MINIMUM for Windows cross-compile ([#22](https://github.com/prosody-events/prosody-rb/issues/22)) ([870d821](https://github.com/prosody-events/prosody-rb/commit/870d82132868b376ae9f1e80181de80ff3859dc3))
9
+
10
+ ## [0.2.0](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.1.3...prosody/v0.2.0) (2026-05-11)
11
+
12
+
13
+ ### Features
14
+
15
+ * **deps:** upgrade prosody to 0.3.0 ([#20](https://github.com/prosody-events/prosody-rb/issues/20)) ([4c7a7f0](https://github.com/prosody-events/prosody-rb/commit/4c7a7f020ce537696073f22f649b05b48b8b513a))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** upgrade prosody to 0.2.1 ([#17](https://github.com/prosody-events/prosody-rb/issues/17)) ([24300d0](https://github.com/prosody-events/prosody-rb/commit/24300d08d0f5046b4d7fccf4f8fdf32cc05e2a71))
21
+
22
+
23
+ ### Performance Improvements
24
+
25
+ * **deps:** migrate from jemalloc to mimalloc v3 ([#19](https://github.com/prosody-events/prosody-rb/issues/19)) ([02aa0dd](https://github.com/prosody-events/prosody-rb/commit/02aa0dd6baeabc1a5531c98e4cd09e401f8debf4))
26
+
27
+ ## [0.1.3](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.1.2...prosody/v0.1.3) (2026-04-21)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **tracing:** set error status on on_message and on_timer spans ([#14](https://github.com/prosody-events/prosody-rb/issues/14)) ([849c021](https://github.com/prosody-events/prosody-rb/commit/849c0212b88d1069fc728ab38e9e05d79408c093))
33
+
3
34
  ## [0.1.2](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.1.1...prosody/v0.1.2) (2026-04-20)
4
35
 
5
36
 
data/README.md CHANGED
@@ -335,7 +335,20 @@ PROSODY_STALL_THRESHOLD=15s # Default stall detection threshold
335
335
  4. Setting the threshold too low might cause false positives, while setting it too high could delay detection of actual
336
336
  issues.
337
337
  5. The probe server is only active when consuming messages (not for producer-only usage).
338
-
338
+ > [!NOTE]
339
+ > **Rails users:** Because prosody-rb is built on the async gem, handlers run on fibers rather than threads. Rails defaults ActiveSupport's isolation level to `:thread`, which causes ActiveRecord connections to be shared across fibers and produces errors like:
340
+ >
341
+ > ```
342
+ > ActiveRecord::StatementInvalid: Mysql2::Error: This connection is in use by: #<Fiber
343
+ > ```
344
+ >
345
+ > Set the isolation level to `:fiber` in `config/application.rb`:
346
+ >
347
+ > ```ruby
348
+ > config.active_support.isolation_level = :fiber
349
+ > ```
350
+
351
+ ### Client Stall State
339
352
  You can monitor the stall state programmatically using the client's methods:
340
353
 
341
354
  ```ruby
Binary file
Binary file
Binary file
@@ -6,5 +6,5 @@ module Prosody
6
6
  # This version number follows semantic versioning and is used by the
7
7
  # gem system to identify the library version. It should be updated
8
8
  # according to semver guidelines when making releases.
9
- VERSION = "0.1.2"
9
+ VERSION = "0.2.1"
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prosody
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Joshua Griffith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-04-20 00:00:00.000000000 Z
11
+ date: 2026-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async