Skip to content

Commit aea5346

Browse files
committed
v0.1.3-Beta: release
1 parent 1c9b56a commit aea5346

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 0.1.3-Beta 2025.11.27
4+
5+
### Added
6+
7+
- java function for internal usage
8+
- `export function xxx() {}` support
9+
10+
### Changed
11+
12+
-
13+
14+
### Fixed
15+
16+
- `export let xxx` not work
17+
- function name now in every call
18+
- import context from file not to global context but to `OBJECT_PROTOTYPE`
19+
320
## 0.1.2-Beta 2025.11.26
421

522
### Added

src/test/java/ScriptTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -267,21 +267,6 @@ void config() {
267267
assertTrue(result.getAsScriptObject().findMember("title", Component.class).isPresent());
268268
}
269269

270-
@Test
271-
void call() {
272-
assertTrue(evaluate("""
273-
const message = (msg) => {
274-
return msg
275-
}
276-
277-
const randomMsg = (...msg) => {
278-
return msg[Math.random() * msg.length()];
279-
};
280-
281-
message{msg=randomMsg(1, 2, 3)}
282-
""").getAsBigDecimal().intValue() <= 3);
283-
}
284-
285270
@Test
286271
void export() {
287272
Context ctx = new Context();

0 commit comments

Comments
 (0)