File: CHANGELOG.md

package info (click to toggle)
haskell-hslua-module-system 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 112 kB
  • sloc: haskell: 601; makefile: 3
file content (190 lines) | stat: -rw-r--r-- 4,445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# Changelog

`hslua-module-system` uses [PVP Versioning][].

## hslua-module-system-1.3.0

Released 2026-01-08.

- Require hslua-packaging 2.4 or later.

## hslua-module-system-1.2.3

Release 2025-08-09.

-   Allowed time-1.15.

## hslua-module-system-1.2.2

Released 2025-08-09.

-   Fix compilation error.

## hslua-module-system-1.2.2

Released 2025-08-09.

-   Lists of file paths now have a "FilePath list" metatable that
    add list methods.

## hslua-module-system-1.2.1.1

Released 2025-07-23.

-   Fixed the docstring of `exists`.

## hslua-module-system-1.2.1

Released 2025-07-23.

-   Add new function `exists`, which allows to check the existance
    and, optionally, type of a filesystem object at the given
    path.

## hslua-module-system-1.2.0

Released 2025-06-23.

-   Added new functions `read_file` and `write_file`: These are
    convenience functions that makes it easier to work with UTF-8
    encoded filenames. The functions in the Lua standard library
    expect filenames encoded in the system's codepage, often
    leading to subtle bugs.

-   Added new functions `cp`, `rename`, and `rm`, which can be
    used similar to the functions in the `os` standard library,
    but expect paths to be given as UTF-8 instead of a file system
    specific encoding.

-   Added new function `times`: the function allows to obtain the
    modification time and access time of a file or directory.

-   Added new function `xdg`: this function gives easy access to
    XDG directories and search paths.

-   Fixed module export list: the function `cmd` was only added to
    the Lua module, but not exported from the Haskell module.
    Instead, `HsLua.Core.run` was erroneously reexported.

## hslua-module-system-1.1.3

Released 2025-05-21.

-   Improved docs for the `os` field.

-   Added new function `cmd` that runs system commands.

-   Moved `CHANGELOG.md` to the `extra-doc-files` field in the
    cabal file and also added `README.md` to that field.

## hslua-module-system-1.1.2

Released 2024-05-28.

-   Fixed error handling in `with_wd`: exceptions when changing
    directories are now properly converted to Lua errors.

## hslua-module-system-1.1.1

Released 2024-01-18.

-   Relaxed upper bound for text, allowing text-2.1.

## hslua-module-system-1.1.0.1

Released 2023-03-26.

-   Improve doc strings.

## hslua-module-system-1.1.0

-   Update to hslua-2.3; this includes the addition of type
    initializers to the module and type specifiers to the fields.

## hslua-module-system-1.0.3

Released 2023-02-14.

-   Added new function `cputime` and field `cputime_precision`,
    e.g. for benchmarking.

## hslua-module-system-1.0.2

Released 2022-02-19.

-   Adjusted package bounds, for hslua-core and hslua-packaging.

## hslua-module-system-1.0.1

Released 2022-01-29.

-   Relaxed upper bound of hslua-core, hslua-marshalling, and
    hslua-packaging, allowing their respective version 2.1.

## hslua-module-system-1.0.0

Released 2021-10-21.

-   Use hslua 2.0.

## hslua-module-system-0.2.2.1

Released 2020-10-16.

-   Relaxed upper bound for hslua, allow `hslua-1.3.*`.

## hslua-module-system-0.2.2

Released 2020-08-15.

-   Relaxed upper bound for hslua, allow `hslua-1.2.*`.
-   Improved documentation of internal types.
-   Use tasty-lua for unit tests.
-   Update CI to test with all GHC versions.

## hslua-module-system-0.2.1

Released 2019-05-04.

-   Use module helpers made available with HsLua 1.0.3. This
    avoids code duplication when used with other hslua modules.

## hslua-module-system-0.2.0

Released 2019-05-01.

All fields and functions are now exported from the Haskell module
under the same name as that used in Lua.

### New fields

-   `arch`: processor architecture.
-   `compiler_name`: Haskell compiler that was used to compile the
    module.
-   `compiler_version`: version of the compiler.
-   `os`: operating system.

### New functions

-   `mkdir`: create a new directory.
-   `rmdir`: remove a directory.
-   `with_env`: perform action with custom environment.
-   `with_wd`: perform action in another directory.

### Removed or renamed functions

-   `currentdir` was renamed to `getwd`.
-   `chdir` was renamed to `setwd`.
-   `pwd` was removed.

### Misc

-   Fix typos and copy-paste errors in docs, tests.

## hslua-module-system-0.1.0

Released 2019-04-26.

-   First version. Released on an unsuspecting world.

  [PVP Versioning]: https://pvp.haskell.org