From 601c40570d6c986c8e1a6a2e483dd2fdf5ade552 Mon Sep 17 00:00:00 2001
From: wtfsck <wtfsck@protonmail.com>
Date: Sat, 20 Jan 2024 15:36:25 +0100
Subject: [PATCH] Bump version

---
 README.md                                     |  2 +-
 build/npm-fix-json.py                         |  2 +-
 src/csharp/Directory.Build.props              |  2 +-
 src/java/iced-x86/README.md                   |  2 +-
 src/java/iced-x86/pom.xml                     |  2 +-
 src/rust/iced-x86-js/Cargo.toml               |  2 +-
 src/rust/iced-x86-lua/Cargo.toml              |  4 +-
 ...-1.rockspec => iced_x86-1.21.0-1.rockspec} |  4 +-
 src/rust/iced-x86-py/Cargo.toml               |  4 +-
 src/rust/iced-x86-py/docs/conf.py             |  2 +-
 src/rust/iced-x86-py/setup.py                 |  2 +-
 src/rust/iced-x86/Cargo.toml                  |  2 +-
 src/rust/iced-x86/README.md                   | 48 +++++++++----------
 src/rust/iced-x86/src/code_asm.rs             |  4 +-
 14 files changed, 41 insertions(+), 41 deletions(-)
 rename src/rust/iced-x86-lua/{iced_x86-1.20.0-1.rockspec => iced_x86-1.21.0-1.rockspec} (96%)

diff --git a/README.md b/README.md
index 4a4af7529..413519f8b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# iced [![crates.io](https://img.shields.io/crates/v/iced-x86.svg)](https://crates.io/crates/iced-x86) [![NuGet](https://img.shields.io/nuget/v/iced.svg)](https://www.nuget.org/packages/iced/) [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.20.0) [![pypi](https://img.shields.io/pypi/v/iced-x86.svg)](https://pypi.org/project/iced-x86/) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions) [![codecov](https://codecov.io/gh/icedland/iced/branch/master/graph/badge.svg)](https://codecov.io/gh/icedland/iced)
+# iced [![crates.io](https://img.shields.io/crates/v/iced-x86.svg)](https://crates.io/crates/iced-x86) [![NuGet](https://img.shields.io/nuget/v/iced.svg)](https://www.nuget.org/packages/iced/) [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.21.0) [![pypi](https://img.shields.io/pypi/v/iced-x86.svg)](https://pypi.org/project/iced-x86/) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions) [![codecov](https://codecov.io/gh/icedland/iced/branch/master/graph/badge.svg)](https://codecov.io/gh/icedland/iced)
 
 <img align="right" width="160px" height="160px" src="logo.png">
 
diff --git a/build/npm-fix-json.py b/build/npm-fix-json.py
index ba24ff7c7..b6ef5941b 100644
--- a/build/npm-fix-json.py
+++ b/build/npm-fix-json.py
@@ -1,7 +1,7 @@
 import sys
 import json
 
-iced_version = "1.20.0"
+iced_version = "1.21.0"
 
 if len(sys.argv) != 3:
 	raise ValueError(f"usage {sys.argv[0]} npm_package_json test_package_json")
diff --git a/src/csharp/Directory.Build.props b/src/csharp/Directory.Build.props
index 32badd40f..f15e53503 100644
--- a/src/csharp/Directory.Build.props
+++ b/src/csharp/Directory.Build.props
@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <Copyright>Copyright (C) 2018-present iced project and contributors</Copyright>
-    <Version>1.20.0</Version>
+    <Version>1.21.0</Version>
     <Authors>iced project and contributors &lt;https://github.com/icedland&gt;</Authors>
     <InformationalVersion>$(Version)</InformationalVersion>
 
diff --git a/src/java/iced-x86/README.md b/src/java/iced-x86/README.md
index 2a8f7d9b9..37ec1b6a2 100644
--- a/src/java/iced-x86/README.md
+++ b/src/java/iced-x86/README.md
@@ -1,4 +1,4 @@
-# iced [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.20.0) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions)
+# iced [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.21.0) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions)
 
 iced is a blazing fast and correct x86 (16/32/64-bit) instruction decoder, disassembler and assembler written in Java.
 
