Compare commits

..

2 Commits

Author SHA1 Message Date
188ef3d8f3 Bump version to 4.12.1 2025-05-02 11:16:19 +01:00
0cff864f60 ui: Remove CodeEditor reloadKey.
With the migration from codemirror to ace, this workaround is no longer
needed to correctly render the UI component.
2025-05-02 11:09:59 +01:00
15 changed files with 21 additions and 24 deletions

12
Cargo.lock generated
View File

@ -636,7 +636,7 @@ dependencies = [
[[package]]
name = "backend"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"aes-kw",
"anyhow",
@ -838,7 +838,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "chirpstack"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"aes",
"anyhow",
@ -930,7 +930,7 @@ dependencies = [
[[package]]
name = "chirpstack_api"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"hex",
"pbjson",
@ -947,7 +947,7 @@ dependencies = [
[[package]]
name = "chirpstack_integration"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"anyhow",
"async-trait",
@ -2794,7 +2794,7 @@ dependencies = [
[[package]]
name = "lrwn"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"aes",
"anyhow",
@ -2807,7 +2807,7 @@ dependencies = [
[[package]]
name = "lrwn_filters"
version = "4.12.1-test.1"
version = "4.12.1"
dependencies = [
"hex",
"lrwn",

View File

@ -1,6 +1,6 @@
{
"name": "@chirpstack/chirpstack-api-grpc-web",
"version": "4.12.1-test.1",
"version": "4.12.1",
"description": "Chirpstack gRPC-web API",
"license": "MIT",
"devDependencies": {

View File

@ -8,7 +8,7 @@ plugins {
}
group = "io.chirpstack"
version = "4.12.1-test.1"
version = "4.12.1"
repositories {
mavenCentral()

2
api/js/package.json vendored
View File

@ -1,6 +1,6 @@
{
"name": "@chirpstack/chirpstack-api",
"version": "4.12.1-test.1",
"version": "4.12.1",
"description": "Chirpstack JS and TS API",
"license": "MIT",
"devDependencies": {

View File

@ -9,7 +9,7 @@ plugins {
}
group = "io.chirpstack"
version = "4.12.1-test.1"
version = "4.12.1"
repositories {
mavenCentral()

View File

@ -3,7 +3,7 @@
"description": "Chirpstack PHP API",
"license": "MIT",
"type": "library",
"version": "4.12.1-test.1",
"version": "4.12.1",
"require": {
"php": ">=7.0.0",
"grpc/grpc": "^v1.57.0",

View File

@ -18,7 +18,7 @@ CLASSIFIERS = [
setup(
name='chirpstack-api',
version = "4.12.1-test.1",
version = "4.12.1",
url='https://github.com/brocaar/chirpstack-api',
author='Orne Brocaar',
author_email='info@brocaar.com',

2
api/rust/Cargo.toml vendored
View File

@ -1,7 +1,7 @@
[package]
name = "chirpstack_api"
description = "ChirpStack Protobuf / gRPC API definitions."
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
license = "MIT"
homepage = "https://www.chirpstack.io"

View File

@ -1,6 +1,6 @@
[package]
name = "backend"
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2018"
publish = false

View File

@ -3,13 +3,13 @@
description = "Library for building external ChirpStack integrations"
homepage = "https://www.chirpstack.io/"
license = "MIT"
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2021"
repository = "https://github.com/chirpstack/chirpstack"
[dependencies]
chirpstack_api = { path = "../api/rust", version = "4.12.1-test.1" }
chirpstack_api = { path = "../api/rust", version = "4.12.1" }
redis = { version = "0.29", features = [
"cluster-async",
"tokio-rustls-comp",

View File

@ -3,7 +3,7 @@
description = "ChirpStack is an open-source LoRaWAN(TM) Network Server"
repository = "https://github.com/chirpstack/chirpstack"
homepage = "https://www.chirpstack.io/"
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2021"
publish = false

View File

@ -3,7 +3,7 @@
description = "Library for filtering LoRaWAN payloads on DevAddr and JoinEUIs prefixes"
homepage = "https://www.chirpstack.io/"
license = "MIT"
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2021"
repository = "https://github.com/chirpstack/chirpstack"

View File

@ -3,7 +3,7 @@
description = "Library for encoding / decoding LoRaWAN frames."
homepage = "https://www.chirpstack.io"
license = "MIT"
version = "4.12.1-test.1"
version = "4.12.1"
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2018"
repository = "https://github.com/chirpstack/chirpstack"

View File

@ -1,6 +1,6 @@
{
"name": "chirpstack-ui",
"version": "4.12.1-test.1",
"version": "4.12.1",
"private": true,
"type": "module",
"scripts": {

View File

@ -19,11 +19,9 @@ interface IProps {
function CodeEditor(props: IProps) {
const form = Form.useFormInstance();
const [value, setValue] = useState<string>("");
const [reloadKey, setReloadKey] = useState<number>(1);
useEffect(() => {
setValue(form.getFieldValue(props.name));
setReloadKey(k => k + 1);
setValue(form.getFieldValue(props.name) || "");
}, [form, props]);
const onChange = (newValue: string) => {
@ -41,7 +39,6 @@ function CodeEditor(props: IProps) {
theme="github"
onChange={onChange}
value={value}
name={`code-editor-refresh-${reloadKey}`}
width="100%"
height="600px"
editorProps={{ $blockScrolling: true }}