|
1 | 1 | # Changes |
2 | 2 |
|
| 3 | +## 4.0.0 |
| 4 | + |
| 5 | +Rewrite by https://github.com/aartiPl |
| 6 | + |
| 7 | +Improved test_suite.sh |
| 8 | + * Automatic setting up of test environment (assert.sh, test directories) |
| 9 | + * Automatic compilation |
| 10 | + * idea - script to help to test idea use cases |
| 11 | + * Script setup_environment.sh can be used for local testing |
| 12 | + * Some script tests moved to Unit Tests |
| 13 | + |
| 14 | +Improved Unit Tests |
| 15 | +* Several new Unit tests |
| 16 | +* New Unit Tests can be created much easier (Major point why modularization makes sense) |
| 17 | + |
| 18 | +Improved Logging |
| 19 | +* Silent mode / Development mode logging |
| 20 | + |
| 21 | +Modularisation of source code |
| 22 | +* Removed duplication |
| 23 | +* Code divided in logical pieces and moved to packages |
| 24 | +* Script resolution creates immutable objects |
| 25 | + |
| 26 | + |
| 27 | +Build script |
| 28 | +* Updated Gradle to version 7.3 and shadowJar to 6.1.0 |
| 29 | +* Fixes in build file |
| 30 | + |
| 31 | +Performance |
| 32 | +* Much less IO operations - that should contribute to better performance |
| 33 | + |
| 34 | +Misc |
| 35 | +* Updated Kotlin to 1.5.31, but only for compiler, not kotlin-scripting. It's far from optimal, but it is not possible to move fully to Kotlin 1.5 or even 1.6, because of the issues with resolution of artifacts in latest kotlin-scripting. I have put report here: https://youtrack.jetbrains.com/issue/KT-49511 |
| 36 | +* Fixed a lot of IDE warnings in code |
| 37 | +* Packaging - gradle file converted to Kotlin; still does not work, but it was like that before anyway |
| 38 | +* Changes for kscript dir allow simple implementation of config file if needed. (.kscript/kscript.config); Not implemented by me, but might be useful e.g. for storing preambles |
| 39 | + |
| 40 | +INCOMPATIBLE CHANGES: |
| 41 | +* In annotations the only allowed delimiter is coma "," (to allow options with arguments, separated by space) |
| 42 | +* Resolution of env variables is more restrictive - only vars expected by kscript can be resolved (for security - it's not good to include arbitrary strings from user env into the script) |
| 43 | +* Reworked caching mechanism |
| 44 | +* Dropped cache for resolution of artifacts - I can not observe change in resolution time. In fact .m2 repository is already kind of cache, so it should not be needed to add another one. |
| 45 | + |
| 46 | + |
3 | 47 | ## 3.2 |
4 | 48 |
|
5 | 49 | Release TBD |
|
0 commit comments