diff --git a/src/java/iced-x86/pom.xml b/src/java/iced-x86/pom.xml
index 75c70e302..5363015c8 100644
--- a/src/java/iced-x86/pom.xml
+++ b/src/java/iced-x86/pom.xml
@@ -6,7 +6,7 @@
 
   <groupId>io.github.icedland.iced</groupId>
   <artifactId>iced-x86</artifactId>
-  <version>1.20.0</version>
+  <version>1.21.0</version>
 
   <name>iced-x86</name>
   <description>x86/x64 disassembler, encoder, assembler written in Java</description>
diff --git a/src/rust/iced-x86-js/Cargo.toml b/src/rust/iced-x86-js/Cargo.toml
index 015d4a745..914acbd29 100644
--- a/src/rust/iced-x86-js/Cargo.toml
+++ b/src/rust/iced-x86-js/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "iced-x86"
 # The version number can't be the same as iced-x86's version number or cargo build will fail
-version = "1.20.1000"
+version = "1.21.1000"
 license = "MIT"
 description = "iced-x86 is a blazing fast and correct x86/x64 disassembler, assembler and instruction decoder written in Rust and compiled to WebAssembly"
 homepage = "https://github.com/icedland/iced"
diff --git a/src/rust/iced-x86-lua/Cargo.toml b/src/rust/iced-x86-lua/Cargo.toml
index 8e371ee3e..c17aa8d77 100644
--- a/src/rust/iced-x86-lua/Cargo.toml
+++ b/src/rust/iced-x86-lua/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "iced-x86-lua"
-version = "1.20.0"
+version = "1.21.0"
 edition = "2021"
 publish = false
 rust-version = "1.57.0"
@@ -25,7 +25,7 @@ libc = "0.2"
 
 [dependencies.iced-x86]
 # The version must match the one we expect, it should not be the latest version on crates.io
-version = "=1.20.0"
+version = "=1.21.0"
 default-features = false
 features = ["std", "decoder", "mvex", "encoder", "block_encoder", "op_code_info", "instr_info", "gas", "intel", "masm", "nasm"]
 # To use ../iced-x86 source code, add this to your $HOME/.cargo/config.toml
diff --git a/src/rust/iced-x86-lua/iced_x86-1.20.0-1.rockspec b/src/rust/iced-x86-lua/iced_x86-1.21.0-1.rockspec
similarity index 96%
rename from src/rust/iced-x86-lua/iced_x86-1.20.0-1.rockspec
rename to src/rust/iced-x86-lua/iced_x86-1.21.0-1.rockspec
index 60a9d02e2..ab124c1dd 100644
--- a/src/rust/iced-x86-lua/iced_x86-1.20.0-1.rockspec
+++ b/src/rust/iced-x86-lua/iced_x86-1.21.0-1.rockspec
@@ -1,4 +1,4 @@
-local modver = "1.20.0"
+local modver = "1.21.0"
 local specrev = "-1"
 local libname = "iced_x86"
 
