diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json index bcd0522..37fcefa 100644 --- a/.github/.release-please-manifest.json +++ b/.github/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.0" + ".": "1.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 5889557..c5bbb62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,84 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.0](https://github.com/BlueLua/mods/compare/v0.6.0...v1.0.0) (2026-06-05) + + +### ⚠ BREAKING CHANGES + +* rename stringcase.capital to stringcase.capitalize +* rename stringcase.swap to stringcase.swapcase +* rename stringcase.replace to stringcase.delimit +* rename tbl.pairmap to tbl.map +* remove tbl.map +* remove str.rindex +* rename repr to stringify +* rename Set to set +* rename List to list + +### Features + +* add date ([893e091](https://github.com/BlueLua/mods/commit/893e091de2748790f9524b6b7b80aae8810ea3f4)) +* add date-duration helper ([4dff673](https://github.com/BlueLua/mods/commit/4dff67390c324dc0eddc73ed9f0aa650ee886c20)) +* add duration ([b494976](https://github.com/BlueLua/mods/commit/b49497618c7dc473cf54efbc2a0d25ae690f4fe0)) +* **calendar:** add calendar module ([9bf2d82](https://github.com/BlueLua/mods/commit/9bf2d82c38346b490223ed13f6387df6097d7908)) +* **calendar:** add monthdays iterator ([76ac6f9](https://github.com/BlueLua/mods/commit/76ac6f9c80fca8f80959c4eaa05db0de891ce5ed)) +* **calendar:** expose module from mods entrypoint ([797a8f0](https://github.com/BlueLua/mods/commit/797a8f0024f0b12d36d891c2d12abbec2b65409d)) +* **compat:** add global compat shims ([7e8d773](https://github.com/BlueLua/mods/commit/7e8d77394400860aaa00ba3e7198367f64c86aa2)) +* **compat:** add loadfile ([69cec70](https://github.com/BlueLua/mods/commit/69cec70d0f0edfd96a1acac7f2ab8ace161241d5)) +* **compat:** add table.move shim ([c25a88b](https://github.com/BlueLua/mods/commit/c25a88bb4fa8b32b8ca24378fa4e3ff5f7c58cef)) +* **compat:** add xpcall ([c31c917](https://github.com/BlueLua/mods/commit/c31c9170b15957dfbb8793cf6f0f8f412672de9c)) +* **export:** show field types in generated module docs ([6a6c40d](https://github.com/BlueLua/mods/commit/6a6c40dce821d8ba1498a10a1bf611b9a7fb8552)) +* expose _VERSION ([1a8dd3f](https://github.com/BlueLua/mods/commit/1a8dd3f35047edbdc57b576d4e6bf72ac65063c3)) +* **fs:** add cd helper ([ae07571](https://github.com/BlueLua/mods/commit/ae07571a5186a2f7fe2341ecc7344dbd7bf29a41)) +* **fs:** add cwd helper ([9f45ced](https://github.com/BlueLua/mods/commit/9f45ced99a0695207a80d5bf326f71e4cf73fe60)) +* **fs:** add link and symlink helpers ([7580873](https://github.com/BlueLua/mods/commit/758087398c4a25fcb9c88f5e6c115dd978cca425)) +* **fs:** add names option to listdir ([0b6fcb3](https://github.com/BlueLua/mods/commit/0b6fcb3cf59242998b9c742af2c6732b2a2111cf)) +* **glob:** add filter helper ([1cd9134](https://github.com/BlueLua/mods/commit/1cd913499265663a977850b61b0e45de69a91f1b)) +* **glob:** add glob module ([1c77a48](https://github.com/BlueLua/mods/commit/1c77a4887fc4edefa716e1b8a1fbb81f6150fac9)) +* **glob:** support ignorecase in match ([9da7bf7](https://github.com/BlueLua/mods/commit/9da7bf7d228f5c7a3bfcc9f02ce703e77747f463)) +* **json:** add JSON encode/decode module ([539b8d1](https://github.com/BlueLua/mods/commit/539b8d16fed8e4d5cfcad113085a88e943654951)) +* **keyword:** add Lua 5.5 global keyword ([5b63659](https://github.com/BlueLua/mods/commit/5b63659728bc75a689e8e77b4797f96d524b6f16)) +* **List:** add mirror method ([c1084ad](https://github.com/BlueLua/mods/commit/c1084ad50b81ffeb56451f9fe0d176aadcdab7b2)) +* **List:** add shuffle ([709ec67](https://github.com/BlueLua/mods/commit/709ec675aeb4ef962e222d887e41c3fdd85a4d3f)) +* **list:** support _tolist conversions ([194e0f2](https://github.com/BlueLua/mods/commit/194e0f2b493c8825dc2174448cd274a7ab55b836)) +* **log:** add logger module ([a6e5f30](https://github.com/BlueLua/mods/commit/a6e5f3039cfce1d9ad553d54575e9c814f40d475)) +* **repr:** add replacers and spacing options ([418a54e](https://github.com/BlueLua/mods/commit/418a54e4006415f32e87b145cdbaced654de7037)) +* **runtime:** add Lua 5.5 detection ([89b626a](https://github.com/BlueLua/mods/commit/89b626aa9ac45446d718bffb308baa1e3c7e115c)) +* **set:** add has ([4ac06b4](https://github.com/BlueLua/mods/commit/4ac06b48a6524c9c9cc442ed7ddbcba9e0ff0100)) +* **Set:** add mirror method ([5399db6](https://github.com/BlueLua/mods/commit/5399db6b96fb2c06a5dca8a99db60f784fa65af8)) +* **set:** support _toset conversions ([2696dce](https://github.com/BlueLua/mods/commit/2696dcef455ba7bea8ed9beac251a656fbd91646)) +* **stringify:** add opts table, newline, and omit_array_keys ([2c8fcb8](https://github.com/BlueLua/mods/commit/2c8fcb8a569b943909246872f6d4d7a555e02279)) +* **tbl:** add deep_equal ([3974857](https://github.com/BlueLua/mods/commit/397485722b3c8c671ec956bb11e5e0faa79c315a)) + + +### Bug Fixes + +* **docs:** override vite to patched 6.4.2 ([a310044](https://github.com/BlueLua/mods/commit/a31004437ba73e8a739e2f039710d19f82ffe2f5)) +* **fs:** reject non-directory paths in recursive rm ([37db8bd](https://github.com/BlueLua/mods/commit/37db8bd3d5ad31689842ba95d749b9eaa2bb2c92)) +* **fs:** samefile fallback and early path checks for dir ([ae99f3b](https://github.com/BlueLua/mods/commit/ae99f3ba2ced801ce35dd4c7aaedb73a88d57254)) +* **fs:** use rmdir for directory removal on Windows ([8e29672](https://github.com/BlueLua/mods/commit/8e29672236c102b8a42ef4d09b3bb4b72aae85c1)) +* **fs:** validate directory before listing on Windows ([5668d97](https://github.com/BlueLua/mods/commit/5668d97c5e8d29265d6d151272bc4d974a37b7d4)) +* **fs:** validate directory path in dir() on Windows ([cce1654](https://github.com/BlueLua/mods/commit/cce1654b187b7cb965d7920c03630793ebe3049d)) +* **glob:** avoid backslash path separator in recursive prefix ([f22e31d](https://github.com/BlueLua/mods/commit/f22e31d466baeb0b46f90f8ad3cce74676cbd169)) +* preserve original error message on missing submodule ([64256a0](https://github.com/BlueLua/mods/commit/64256a006f0fba420f16a5a91ccbca0e51bd5d12)) +* **set:** use rawget for membership ([575a563](https://github.com/BlueLua/mods/commit/575a5636bdf8532605cbf9d5f13b491d1cfe278d)) +* **test:** resolve list and set assertions lazily ([f5f6603](https://github.com/BlueLua/mods/commit/f5f66031ae3b7bb57e478331ed8f2fcac58012d4)) +* **utils:** return empty string for nil args_repr ([80d177a](https://github.com/BlueLua/mods/commit/80d177ade020c99ae0227e350b7d2ee05b7fcabd)) + + +### Code Refactoring + +* remove str.rindex ([fc40828](https://github.com/BlueLua/mods/commit/fc40828db911cce9d5f755300bb5dd07b24afabf)) +* remove tbl.map ([b63d1d5](https://github.com/BlueLua/mods/commit/b63d1d5004f1cc4d7b9f0d5667c69856cd639fb5)) +* rename List to list ([084f9d1](https://github.com/BlueLua/mods/commit/084f9d13dea12ef405f403aa069169d2d0403d96)) +* rename repr to stringify ([54ae553](https://github.com/BlueLua/mods/commit/54ae553e959202783489ef66bfa17fcacf046292)) +* rename Set to set ([bf057a8](https://github.com/BlueLua/mods/commit/bf057a839f07aa40c28352468f4722a720e98f52)) +* rename stringcase.capital to stringcase.capitalize ([ae629d4](https://github.com/BlueLua/mods/commit/ae629d4dce43fb751c1fa3022b581ceaeaa3841a)) +* rename stringcase.replace to stringcase.delimit ([a50af41](https://github.com/BlueLua/mods/commit/a50af41b496e57bb9bd0fc8a2e0248c5858ed597)) +* rename stringcase.swap to stringcase.swapcase ([e32f124](https://github.com/BlueLua/mods/commit/e32f1245249a6661b1eba293eefb3ecda58eb9f6)) +* rename tbl.pairmap to tbl.map ([5aefaa6](https://github.com/BlueLua/mods/commit/5aefaa698f332a2ad28e9bbd7240fd05f93c2c39)) + ## [0.6.0](https://github.com/luamod/mods/compare/v0.5.0...v0.6.0) (2026-03-23) diff --git a/src/mods/init.lua b/src/mods/init.lua index 304f342..f5c9833 100644 --- a/src/mods/init.lua +++ b/src/mods/init.lua @@ -1,6 +1,6 @@ require("mods._compat") -return setmetatable({ _VERSION = "mods 0.6.0" }, { -- x-release-please-version +return setmetatable({ _VERSION = "mods 1.0.0" }, { -- x-release-please-version __index = function(t, k) local modname = "mods." .. tostring(k) local ok, v = pcall(require, modname) diff --git a/types/mods.d.lua b/types/mods.d.lua index c00517e..4de89c3 100644 --- a/types/mods.d.lua +++ b/types/mods.d.lua @@ -3,7 +3,7 @@ local stringify ---@module "mods.stringify" local template ---@module "mods.template" -local version = "mods 0.6.0" -- x-release-please-version +local version = "mods 1.0.0" -- x-release-please-version --- ---Entry point that exposes all modules under one 💤 lazily loaded table.