passenger 6.0.17 → 6.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4745b4abf125d1350bf6ea520477b1d8a1faae26
4
- data.tar.gz: e3fe30496ed0567cd283f3ee96751c6baaa35f00
3
+ metadata.gz: 9631f47cd869b2262addb53a779923f101ebb5ee
4
+ data.tar.gz: 7dbcdde76c535a7bd78e39fca3ce19a524b3733c
5
5
  SHA512:
6
- metadata.gz: f561f10cee769f11824a2c8bbd74d35b8305e22906682af51ec68819cc53fbeb27ce6a57fbe7022eff27adb4cd0dded348a2a7d7b3051ce8d11054c66a8e3f16
7
- data.tar.gz: 97198581be7ab01b816beeab4b6e2cbd90182af418410cd298a3290c1ec2c97a1473c1ae63376e362337dd06e33e93e8ee5ba247d9935159dd4cafcaf4fb1211
6
+ metadata.gz: f55d2c8ee306af93f2c83042de2ff89a296059594b471796fe8d945ed759a8623703b38a154dad95fe46d6d602fe75a18b6db2da06749a353c34fbb1f8fc866d
7
+ data.tar.gz: 0a13b5e2e888dce47a980b62485a6ccca71f01c4d0db98934d0cd61f44a8ca69c4b70bdeddd540ed17fada52df588a775524807616314e9430ec488d9f6d96cc
data/CHANGELOG CHANGED
@@ -1,14 +1,38 @@
1
- Release 6.0.17 (Not yet released)
1
+ Release 6.0.18 (Not yet released)
2
+ -------------
3
+ * Adds support for arm (aarch64) rpm packages.
4
+ * Adds Ubuntu 23.04 "Lunar" packages, removes Ubuntu 22.10 "Kinetic" packages.
5
+ * Removes packages for Debian 9 "Stretch" (EOL June 2022).
6
+ * [RPM] Changes to building Nginx module packages for the latest supported Nginx module stream instead of the default.
7
+ * [Ruby] Makes Passenger more resilient to invalid byte sequences when loading the Ruby native extension. Contributed by Drew Wells.
8
+ * [Ruby] Add an `unhandled_exception_before_exit` event callback. Contributed by James Tomson.
9
+ * [Nginx] Upgrades preferred Nginx to 1.24.0 from 1.22.1.
10
+ * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
11
+ - cmake: 3.25.1 -> 3.26.4
12
+ - curl: 7.87.0 -> 8.1.2
13
+ - git: 2.39.0 -> 2.41.0
14
+ - gnupg: 2.4.0 -> 2.4.2
15
+ - libgcrypt: 1.10.1 -> 1.10.2
16
+ - libgpg_error: 1.46 -> 1.47
17
+ - openssl: 3.0.7 -> 3.1.1
18
+ - rubygems: 3.4.3 -> 3.4.13
19
+ - zstd: 1.5.2 -> 1.5.5
20
+ - rubies:
21
+ - 2.7.7 -> 2.7.8
22
+ - 3.0.5 -> 3.0.6
23
+ - 3.1.3 -> 3.1.4
24
+ - 3.2.0 -> 3.2.2
25
+
26
+
27
+ Release 6.0.17
2
28
  -------------
3
29
  * [Enterprise] The `debug` gem is now supported for debugging on Ruby 3.1.
4
30
  * Removed use of deprecated 'File.exists?' method for Ruby 3.2.0.
5
31
  * Upgrades Boost to 1.81.
6
32
  * Upgrades preferred Nginx to 1.22.1 from 1.20.2.
7
33
  * Changes minimum supported macOS version to 10.14 Mojave.
8
- * Adds support for arm (aarch64) rpm packages.
9
34
  * Adds support for a `PASSENGER_MAX_LOG_LINE_LENGTH_BYTES` environment variable. The default length remains at 8KB. Closes GH-2413.
10
35
  * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
11
- - ccache: 4.6.3 → 4.7.4
12
36
  - curl: 7.86.0 → 7.87.0
13
37
  - git: 2.38.1 → 2.39.0
14
38
  - gnupg: 2.3.8 → 2.4.0
@@ -25,7 +49,6 @@ Release 6.0.16
25
49
  * Adds systemd private tmpdir workaround on Ubuntu/Debian. Closes GH-2397.
26
50
  * Downgrade jsoncpp to 1.8.1 from 1.9.5 to fix invalid json generation bug. Closes GH-2445.
27
51
  * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
28
- - ccache: 4.6.3 → 4.7.4
29
52
  - cmake: 3.24.2 → 3.25.1
30
53
  - curl: 7.85.0 → 7.86.0
31
54
  - git 2.37.3 → 2.38.1
data/CONTRIBUTORS CHANGED
@@ -30,6 +30,7 @@ David Sissitka
30
30
  Dirk Mueller
31
31
  Dmitry Galinsky
32
32
  dr.dimitru
33
+ drew-wells
33
34
  Dylan Vaughn
34
35
  Eric Covener
35
36
  Erik Ogan
@@ -52,6 +53,7 @@ J.W. Koelewijn
52
53
  Jacob Elder
53
54
  Jacob Harris
54
55
  James Miller
56
+ James Tomson
55
57
  Jan Berkel
56
58
  Janko Marohnić
57
59
  Jason Cannon
@@ -165,7 +165,7 @@ using namespace std;
165
165
  * security_update_checker_interval unsigned integer - default(86400)
166
166
  * security_update_checker_proxy_url string - -
167
167
  * security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
168
- * server_software string - default("Phusion_Passenger/6.0.17")
168
+ * server_software string - default("Phusion_Passenger/6.0.18")
169
169
  * show_version_in_header boolean - default(true)
