Commit graph

116 commits

Author SHA1 Message Date
Cas Donoghue
161738f770
Update version to 8.17.6 (#17559) 2025-04-15 09:52:37 -07:00
Andrea Selva
9279a1561f
Bump 8.17.5 (#17395) 2025-03-25 12:59:44 +01:00
Rob Bavey
62b1f5fa2a
8.17.4 version bump (#17216)
* 8.17.4 version bump
2025-03-04 13:23:33 -05:00
Ry Biesemeyer
03aeacf662
version bump 8.17.3 (#17054) 2025-02-11 08:33:31 -08:00
github-actions[bot]
23383e71c3
upgrade jdk to 21.0.6+7 (#16932) (#16987) (#16989)
(cherry picked from commit 51ab5d85d2)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
(cherry picked from commit f561207b4b)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-30 11:20:09 +00:00
kaisecheng
862bbacb6a
bump core 8.17.2 (#16916) 2025-01-21 10:10:52 +00:00
João Duarte
b6a74f9418
bump to 8.17.1 (#16784) 2024-12-12 16:02:10 +01:00
github-actions[bot]
0657729cb7
bump jruby to 9.4.9.0 (#16634) (#16639)
(cherry picked from commit 6703aec476)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-11-06 08:23:32 +00:00
github-actions[bot]
37b1e9006e
Update JDK to latest in versions.yml (#16627) (#16631)
Update JDK to version 21.0.5+11

(cherry picked from commit 852149be2e)

Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2024-11-04 17:25:31 +01:00
Edmo Vamerlatti Costa
79e439e27b
bump version to 8.17.0 (#16592) 2024-10-24 09:45:56 +01:00
João Duarte
9872159c71
bump version to 8.16.0 (#16281) 2024-07-03 13:08:59 +01:00
João Duarte
121b1c9632
update jruby to 9.4.8.0 (#16278)
https://www.jruby.org/2024/07/02/jruby-9-4-8-0.html

> Fixed a bug in the bytecode JIT causing patterns to execute incorrect branches. #8283, #8284
> jruby-openssl is updated to 0.15.0, with updated Bouncy Castle libraries to avoid CVEs in older versions.
> uri is updated to 0.12.2, mitigating CVE
> net-ftp is updated to 0.3.7 with restored functionality on JRuby.

Exhaustive test suite: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/580
2024-07-02 19:57:55 +01:00
Mashhur
979d30d701
Handle non-unicode payload in Logstash. (#16072)
* A logic to handle non-unicode payload in Logstash.

* Well tested and code organized version of the logic.

Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>

* Upgrade jrjackson to 0.4.20

* Code review: simplify the logic with a standard String#encode interface with replace option.

Co-authored-by: Ry Biesemeyer <ry.biesemeyer@elastic.co>

---------

Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
Co-authored-by: Ry Biesemeyer <ry.biesemeyer@elastic.co>
2024-05-16 10:42:06 -07:00
Andrea Selva
977ef89a7d
Updated to 21.0.3+9 (#16055)
Updated bundled JDK to 21
2024-05-15 18:29:58 +02:00
João Duarte
0d6117173f
update multiple dependencies (#16136)
This upgrades multiple java libraries:

* snakeyaml
* shadow
* gradle
* guava
* commons-io
* commons-logging
* commons-codec
* commons-compress
* commons-lang3
* commons-csv
* log4j
* google-java-format
* httpclient
* httpcore
* javassist
* jackson
* jackson-databind
* wiremock-standalone

Gems:

* rack
*sinatra
*octokit
* gems
* rake
* webmock

Also upgrades Java to 17.0.11+9.

Leftover upgrades:

* commons-csv 1.8 breaks license checker
* janino 3.1.12 breaks java tests
* log4j 2.21.0 breaks java compilation
2024-05-08 09:13:41 +01:00
João Duarte
4350855e7b
upgrade jruby to 9.4.7.0 (#16125) 2024-05-02 09:59:04 +01:00
kaisecheng
6bf1f80a82
bump version to 8.15.0 (#16088) 2024-04-17 09:16:10 +01:00
João Duarte
14dc3d24a4
bump jruby to 9.4.6.0 and remove ffi workaround (#15961) 2024-02-22 09:47:42 +00:00
kaisecheng
22a10b5b92
bump version to 8.14.0 (#15935) 2024-02-14 09:18:48 +00:00
Andrea Selva
1395d953b2
Updates bundled JDK (#15840)
* Updates bundled JDK

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-01-24 09:46:18 +01:00
João Duarte
6c12e6f4c2
bump version to 8.13.0 (#15665) 2023-12-06 23:00:47 +00:00
João Duarte
bd6189db8e
Update JRuby to 9.4.5.0 (#15531) 2023-11-07 13:41:04 +00:00
João Duarte
206362212a
Update JDK to 17.0.9+9 (#15509) 2023-10-27 10:20:26 +01:00
João Duarte
e626409695
Update JRuby, JDK and Jackson (#15477)
* update JDK to 17.0.8.1+1
* update JRuby to 9.4.4.0
* update jackson to 2.15.3
2023-10-23 11:17:01 +01:00
Mashhur
0adcc09bf6
Bump core version to 8.12 (#15378) 2023-10-03 23:33:46 -07:00
Ry Biesemeyer
70081bbcac
deps: downgrade jruby, keep updated default-gem dependencies (forward-port #15283) (#15369)
* deps: downgrade jruby, keep updated default-gem dependencies (#15283)

forward-ports non-release-branch components of #15283 to `main`

* deps: downgrade jruby, keep updated default-gem dependencies

By downgrading JRuby to 9.4.2.0 we avoid the silent global crash of the
scheduler backing `Concurrent::TimerTask` that occurs when Jruby 9.4.3.0's
invokedynamic promotes a method to run natively, incorrectly.

Upstream bug: https://github.com/jruby/jruby/issues/7904

Along with the downgrade of JRuby itself to 9.4.2.0, we cherry-pick the
updates to gems that were included in the latest JRuby 9.4.3.0 to ensure
we don't back out relevant fixes to stdlib.

We also remove a pinned-dependency on `racc` that is no longer relevant.

Resolves: https://github.com/elastic/logstash/issues/15282

* Imported the licenses for some gems

- cgi
- date
- ffi-binary-libfixposix
- io-console
- net-http
- net-protocol
- reline
- time
- timeout
- uri

* specs: avoid mocking global ::Gem::Dependency::new

* build: remove redundanct dependsOn declaration

* deps: notice use of ffi-binary-libfixposix via Ruby license

this gem is tri-licensed `Ruby` / `EPL-2.0` / `LGPL-2.1-or-later` and
the Ruby license is preferred to EPL when available

---------

Co-authored-by: andsel <selva.andre@gmail.com>

* deps: add license notices for gems moved from default to bundled

---------

Co-authored-by: andsel <selva.andre@gmail.com>
2023-10-03 14:32:28 -07:00
kaisecheng
da4c918122
bump to 8.11.0 (#15276) 2023-08-23 13:52:30 +01:00
João Duarte
dfc61c6693
Update JDK to 17.0.8+7 (#15215) 2023-07-25 10:13:48 +01:00
João Duarte
1d1fa7a471
update commons-io commons-compress jrjackson databind (#15125)
* update commons-io to 2.13.0 and commons-compress to 1.23.0

* update databind and jackson
2023-06-29 09:02:32 +02:00
Andrea Selva
26d1c7ccdb
Update to JRuby 9.4 (#14861)
Set of changes to make Logstash compatible to JRuby 9.4.
Bundle JRuby 9.4.3.0

- Redefine space token in `LSCL`  and `grammar` treetop from `_` which would generated methods in the form `def _0` (deprecated since `2.7`) to `sc`.
- `I18n.t` method doesn't accept hash as second argument
- `URI.encode` has been replaced with same functionality with `URI::Parser.new.escape`
- `YAML.load` needs explicit `fallback: false` to return false when the yaml string is empty (or contains only comments)
- JRuby's  `JavaClass` has been removed, now it can use `java.lang.Class` directly
- explicitly require gem `thwait` to satisfy `require "thwait"` (In `Gemfile.template` and `logstash-core/logstash-core.gemspec`)
- fix not args `clone` to be `def clone(*args)`
- fix `Enumeration.each_slice` which from `Ruby 3.1` is [chainable](https://rubyreferences.github.io/rubychanges/3.1.html#enumerableeach_cons-and-each_slice-return-a-receiver) and doesn't return `nil`. JRuby fixed in https://github.com/jruby/jruby/issues/7015
- Expanded `Down.download` arguments map ca16bbed3c302006967413eb9d3862f2da81f7ae
- Avoid to pass `nil` in the list of couples used in `Hash[ <list of couples> ]` which from Ruby `3.0` generates an `ArgumentError`
- Removed space not allowed between method name and parentheses `initialize (` is forbidden. 29b607dcdef98f81a73ad171639fd13aaa65e243
- With [Ruby 2.7 the `Kernel#open`](https://rubyreferences.github.io/rubychanges/2.7.html#network-and-web) doesn't fallback to `URI#open`, fixed test code that used that to verify open port. e5b70de54c5301f51a767da67294092af0cfafdc
- Avoid to drop `rdoc/` folder from vendored JRuby else `bin/logstash -i irb` would crash, commit b71f73e9c6edb81a7b7ae1305047e506f61c6e8c

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2023-06-28 13:05:43 +02:00
Rob Bavey
22dc7a8a91
Bump version to 8.10.0 (#15103) 2023-06-21 09:54:29 -04:00
Andrea Selva
643bb0c5c2
Bumped versions.yml for 8.9 cycle (#15022) 2023-04-26 10:50:45 +02:00
João Duarte
d7c81dfece
Update JDK to 17.0.7+7 (#15007) 2023-04-20 10:44:36 +01:00
Mashhur
0600ff98bb
Bump to 8.8.0 (#14874) 2023-02-08 09:14:13 +05:00
João Duarte
1b7820a7ae
update jruby to 9.3.10.0 (#14865)
* Fixed regression which caused longer strings to match slower https://github.com/jruby/jruby/issues/7484

fixes https://github.com/logstash-plugins/logstash-filter-grok/issues/185
2023-02-02 15:22:06 +00:00
Andrea Selva
3516986a38
Update bundeld JDK to 17.0.6+10 (#14849) 2023-01-24 18:25:17 +01:00
Mashhur
d1f3415d82
jrjackson and jackson versions bump. (#14845) 2023-01-18 22:01:15 +05:00
João Duarte
394abbd4b1
bump jruby to 9.3.9.0 (#14694)
fixes Encoding bug on Windows https://github.com/jruby/jruby/issues/7367
2022-11-28 15:35:10 +00:00
Andrea Selva
b40136c76c
Bump to 8.7.0 (#14755) 2022-11-16 16:34:29 +01:00
Andrea Selva
c6880f226f
Update bundled JDK to 17.0.5+8 (#14728) 2022-11-03 15:12:27 +01:00
João Duarte
05785e9a0b
bump to 8.6.0 (#14545) 2022-09-21 15:44:35 +01:00
Rob Bavey
0578ddbbd3
Upgrade jruby to 9.3.8.0 (#14524)
Also remove the explicit CSV import added in #14507, jruby-9.3.8.0 includes
the correct version by default
2022-09-13 17:36:40 -04:00
João Duarte
6bc2483cfc
bump jruby version to 9.3.7.0 (#14455) 2022-08-17 14:30:45 +01:00
Rob Bavey
4771ad61b9
Update version of the bundled JDK to 17.0.4+8 (#14424) 2022-08-09 09:21:23 -04:00
Rob Bavey
5a6460899d
Bump version to 8.5.0 (#14382) 2022-07-27 08:57:02 -04:00
Rob Bavey
0181745a99
This commit updates the default version of the JDK to jdk17. (#13343)
Also updates ci to jdk17.
2022-07-13 12:27:54 -04:00
Andrea Selva
430d3af7dc
Update dependencies (#14348) 2022-07-13 09:06:18 +02:00
Rob Bavey
d268f58a55
Update jruby to 9.3.6.0 (#14304) 2022-06-29 11:42:42 -04:00
João Duarte
4d6942c240
update jackson and jackson-databind to 2.13.3 (#13945)
In jackson-databind 2.10, enabling Default Typing requires having a type validator, and while there's an "allow all" validator called LaissezFaireSubTypeValidator, this commit also tightens the validation a bit by narrowing down the allowed classes.

The default typing validator is only applied to the ObjectMapper for CBOR, which is used in the DLQ, leaving the one for JSON as-is.

Other changes:
* make ingest-converter use versions.yml for jackson-databind
* update jrjackson
2022-06-06 09:47:44 +01:00
João Duarte
83b3c39871
bump version to 8.4.0 (#14161) 2022-05-25 12:12:25 +01:00