Skip to content

Conversation

@jaandrle
Copy link
Owner

@jaandrle jaandrle commented Mar 18, 2024

API changes 0.91.0

  1. Removed: cyclicLoop function
  2. Renamed: $.xdg.script renamed to $.xdg.main
  3. Changed: the return type of $.stdin.* methods is always ShellString
  4. Fixed: $.is_*/$.glob_options now works as expected in all nodejsscript areas
    • e. g.: $.is_fatal= true; s.runA("exit 1")
    • this may change your script code behaviour
  5. Fixed: current working directory now works as expected in all nodejsscript areas
    • e. g.: s.cd(".."); s.runA("pwd")
    • this may change your script code behaviour
  6. Removed: non-promoted $.nosed/$.noawk/$.nojq
  7. Changed: the native fetch() is used if running on node@18 (node-fetch is used as fallback for older node versions)
  8. Deprecated: instead of $.read use s.read ($.read is just an alias and may be removed in future versions)

New features

  • css-in-console@v2.0.0 ⇒ spinner chars can be defined in CSS
  • nodejsscript --eval/nodejsscript --print
  • nodejsscript --inspect
  • nodejsscript --interactive
  • nodejsscript --completion

Fixes

In general, this version fixes all the “glued parts” between libraries (ensures that everything works as the user would expect). Some issues were mentioned here https://github.com/jaandrle/nodejsscript/milestone/2.

jaandrle added 26 commits June 14, 2023 10:54
commit a5d6cd2
Author: Jan Andrle <andrle.jan@centrum.cz>
Date:   Wed Jul 19 21:55:00 2023 +0200

    separate `importRC`

commit 7651d4a
Author: Jan Andrle <andrle.jan@centrum.cz>
Date:   Thu Jul 13 16:35:20 2023 +0200

    :bug: :rocket: Better errors

commit 0954cfd
Author: Jan Andrle <andrle.jan@centrum.cz>
Date:   Thu Jul 13 15:57:09 2023 +0200

    :bug: Fix error stack trace and process output

commit b2ecb4a
Author: github-actions[bot] <42103905+github-actions[bot]@users.noreply.github.com}>
Date:   Thu Jun 15 17:13:37 2023 +0200

    :sparkles: Upgrade and use css-in-console@v2-dev :recycle: NODEJSSCRIPTOPTS

commit 8c1e63c
Author: github-actions[bot] <42103905+github-actions[bot]@users.noreply.github.com}>
Date:   Wed Jun 14 17:51:38 2023 +0200

    :bug: print non-errors, temp scripts names, examples

commit 73da15a
Author: github-actions[bot] <42103905+github-actions[bot]@users.noreply.github.com}>
Date:   Wed Jun 14 17:04:25 2023 +0200

    :sparkles: nodejsscriptrc + related :broom:
@jaandrle jaandrle changed the title Version 1.0 Version 1.0 Beta Mar 18, 2024
Copy link
Owner Author

@jaandrle jaandrle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems OK

Copy link
Owner Author

@jaandrle jaandrle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just better ci and examples in docs

@jaandrle jaandrle changed the title Version 1.0 Beta Version 1.0 Mar 26, 2024
@jaandrle jaandrle merged commit c4cff11 into main Mar 26, 2024
@jaandrle jaandrle deleted the dev-v1 branch March 26, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants