Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

StyLua-0.19.0-1.1 RPM for s390x

From OpenSuSE Ports Tumbleweed for s390x

Name: StyLua Distribution: openSUSE:Factory:zSystems
Version: 0.19.0 Vendor: openSUSE
Release: 1.1 Build date: Mon Nov 20 21:41:59 2023
Group: Unspecified Build host: s390zl28
Size: 8045761 Source RPM: StyLua-0.19.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/JohnnyMorganz/StyLua
Summary: Opinionated Lua code formatter
StyLua is an opinonated code formatter for Lua 5.1, 5.2, 5.3, 5.4 and Luau
built using full-moon. StyLua is inspired by the likes of prettier, it
parses your Lua codebase, and prints it back out from scratch, enforcing a
consistent code style.

Provides

Requires

License

(Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND MPL-2.0

Changelog

* Sun Nov 12 2023 Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
  - Update to version 0.19.0:
    [#]## Added
    - Added flag `--respect-ignores`. By default, files explicitly passed
    to stylua (e.g. `stylua foo.lua`) will always be formatted, regardless of
    whether the file is ignored. Enabling this flag will consider `.styluaignore`
    or glob matches before formatting the file.
    - Note: for backwards compatibility reasons, formatting via stdin always
      respects ignores. This behaviour will change in the next major release
    [#]## Changed
    - Updated parser crate with following changes:
    - Support Luau floor division (`//`)
    - Fix Luau string interpolation parsing
    - Fix Luau `\z` escape parsing
    - Simplified access and modification patterns for StyLua configuration. You
    can now access the properties directly
    - **Deprecated:** the old access patterns of `.property()` and
      `.with_property()` are now deprecated
    - **Breaking Change (WASM):** due to JS/TS lack of differentiation
      between `.property` / `.property()` implementation, the `.property()`
      functions were removed from WASM output.
    - Multiline comments before commas will now remain in place and not move
    to after the comma. This is to support type-assertions-via-comments that
    is commonly used by some language servers.
* Mon Oct 09 2023 Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
  - Update to version 0.18.2:
    * Fixed LuaJIT suffixes LL/ULL causing a panic when running in --verify mode
    * Fixed incorrect formatting of conditionals when collapse_simple_statement is enabled and the block begins with an empty line
    * Fixed formatting of dot function call chains with comment between dot and names
* Sat Aug 26 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.18.1:
    * Fixed parentheses around a single Luau type pack in a generic being removed causing syntax errors.
* Sun Aug 13 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Replace obsoleted `disabled` option with `manual`
* Sun Jun 18 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.18.0:
    * Multiline ignores (-- stylua: ignore start / -- stylua: ignore end) will now work within table fields
    * Added option "Input" to call_parentheses setting, where call parentheses are retained based on their presence in the original input code.
    * Improved heuristics around Luau type excess parentheses removal, so unnecessary parentheses around types are removed in more locations
    * Function calls are now formatted onto multiple lines if the opening brace { of a multiline table forces one of the lines over width
    * Fixed missing option --sort-requires to enable sort requires on the command line
    * Fixed parentheses removed around Luau optional type (B?) causing syntax errors when present in an intersection A & (B?)
    * Fixed comments lost when parentheses removed around Luau types
    * Fixed race condition where if a file is passed more than once as an argument to format, then it could potentially be wiped completely
      (for example, if an ancestor directory is passed and recursively searched, as well as the file itself)
* Fri Jun 09 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.17.1
    * Bumped internal parser dependency which should fix parsing problems for comments with Chinese characters, and multiline string escapes
    * Fixed comments in punctuated lists for return statements or assignments being incorrectly formatted leading to syntax errors
    * Fixed line endings not being correctly formatted in multiline string literals and comments
* Tue Mar 21 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Disable tests. Failing for editorconfig.
* Tue Mar 21 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Remove editorconfig requirement.
  - Fix tests.
* Tue Mar 21 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Fix tests.
  - Add editorconfig as build requirement.
* Sat Mar 18 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.17.0:
    * Sort requires
    * Add default editorconfig feature
    * extension: Pass cwd as workspace folder for version check
    * Add Dockerfile
* Fri Feb 17 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.16.1:
    * General
    - Fixed mistransformation of a function argument in a multilined function call when the argument
      contains a comment, causing a syntax error. We now attempt to hang the expression (#648)
    * Luau
    - Fixed verify AST flagging a false positive for parentheses removed around a Luau type (#643)
* Tue Feb 14 2023 William Brown <william.brown@suse.com>
  - Automatic update of vendored dependencies
* Sat Jan 28 2023 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.16.0:
    * Fixed an anonymous function assignment local x = function() being unnecessarily indented if the function body contains a comment (#627)
    * Fixed malformed formatting when there is a newline between a return token and the expressions (#605)
    * Fixed malformed formatting of multi-assignment or multi-returns where there is a comment within the expressions list (#637)
    * Update internal parser:
    - (lua52) Support Lua 5.2 fractional hexidecimal / hexidecimal with exponents (#621)
    - (lua52) Support LuaJIT number suffixes LL/ULL/i (#621)
    - (lua52) Support \z escape sequences in strings (#613)
    - (luau) Support Luau string interpolation (#607)
    * Several optimisations applied to formatting functions to reduce time taken. Files which previously did not terminate (6MB+) now finish in reasonable time. (#591)
    * Assignments of the form local name = function will no longer hang at the equals token, and instead force parameters multiline, to reduce unnecessary indentation. (#595)
    * Unnecessary parentheses around Luau types will now be removed (#611)
    * Collapse a body containing only a goto statement when collapse_simple_statement is set (#618)
* Fri Dec 16 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Disable --all-features in test since `cargo-insta` is
    not installed or available in openSUSE.
* Fri Dec 16 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Update to version 0.15.3:
    * Fixed necessary parentheses removed in (-X) ^ Y causing change in semantics
    * Take into account function token size when formatting an anonymous function function() end (particularly relevant when collapsing simple statements)
    * Support hanging inside of Luau type arrays { T } to fix formatting issues when comments are present
* Thu Nov 24 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Remove strip option for debuginfo creation.
* Mon Nov 21 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Rename source tarball to StyLua-0.15.2.tar.gz.
  - Update _service file.
* Sun Nov 20 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Change url macro to full URL in sources.
  - Profile "release" strips debug symbols in cargo_config.
* Sun Nov 20 2022 Soc Virnyl Estela <socvirnyl.estela@gmail.com>
  - Initial spec for StyLua version 0.15.2

Files

/usr/bin/stylua
/usr/share/doc/packages/StyLua
/usr/share/doc/packages/StyLua/README.md
/usr/share/licenses/StyLua
/usr/share/licenses/StyLua/LICENSE.md


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:50:11 2024