--- - branch: MAIN date: Tue Sep 19 18:50:40 UTC 2023 files: - new: '1.5' old: '1.4' path: pkgsrc/devel/regal/Makefile pathrev: pkgsrc/devel/regal/Makefile@1.5 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/regal/distinfo pathrev: pkgsrc/devel/regal/distinfo@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/regal/go-modules.mk pathrev: pkgsrc/devel/regal/go-modules.mk@1.3 type: modified id: 20230919T185040Z.8487933109272954565f87813afdbc3c5d1f7b13 log: "regal: Update to 0.9.0\n\nChanges:\n0.9.0\n-----\nThis release brings three new rules to Regal, a new Rego-based build\nsystem, and improvements to the Go API. Plus a number of improvements,\nfeatures and bugfixes.\n\nThe v0.9.0 release also coincides with some exciting news from our\ncommunity รข\x80\x94 users of the Rego Playground now experience Regal\nintegrated in the tool, and have linter violations reported directly in\nthe UI!\n\n## New rule: `dubious-print-sprintf` (Category: `testing`)\n\nThis new rule will flag the use of `print` together with `sprintf` in\nit's argument list. The `print` function takes any number of arguments\nas it is, and using `sprintf` negates the benefits of the `print`\nfunctions special handling of undefined values.\n\n## New rule: `forbidden-function-call` (Category: `custom`)\n\nIn the custom category, the new `forbidden-function-call` rule will\nallow you to configure a list of built-in functions that should be\nflagged by Regal if encountered. This could for example be `http.send`\ncalls, or JWT decoding using HMAC rather than assymetric crypto.\n\n## New rule: `chained-rule-body` (Category: `style`)\n\nThe new chained-rule-body rule will have Regal flag rules where the\nbody is \"chained\", as this style isn't recommended any more.\n\n## Go API (experimental)\n\nWhile integrations using the Go API is still not recommended, several\nsteps were taken in this release in order to move it closer to a stable\nstate. This work was done in order to get Regal integrated into the\nRego Playground.\n\n## Other improvements and fixes\n\n- Custom configuration for a rule is no longer required to provide a\n `level` attribute. If not provided, the level will be inherited from\n the default configuration for that rule.\n- The `walk` built-in function is now by default excepted by the\n `function-arg-return` rule.\n- The `regal lint` command now accepts a `--metrics` flag, which will\n provide helpful information on where Regal spends most of the time\n evaluating a project.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/regal' unixtime: '1695149440' user: leot