@@ -6,7 +6,7 @@ package = "iced_x86"
 version = modver .. specrev
 source = {
 	url = "git+https://git@github.com/icedland/iced.git",
-	tag = "v1.20.0",
+	tag = "v1.21.0",
 }
 description = {
 	summary = "x86/x64 disassembler, assembler and instruction decoder",
diff --git a/src/rust/iced-x86-py/Cargo.toml b/src/rust/iced-x86-py/Cargo.toml
index 198c42dc1..d9bf24095 100644
--- a/src/rust/iced-x86-py/Cargo.toml
+++ b/src/rust/iced-x86-py/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "iced-x86-py"
-version = "1.20.0"
+version = "1.21.0"
 edition = "2021"
 publish = false
 rust-version = "1.57.0"
@@ -19,7 +19,7 @@ features = ["macros", "extension-module", "abi3-py38"]
 
 [dependencies.iced-x86]
 # If building from sdist, it should use the exact same version as the sdist.
-version = "=1.20.0"
+version = "=1.21.0"
 features = ["serde", "mvex"]
 # To use ../iced-x86 source code, add this to your $HOME/.cargo/config.toml
 #	paths = ["/abs/path/to/iced/src/rust/iced-x86"]
diff --git a/src/rust/iced-x86-py/docs/conf.py b/src/rust/iced-x86-py/docs/conf.py
index c9c3a5e08..bec86f8d9 100644
--- a/src/rust/iced-x86-py/docs/conf.py
+++ b/src/rust/iced-x86-py/docs/conf.py
@@ -23,7 +23,7 @@
 copyright = "Copyright (C) 2018-present iced project and contributors"
 author = "iced project and contributors <https://github.com/icedland>"
 # The full version, including alpha/beta/rc tags
-release = "1.20.0"
+release = "1.21.0"
 
 
 # -- General configuration ---------------------------------------------------
diff --git a/src/rust/iced-x86-py/setup.py b/src/rust/iced-x86-py/setup.py
index 489fb3da6..c265cc0d6 100644
--- a/src/rust/iced-x86-py/setup.py
+++ b/src/rust/iced-x86-py/setup.py
@@ -24,7 +24,7 @@
 
 setup(
 	name="iced-x86",
-	version="1.20.0",
+	version="1.21.0",
 	license="MIT",
 	author_email="wtfsck@protonmail.com",
 	author="wtfsck",
diff --git a/src/rust/iced-x86/Cargo.toml b/src/rust/iced-x86/Cargo.toml
index 2d9c234ad..6f195c9c7 100644
--- a/src/rust/iced-x86/Cargo.toml
+++ b/src/rust/iced-x86/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "iced-x86"
-version = "1.20.0"
+version = "1.21.0"
 edition = "2021"
 license = "MIT"
 description = "iced-x86 is a blazing fast and correct x86/x64 disassembler, assembler and instruction decoder written in Rust"
diff --git a/src/rust/iced-x86/README.md b/src/rust/iced-x86/README.md
index 138605fcc..f85726340 100644
--- a/src/rust/iced-x86/README.md
+++ b/src/rust/iced-x86/README.md
@@ -26,14 +26,14 @@ Add this to your `Cargo.toml`:
 
 ```toml
 [dependencies]
-iced-x86 = "1.20.0"
+iced-x86 = "1.21.0"
 ```
 
 Or to customize which features to use:
 
 ```toml
 [dependencies.iced-x86]
-version = "1.20.0"
+version = "1.21.0"
 default-features = false
 # See below for all features
 features = ["std", "decoder", "masm"]
@@ -60,10 +60,10 @@ You can enable/disable these in your `Cargo.toml` file.
 - `mvex`: Enables `MVEX` instructions (Knights Corner). You must also pass in `DecoderOptions::KNC` to the [`Decoder`] constructor.
 - `exhaustive_enums`: Enables exhaustive enums, i.e., no enum has the `#[non_exhaustive]` attribute
 
-[`BlockEncoder`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.BlockEncoder.html
-[`CodeAssembler`]: https://docs.rs/iced-x86/1.20.0/iced_x86/code_asm/struct.CodeAssembler.html
-[`Instruction`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Instruction.html
-[`OpCodeInfo`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.OpCodeInfo.html
+[`BlockEncoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.BlockEncoder.html
+[`CodeAssembler`]: https://docs.rs/iced-x86/1.21.0/iced_x86/code_asm/struct.CodeAssembler.html
+[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
+[`OpCodeInfo`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.OpCodeInfo.html
 
 ## How-tos
 
@@ -83,14 +83,14 @@ You can enable/disable these in your `Cargo.toml` file.
 This example uses a [`Decoder`] and one of the [`Formatter`]s to decode and format the code,
 eg. [`GasFormatter`], [`IntelFormatter`], [`MasmFormatter`], [`NasmFormatter`], [`SpecializedFormatter<TraitOptions>`] (or [`FastFormatter`]).
 
-[`Decoder`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Decoder.html
-[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
-[`GasFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.GasFormatter.html
-[`IntelFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.IntelFormatter.html
-[`MasmFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.MasmFormatter.html
-[`NasmFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.NasmFormatter.html
-[`SpecializedFormatter<TraitOptions>`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.SpecializedFormatter.html
-[`FastFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/type.FastFormatter.html
+[`Decoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Decoder.html
+[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
+[`GasFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.GasFormatter.html
+[`IntelFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.IntelFormatter.html
+[`MasmFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.MasmFormatter.html
+[`NasmFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.NasmFormatter.html
+[`SpecializedFormatter<TraitOptions>`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.SpecializedFormatter.html
+[`FastFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/type.FastFormatter.html
 
 ```rust
 use iced_x86::{Decoder, DecoderOptions, Formatter, Instruction, NasmFormatter};
@@ -182,7 +182,7 @@ This requires the `code_asm` feature to use (not enabled by default). Add it to
 
 ```toml
 [dependencies.iced-x86]
-version = "1.20.0"
+version = "1.21.0"
 features = ["code_asm"]
 ```
 
@@ -274,8 +274,8 @@ pub(crate) fn how_to_use_code_assembler() -> Result<(), IcedError> {
 
 Creates a custom [`SymbolResolver`] that is called by a [`Formatter`].
 
-[`SymbolResolver`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.SymbolResolver.html
-[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
+[`SymbolResolver`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.SymbolResolver.html
+[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
 
 ```rust
 use iced_x86::{
@@ -332,8 +332,8 @@ Creates a custom [`FormatterOutput`] that is called by a [`Formatter`].
 
 This example will fail to compile unless you install the `colored` crate, see below.
 
-[`FormatterOutput`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.FormatterOutput.html
-[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
+[`FormatterOutput`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.FormatterOutput.html
+[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
 
 ```rust compile_fail
 // This example uses crate colored = "2.0.0"
@@ -605,8 +605,8 @@ static EXAMPLE_CODE: &[u8] = &[
 Shows how to get used registers/memory and other info. It uses [`Instruction`] methods
 and an [`InstructionInfoFactory`] to get this info.
 
-[`Instruction`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Instruction.html
-[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.InstructionInfoFactory.html
+[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
+[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.InstructionInfoFactory.html
 
 ```rust
 use iced_x86::{
@@ -1152,9 +1152,9 @@ This example shows how to create instructions without using it.
 
 This example uses a [`BlockEncoder`] to encode created [`Instruction`]s.
 
-[`BlockEncoder`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.BlockEncoder.html
-[`CodeAssembler`]: https://docs.rs/iced-x86/1.20.0/iced_x86/code_asm/struct.CodeAssembler.html
-[`Instruction`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Instruction.html
+[`BlockEncoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.BlockEncoder.html
+[`CodeAssembler`]: https://docs.rs/iced-x86/1.21.0/iced_x86/code_asm/struct.CodeAssembler.html
+[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
 
 ```rust
 use iced_x86::{
diff --git a/src/rust/iced-x86/src/code_asm.rs b/src/rust/iced-x86/src/code_asm.rs
index ad6bae25f..3f0dca547 100644
--- a/src/rust/iced-x86/src/code_asm.rs
+++ b/src/rust/iced-x86/src/code_asm.rs
@@ -7,7 +7,7 @@
 //!
 //! ```toml
 //! [dependencies.iced-x86]
-//! version = "1.20.0"
+//! version = "1.21.0"
 //! features = ["code_asm"]
 //! ```
 //!
@@ -57,7 +57,7 @@ impl CodeAssemblerOptions {
 ///
 /// ```toml
 /// [dependencies.iced-x86]
-/// version = "1.20.0"
+/// version = "1.21.0"
 /// features = ["code_asm"]
 /// ```
 ///