312 Commits

Author SHA1 Message Date
2dc4fb8230 more http server docs 2026-04-26 16:16:59 +03:00
f74ed9afe4 Switch HTTP server API to RequestContext receivers 2026-04-26 15:57:57 +03:00
ca4a0d4b12 Extend HTTP server routing and JSON exchange helpers 2026-04-26 13:42:14 +03:00
01ceecd7df Add minimal HTTP server and shared network type packages 2026-04-26 10:09:25 +03:00
eba7158330 Fix SPA sample links and sample doc publishing 2026-04-25 16:46:51 +03:00
66b8806b11 Add runnable DB serialization example 2026-04-25 16:23:08 +03:00
92e9325f40 Add SQL object expansion serialization support 2026-04-25 16:09:30 +03:00
50e34e520e Add DB decode annotations and preserved declaration metadata 2026-04-25 13:36:33 +03:00
2abe7e2f96 Add typed canonical JSON encoding 2026-04-25 00:36:18 +03:00
2bedaa0969 Add canonical Json format and external format binding 2026-04-25 00:03:00 +03:00
9735774efd v1.5.5 release 2026-04-23 15:18:47 +03:00
87060c7eb7 +inference bugs
+List.ensureCapacity
optimized List.fill
2026-04-20 13:56:47 +03:00
a8f73dc8bd added LaunchPool 2026-04-18 23:37:21 +03:00
145c3ae34a Add completeExceptionally, cancelAndJoin, and refine LaunchPool spec
- CompletableDeferred.completeExceptionally(exception): fails the deferred
  with a Lyng exception; the original exception object is preserved as
  errorObject so assertThrows/catch see the correct class (works for both
  built-in ObjException and user-declared class instances)
- LaunchPool: add maxQueueSize parameter (suspends launch when full),
  add cancelAndJoin() for graceful shutdown that waits for running tasks,
  clarify all semantics in the extern declaration comments
- Two tests for completeExceptionally (built-in and user-defined exception)
- Fix parallelism.md channel doc-test to be illustration-only (avoid
  flakiness from coroutine scheduling in the doc-test runner)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 03:00:40 +03:00
f9a07f176a Add Channel primitive for coroutine inter-task communication
Exposes Kotlin's Channel<Obj> to Lyng scripts as a first-class type
with rendezvous, buffered, and unlimited capacity modes. Supports
suspending send/receive, non-suspending tryReceive, close/drain
semantics, and isClosedForSend/isClosedForReceive properties.

Also fixes a pre-existing typo in BookTest.kt that blocked JVM test
compilation, and adds Channel reference docs and a parallelism.md section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 02:28:55 +03:00
49fc700233 Detach materialized SQL rows from transaction lifetime 2026-04-17 20:38:40 +03:00
64273ac60a Add JDBC database provider for JVM 2026-04-16 22:10:36 +03:00
ee392daa13 another sample 2026-04-16 13:35:12 +03:00
b3be908242 Add Date type and database release docs 2026-04-15 23:20:23 +03:00
fada848907 Add backtick string literals and formatter support 2026-04-13 23:08:18 +03:00
88ce04102a Add CLI atExit shutdown handlers 2026-04-09 22:17:45 +03:00
121d860043 Document native networking limits 2026-04-09 19:17:32 +03:00
aa1b74620e docs for cli fix; KMP compatibility bug fix 2026-04-08 22:54:22 +03:00
ef95ed4405 package structure/import for CLI 2026-04-08 22:38:34 +03:00
12fb4fe0ba + String.replace 2026-04-08 10:45:01 +03:00
368ce2ce8c added buffer.base64std 2026-04-08 09:27:52 +03:00
d0d79d2f07 docs: add LegacyDigest module documentation
- New docs/LegacyDigest.md: full reference for lyng.legacy_digest,
  covering the sha1() API, input types (String / Buffer), FIPS compliance
  note, and explicit guidance on appropriate vs. inappropriate use.

- docs/ai_stdlib_reference.md: entry in section 5 so AI agents know
  LegacyDigest.sha1() exists and is intentionally named as legacy-only.

- docs/whats_new.md: release-note section alongside Complex, Decimal,
  and Matrix, with a minimal runnable example and cross-link.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 19:53:01 +03:00
15617f6998 more docs 2026-04-07 01:01:26 +03:00
583067780f Support object extension indexers 2026-04-07 00:49:51 +03:00
8386337c42 missing docs on object extension 2026-04-07 00:05:34 +03:00
35628c8453 Support extensions on singleton objects 2026-04-06 19:24:28 +03:00
671583638b v1.5.5-SNAPSHOT started. compile if support 2026-04-06 11:09:14 +03:00
214f1aec9e v1.5.4 release 2026-04-05 06:34:30 +03:00
d8454a11fc optimize arithmetics 2026-04-04 04:01:43 +03:00
a7ab0d3905 added static List.fill(size) { ... } 2026-04-03 21:15:41 +03:00
f1003f5b95 Add descending ranges and for-loop support 2026-04-03 20:58:08 +03:00
d8c53c500e Package JVM distribution as a zip, update symlink creation, and document changes in CLI and downloads. 2026-04-03 20:36:30 +03:00
38646c6257 Update platform support matrix with detailed statuses and legend 2026-04-02 20:41:54 +03:00
9bee0aed5b Merge branch 'inference-bug'
# Conflicts:
#	lyngio/src/commonMain/kotlin/net/sergeych/lyng/io/http/LyngHttpModule.kt
2026-04-02 20:06:11 +03:00
cd7e001f41 Refactor KMP networking backends 2026-04-02 20:04:25 +03:00
62520f6203 Add downloads page and navigation link to site 2026-04-02 19:27:19 +03:00
5346d15a9f Add KMP networking backends 2026-04-02 19:23:46 +03:00
7578128689 some order to outdated and special docs 2026-04-02 19:10:48 +03:00
d409a4bb8b Add verified Ktor-backed networking modules to lyngio 2026-04-02 16:19:14 +03:00
fc01016a74 Added EvalSession way of controlling all coroutines started from a script 2026-04-02 02:05:14 +03:00
311cf6ee44 Add Lyng deferred cancellation support 2026-03-31 22:50:46 +03:00
6e9333844e support for Decimal.isInfitite and isNan 2026-03-31 19:13:45 +03:00
a976702caf support for Real.isInfitite and isNan 2026-03-31 19:08:11 +03:00
05d7432b37 fixes on Decimals and bound kotlin classes 2026-03-29 01:20:20 +03:00
c7c333b71a fixed some issues with Decimals 2026-03-29 00:39:48 +03:00