15 KiB
15 KiB
Changelog
v1.18.26-dev object field unknown YESNO diagnostic validation
- Added a focused negative
claro typecheckfixture for direct object-field assignment to an undeclared field with a YESNO value:NEW Player playerfollowed bySET player.ready YESwhen the class only declaresHAS score NUMBER. - Wired the YESNO-valued unknown-field fixture into both the typecheck diagnostics validator and
claro validate; no production typechecker change was needed because the existing narrow direct object-field diagnostic already reported the learner-friendly message.
v1.18.26-dev object field unknown TEXT diagnostic validation
- Added a focused negative
claro typecheckfixture for direct object-field assignment to an undeclared field with a TEXT value:NEW Player playerfollowed bySET player.nickname "Ace"when the class only declaresHAS score NUMBER. - Wired the TEXT-valued unknown-field fixture into both the typecheck diagnostics validator and
claro validate; no production typechecker change was needed because the existing narrow direct object-field diagnostic already reported the learner-friendly message.
v1.18.26-dev object field unknown-field diagnostic
- Added a focused negative
claro typecheckfixture for direct object-field assignment to an undeclared field:NEW Player playerfollowed bySET player.level 3when the class only declaresHAS score NUMBER. - Improved the narrow direct object-field diagnostic so simple unknown fields explain the missing field name and suggest adding a matching
HASdeclaration.
v1.18.26-dev object field TEXT negative validation
- Added a focused negative
claro typecheckfixture for direct object-field assignment with a TEXT field:NEW Player playerfollowed bySET player.name 123when the class declaresHAS name TEXT. - Wired the TEXT wrong-type fixture into both the typecheck diagnostics validator and
claro validate, completing NUMBER/TEXT/YESNO negative coverage for the current narrow direct object-field diagnostic foundation.
v1.18.26-dev object field YESNO negative validation
- Added a focused negative
claro typecheckfixture for direct object-field assignment with a YESNO field:NEW Player playerfollowed bySET player.ready "yes"when the class declaresHAS ready YESNO. - Wired the YESNO wrong-type fixture into both the typecheck diagnostics validator and
claro validate, complementing the existing NUMBER wrong-type diagnostic and NUMBER/TEXT/YESNO positive field fixtures.
v1.18.26-dev object field YESNO positive validation
- Added a focused positive
claro typecheckfixture for direct object-field assignment with a YESNO field:NEW Player playerfollowed bySET player.ready YESwhen the class declaresHAS ready YESNO. - Wired the YESNO object-field fixture into both the typecheck diagnostics validator and
claro validate, complementing the existing NUMBER/TEXT positive fixtures and wrong-type field diagnostic fixture.
v1.18.26-dev object field TEXT positive validation
- Added a focused positive
claro typecheckfixture for direct object-field assignment with a TEXT field:NEW Player playerfollowed bySET player.name "Ada"when the class declaresHAS name TEXT. - Wired the TEXT object-field fixture into both the typecheck diagnostics validator and
claro validate, complementing the existing NUMBER positive fixture and wrong-type field diagnostic fixture.
v1.18.26-dev object field positive validation
- Added a focused positive
claro typecheckfixture for direct object-field assignment:NEW Player playerfollowed bySET player.score 10when the class declaresHAS score NUMBER. - Wired the positive object-field fixture into both the typecheck diagnostics validator and
claro validate, complementing the existing wrong-type field diagnostic fixture.
v1.18.26-dev object field assignment diagnostics
- Added a narrow
claro typecheckdiagnostic for direct wrong-type object field assignment afterNEW Class object, such asSET player.score "ten"whenHAS score NUMBERis known. - Wired the new negative fixture into typecheck validation while keeping the existing object method positive/negative checks and object-field runtime fixture green.
- Documented the narrow object-field diagnostic scope in beginner-facing status and static typing docs.
v1.18.26-dev object method parameter diagnostics
- Extended the narrow
CHECK TYPEargument diagnostic foundation to simple object methods such asDO player.add "five"whenplayerwas created withNEW Player player. - Added focused positive and negative typecheck fixtures for object method parameter diagnostics and wired them into package/typecheck validation.
- Documented the current method-parameter diagnostic behavior in the README, current status, roadmap, and advanced static typing guide.
v1.18.26-dev multi-parameter function diagnostics
- Extended the function-argument typecheck foundation so both
DOand compatibilityCALL ... WITHcalls can report checked parameter mismatches. - Added multi-parameter positive and negative fixtures that verify each wrong argument gets a clear parameter-specific diagnostic.
- Included the function argument fixtures in
claro validateso package validation covers the diagnostic foundation directly.
v1.18.26-dev typed function diagnostic foundation
- Added a narrow
claro typecheckfoundation for function argument diagnostics: if a function body declares a parameter expectation withCHECK TYPE parameter IS TYPE, calls to that function are checked against the expected argument type. - Added positive and negative fixtures for the function-argument diagnostic path.
- Extended
tools/validate_typecheck_diagnostics.pyto verify both the new friendly error and a matching successful call.
v1.18.26-dev learner documentation status cleanup
- Grouped the README documentation map by current feature status so new learners can see what is ready, what is foundation-level, and what is still planned or experimental.
- Added a learner-first trust order to
docs/CURRENT_STATUS.md. - Marked
docs/FUTURE_FEATURES_ROADMAP.mdas a historical implementation plan plus remaining ideas, with completed slices separated from still-planned work.
v1.18.26-dev documentation audit consistency update
- Clarified that
docs/DOCUMENTATION_AUDIT_v1.18.26.mdis a historical snapshot from the first documentation cleanup pass. - Pointed current readers toward
CURRENT_STATUS.md,ROADMAP.md, and the README documentation map before the original audit problem list.
v1.18.26-dev type mismatch diagnostics update
- Improved
claro typecheckmessages so scalar, list, map, andCHECK TYPEmismatches use one beginner-friendlyType mismatch/Type check failedstyle. - Diagnostics now name the variable/container, the expected type, and the detected value type in plain language.
- Added
tools/validate_typecheck_diagnostics.pyand wired it intotools/validate_v1_17.py. - Strengthened
tools/validate_v1_17.pyso it rebuildsclaro.exebefore validation instead of trusting a stale binary. - Updated advanced static typing docs with the clearer diagnostic examples.
v1.18.26-dev package manifest and security foundation update
- Promoted the next development slice to
Claro v1.18.26. - Added
manifest-version: 1toclaro.projectand localclaro.packagefiles. - Added deterministic package checksums to local package manifests and
claro.lock. - Hardened
claro package doctorso it validates package manifests and checksums. - Added
tools/validate_package_security.pyand wired it intotools/validate_v1_17.py.
v1.18.26-dev cooperative concurrency foundation update
- Added beginner-friendly
YIELDandTASK STATUS name AS variablesupport. - Documented deterministic cooperative concurrency in
docs/CONCURRENCY.md. - Added
tests/40_tasks_status.claroandtools/validate_concurrency.py. - Improved unfinished block diagnostics so missing task endings say the opened block needs
ENDTASK. - Wired concurrency validation into
tools/validate_v1_17.py.
v1.18.26-dev LSP diagnostics helper update
- Replaced the old completion-word-only
support/lsp/claro_lsp_stub.pywith a command-based helper. - Added JSON
metadata,completions, anddiagnosticshelper modes. - Diagnostics now combine
claro checkandclaro typecheckoutput into editor-friendly JSON objects. - Added
tools/validate_lsp_helper.pyand wired it intotools/validate_v1_17.py. - Expanded
docs/IDE.mdwith LSP/helper usage.
v1.18.26-dev IDE foundation update
- Expanded
claro ideinto valid editor metadata JSON withfile_extensions,commands,snippets, anddiagnostics. - Added typed container names to IDE metadata, including
LIST OF TEXTandMAP OF NUMBER. - Added
tools/validate_ide_metadata.pyand wired it intotools/validate_v1_17.py. - Added
docs/IDE.mdfor editor integration guidance.
v1.18.26 development foundation
- Added static checking for typed lists such as
LIST OF TEXT. - Added static checking for typed maps such as
MAP OF NUMBER. - Added
tests/typecheck_container_good.claroandtests/typecheck_container_bad.claro. - Added
docs/FUTURE_FEATURES_ROADMAP.mdcovering IDE, registry, concurrency, GUI/game, web, and optimization tracks. - Added
docs/ADVANCED_STATIC_TYPING.md.
Claro v1.18.26 - SDL Documentation Correction
- Clarified that SDL 1.2 is not included in the stable executable.
- Removed the misleading
claro package add sdlREADME example. - Marked
examples/experimental_sdl/as future/experimental examples only.
Claro v1.18.26 - Stable Test Runner Fix
- Promoted the package to stable
Claro v1.18.26. - Fixed Windows
claro testso it discovers and runs the full golden test suite. - Normalized runtime error paths to forward slashes for cross-platform expected-output stability.
- Validated version, full tests, package validation, and networking example.
Claro v1.18.26 - Networking Reliability Release
- Updated visible version string to
Claro v1.18.26. - Hardened the networking foundation while keeping plain-text commands.
- Added offline-safe
claro://network test URLs so tests and lessons do not need internet access. - Improved
HTTP GET:HTTP GET "claro://hello" AS pageHTTP GET "claro://hello" AS page STATUS status
- Added
HTTP STATUS "url" AS code. - Added
HTTP SAVE "url" TO "file" AS code. - Added
HTTP CHECK "url" AS safe. - Added
LASTHTTPfor the latest HTTP status code. - Added URL safety checks before shelling out to
curl. - Added
examples/networking.claro. - Added network tests:
tests/38_network_mock.clarotests/39_http_save.claro
- Added docs:
docs/V1_17_NETWORKING.mddocs/V1_17_VALIDATION.md
- Added
tools/validate_v1_17.py.
Claro v1.15.26 - Objects and Classes Hardening
- Updated visible version string to
Claro v1.15.26. - Hardened
CLASS,HAS,NEW, and object field behavior. - Added class method support with simple syntax such as
DO player.show. - Added typed field defaults when creating objects.
- Added runtime checks for typed object fields such as
player.score NUMBER. - Added object helper commands:
OBJECT CLASS player AS kindandOBJECT FIELDS player AS fields. - Improved nested block matching so classes can contain methods that end with plain
END. - Updated validation to include the object/class example.
- Added object method and object field type regression tests.
Claro v1.14.26 - Static Type Hardening
- Updated visible version string to
Claro v1.14.26. - Added
claro typecheck FILEfor simple static type checking before a script runs. - Added runtime type helpers:
TYPE OF value AS nameandCHECK TYPE value IS TYPE. - Added typed input forms such as
ASK "How old are you?" age NUMBER. - Added simpler object creation form
NEW Player playerwhile keepingNEW Player AS player. - Added
examples/type_hardening.claroandexamples/typed_ask.claro. - Added typecheck fixtures and validation docs for v1.14.26.
Claro v1.10.26 - First Stable v1 Foundation
- Promoted Claro from final candidate to the first stable v1 foundation release.
- Updated visible version string to
Claro v1.10.26. - Updated package docs from RC9/final-candidate language to stable-release language.
- Kept the beginner-first syntax:
SET name TO "Jon"SET name "Jon"ASK "What is your name?" nameENDas a simple block closer.
- Kept compatibility forms such as
ASK ... AS,ENDIF,DONE, andLEARNED. - Kept simple functions:
TEACH greet nameDO greet "Jon"
- Kept the practical scripting base:
- command-line arguments
- environment lookup
- files and folders
- text helpers
- list helpers
- random numbers
- command output capture
- JSON
- imports
- TRY/CATCH
- Kept project and tool commands:
claro helpclaro examplesclaro doctorclaro validateclaro replclaro new MyProjectclaro runclaro package init|add|listclaro ide
- Added stable-release docs:
docs/STABLE_RELEASE.mddocs/V1_10_VALIDATION.mddocs/POST_1_0_ROADMAP.md
- Added
tools/validate_v1_10.py. - Validation result:
PASS: 0 failure(s).
Claro v1.09.26 RC9 - Final Candidate
- Updated visible version string to
Claro v1.09.26. - Kept normal development in the
v1.xx.yyversion line. - Added final-candidate validation with
claro validate. - Added/kept package health commands:
claro helpclaro examplesclaro doctorclaro validate
- Added simple beginner function syntax:
TEACH greet nameDO greet "Jon"
- Preserved older function syntax:
TEACH greet TAKES nameCALL greet WITH "Jon"
- Added project helper command:
claro new MyProjectclaro runto runmain.claro
- Added REPL command:
claro repl
- Added text polish helpers:
TEXT STARTS ... WITH ... ASTEXT ENDS ... WITH ... ASTEXT REPLACE ... FROM ... TO ... AS
- Added examples and tests for simple functions and text polish.
- Added final release checklist and RC9 validation notes.
Claro v1.06.26 - Simple Learner Scripting Release
- Updated visible version string to
Claro v1.06.26. - Added official Claro logo under
assets/Claro_Logo.jpg. - Added
docs/BRANDING.md. - Added simple beginner syntax support:
SET name "Jon"SET name TO "Jon"SET name to "Jon"ASK "What is your name?" nameENDas a beginner-friendly block closer.
- Preserved older RC syntax for compatibility.
- Added command-line argument access, environment lookup, folder/file helpers, command output capture, random numbers, text helpers, and list helpers.
- Added tests for simple syntax,
END, practical files/folders, text helpers, and list helpers.
Earlier release candidates
Earlier RCs built the current beginner scripting foundation: output/input, variables, math, conditionals, loops, lists, maps, functions, files, JSON, imports, TRY/CATCH, examples, lessons, checker support, formatter support, and test support.