170
170
  * single_app_mode_app_root string - default,read_only
171
171
  * single_app_mode_app_start_command string - read_only
@@ -116,7 +116,7 @@ parseControllerBenchmarkMode(const StaticString &mode) {
116
116
  * multi_app boolean - default(true),read_only
117
117
  * request_freelist_limit unsigned integer - default(1024)
118
118
  * response_buffer_high_watermark unsigned integer - default(134217728)
119
- * server_software string - default("Phusion_Passenger/6.0.17")
119
+ * server_software string - default("Phusion_Passenger/6.0.18")
120
120
  * show_version_in_header boolean - default(true)
121
121
  * start_reading_after_accept boolean - default(true)
122
122
  * stat_throttle_rate unsigned integer - default(10)
@@ -154,7 +154,7 @@ using namespace std;
154
154
  * security_update_checker_interval unsigned integer - default(86400)
155
155
  * security_update_checker_proxy_url string - -
156
156
  * security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
157
- * server_software string - default("Phusion_Passenger/6.0.17")
157
+ * server_software string - default("Phusion_Passenger/6.0.18")
158
158
  * setsid boolean - default(false)
159
159
  * show_version_in_header boolean - default(true)
160
160
  * single_app_mode_app_root string - default,read_only
@@ -83,7 +83,7 @@
83
83
  #define PASSENGER_API_VERSION_MAJOR 0
84
84
  #define PASSENGER_API_VERSION_MINOR 3
85
85
  #define PASSENGER_DEFAULT_USER "nobody"
86
- #define PASSENGER_VERSION "6.0.17"
86
+ #define PASSENGER_VERSION "6.0.18"
87
87
  #define POOL_HELPER_THREAD_STACK_SIZE 262144
88
88
  #define PROCESS_SHUTDOWN_TIMEOUT 60
89
89
  #define PROCESS_SHUTDOWN_TIMEOUT_DISPLAY "1 minute"
@@ -427,10 +427,12 @@ module PhusionPassenger
427
427
  require(name_or_filename)
428
428
  return defined?(PhusionPassenger::NativeSupport)
429
429
  rescue LoadError => e
430
- if e.to_s =~ /dlopen/
430
+ s = e.to_s
431
+ s = s.encode("US-ASCII", :invalid => :replace) if s.respond_to?(:encode)
432
+ if s =~ /dlopen/
431
433
  # Print dlopen failures. We're not interested in any other
432
434
  # kinds of failures, such as file-not-found.
433
- puts e.to_s.gsub(/^/, " ")
435
+ puts s.gsub(/^/, " ")
434
436
  end
435
437
  return false
436
438
  end
@@ -30,6 +30,7 @@ module PhusionPassenger
30
30
  @@event_credentials = []
31
31
  @@event_after_installing_signal_handlers = []
32
32
  @@event_oob_work = []
33
+ @@event_unhandled_exception_before_exit = []
33
34
  @@advertised_concurrency_level = nil
34
35
 
35
36
  def on_event(name, &block)
@@ -69,6 +70,8 @@ module PhusionPassenger
69
70
  @@event_after_installing_signal_handlers
70
71
  when :oob_work
71
72
  @@event_oob_work
73
+ when :unhandled_exception_before_exit
74
+ @@event_unhandled_exception_before_exit
72
75
  else
73
76
  raise ArgumentError, "Unknown event name '#{name}'"
74
77
  end
@@ -115,6 +115,7 @@ module PhusionPassenger
115
115
  raise
116
116
  rescue Exception => e
117
117
  print_exception(nil, e)
118
+ PhusionPassenger.call_event(:unhandled_exception_before_exit, e)
118
119
  exit(1)
119
120
  end
120
121
  end
@@ -31,16 +31,16 @@ module PhusionPassenger
31
31
 
32
32
  PACKAGE_NAME = 'passenger'
33
33
  # Run 'rake src/cxx_supportlib/Constants.h configkit_schemas_inline_comments' after changing this number.
34
- VERSION_STRING = '6.0.17'
34
+ VERSION_STRING = '6.0.18'
35
35
 
36
36
  # Tip: find the SHA-256 with ./dev/nginx_version_sha2 <VERSION>
37
- PREFERRED_NGINX_VERSION = '1.22.1'
38
- NGINX_SHA256_CHECKSUM = '9ebb333a9e82b952acd3e2b4aeb1d4ff6406f72491bab6cd9fe69f0dea737f31'
37
+ PREFERRED_NGINX_VERSION = '1.24.0'
38
+ NGINX_SHA256_CHECKSUM = '77a2541637b92a621e3ee76776c8b7b40cf6d707e69ba53a940283e30ff2f55d'
39
39
 
40
40
  # Packaging may be locked to an older version due to the specific module configuration being
41
41
  # incompatible with the version we prefer (latest stable).
42
- PACKAGING_PREFERRED_NGINX_VERSION = '1.22.1'
43
- PACKAGING_NGINX_SHA256_CHECKSUM = '9ebb333a9e82b952acd3e2b4aeb1d4ff6406f72491bab6cd9fe69f0dea737f31'
42
+ PACKAGING_PREFERRED_NGINX_VERSION = '1.24.0'
43
+ PACKAGING_NGINX_SHA256_CHECKSUM = '77a2541637b92a621e3ee76776c8b7b40cf6d707e69ba53a940283e30ff2f55d'
44
44
 
45
45
  # sha256sum of the .tar.gz
46
46
  PREFERRED_PCRE_VERSION = '8.45'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.17
4
+ version: 6.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion - http://www.phusion.nl/
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-23 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake