Tags: noraj/ctf-party
Tags
v4.0.0 - **Breaking changes** - **Drop Ruby 3.0 support** ([EOL](https://www.ruby-lang.org/en/downloads/branches/)) - Chore: - Add support for Ruby 3.4 - Change the way version is included. Insted of including a module `Version`, directly add the `VERSION` constant in the `CTFParty` module. It could avoid namespace collision with that kind of generic name. - Changes: - Add a `padding:` option to `hex2dec` - Documentation: - Use syntax highlight for shell commands without output
v3.0.0 - **Breaking changes** - **Drop Ruby 2.7 support** because there is no `URI:WS` and `URI:WSS` used for `defang_uri` and anyway [official support has ended too](https://www.ruby-lang.org/en/downloads/branches/) - `hex2bin` now returns even number of chars (pad with `0`) by default and add an option to disable it. - `urlencode_component` & `urldecode_component` were renamed to `urlencode_data` & `urldecode_data`, `urlencode_component` & `urldecode_component` are now new functions - Changes: - Renamed `from_hexip` to `from_hexipv4` and created an aliases `from_hexip` for `from_hexipv4`. Same for `to_hexipv4` and bang methods. - add options support for all decimal methods and aliases - New methods: - `from_hexipv6` and `from_hexipv6!` - `bin2dec` and `dec2bin` - `urlencode_component` (see **breaking change**, the old `urlencode_component` was renamed `urlencode_data`) - `urldecode_component` (see **breaking change**, the old `urldecode_component` was renamed `urldecode_data`) - Chore: - Add support for Ruby 3.3 (up to Ruby < 4.0) - Fix: - bin2hex: fix odd byte cropping issue - fix documentation for base64
v2.3.0 - New defang methods: - `defang_ip` & `refang_ip` & bang version - `defang_domain` & `refang_domain` & bang version - `defang_uri` & `refang_uri` & bang version - `defang_email` & `refang_email` & bang version - New network methods: - `ipv4?`, `ipv6?`, `ip?`, `uri?`, `domain?`, `email?` - Chore: - Add support for Ruby 3.2
v2.2.0 - CLI: - Add `urlencode_component` and `urldecode_component` to the command whitelist - Now can read from STDIN - Add some commands from native String class: `bytesize`, `capitalize`, `chomp`, `chop`, `downcase`, `dump`, `hex`, `inspect`, `length`, `lstrip`, `reverse`, `rstrip`, `scrub`, `shellescape`, `size`, `squeeze`, `strip`, `succ`, `swapcase`, `undump`, `unicode_normalize`, `upcase` - Add `--row` option: apply the transformation to each row - Add `--file` option: interpret the string as a filename (read from file) - Fix: - dec2hex: fix odd byte cropping issue
v2.0.0
8000v2.0.0 - New options: - `dec2hex`, `to_hex`, `bin2hex`, `to_hexip`: Add a `:prefixall` option, allowing to prefix each byte - Changes: - `dec2hex`: Change the default value of the `:padding` option to `2` - `urlencode`, `urldecode`: **BREAKING CHANGE** now use `URI::Parser.new.escape` to get valid URL, use `urlencode_component`, `urldecode_component` to get the old behavior - **BREAKING CHANGE** the binary `ctf_party_console` has been renamed to `ctf-party_console` - New methods: - `urlencode_component`, `urldecode_component`: URL-encode URL component, have the old `urlencode`, `urldecode` behavior - Fixes: - `dec2hex`: Fix `:padding` option behavior - `hex2dec`, `from_hex`, `hex2bin`, `from_hexip`: Fix `:prefix` behavior when there is one prefix per byte - Chore: - Fix some linting - Documentation: Use a new dark theme + use tabs - Dependencies: - Update to yard [v0.9.27](https://github.com/lsegal/yard/releases/tag/v0.9.27) - Move from Redcarpet to CommonMarker markdown provider - Move doc syntax from Rdoc to markdown - Move dev dependencies from gemspec to gemfile
v1.5.0 - new rot method: - `rot_all` return a hash with all rot possibilities - new misc method: - `istrip` remove/strip all whitespace including inner ones. - new xor methods: - `ulxor` UTF-8 XOR (padding left) - `alxor` ASCII XOR (padding left) - `urxor` UTF-8 XOR (padding right) - `arxor` ASCII XOR (padding right)
PreviousNext