mirror of
https://github.com/tailix/libkernaux.git
synced 2025-04-07 17:32:45 -04:00
Bump version (0.3.0) [1/2]
This commit is contained in:
parent
2676c04342
commit
bab58f40b5
11 changed files with 49 additions and 23 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -41,17 +41,17 @@ jobs:
|
|||
- name: dist
|
||||
run: make dist
|
||||
- name: extract
|
||||
run: tar -xzf libkernaux-0.2.0.tar.gz
|
||||
- working-directory: libkernaux-0.2.0
|
||||
run: tar -xzf libkernaux-0.3.0.tar.gz
|
||||
- working-directory: libkernaux-0.3.0
|
||||
name: configure
|
||||
run: ./configure --enable-tests --enable-tests-python
|
||||
- working-directory: libkernaux-0.2.0
|
||||
- working-directory: libkernaux-0.3.0
|
||||
name: make
|
||||
run: make
|
||||
- working-directory: libkernaux-0.2.0
|
||||
- working-directory: libkernaux-0.3.0
|
||||
name: check
|
||||
run: make check || (cat test-suite.log && false)
|
||||
- working-directory: libkernaux-0.2.0
|
||||
- working-directory: libkernaux-0.3.0
|
||||
name: install
|
||||
run: sudo make install
|
||||
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
2022-05-28 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* include/kernaux/printf_fmt.h: Change API
|
||||
libkernaux 0.3.0 released
|
||||
|
||||
2022-05-24 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* src/multiboot2/info_is_valid.c: Fix division by zero
|
||||
* configure.ac: Test options made stable
|
||||
* configure.ac: Feature "bloat" made stable
|
||||
* src/: Use assertions everywhere (closes #14)
|
||||
|
||||
2022-02-10 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* configure.ac: Normalize args
|
||||
|
||||
2022-02-02 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
* configure.ac: Generate position-independent code by default, disable with
|
||||
|
|
32
NEWS.md
32
NEWS.md
|
@ -3,6 +3,38 @@ Releases
|
|||
|
||||
|
||||
|
||||
0.3.0 (2022-05-28)
|
||||
------------------
|
||||
|
||||
### Breaking changes
|
||||
|
||||
* `<kernaux/assert.h>` - a semicolon is required after macros.
|
||||
* `<kernaux/assert.h>` - the constant `KERNAUX_ITOA_BUFFER_SIZE` is renamed to
|
||||
`KERNAUX_ITOA10_BUFFER_SIZE`.
|
||||
|
||||
### New features
|
||||
|
||||
* `./configure` - testing may be enabled with `--enable-tests`,
|
||||
`--enable-tests-all`, `--enable-tests-python`.
|
||||
* `./configure` - the heavy binary data may be disabled with `--disable-bloat`.
|
||||
* `./configure` - position-independent code is generated by default, disable
|
||||
with `--disable-pic`.
|
||||
* `./configure` - compiler warnings turn into errors by default, disable with
|
||||
`--disable-werror`.
|
||||
* `<kernaux/libc.h>` - added functions `atoi`, `isdigit`, `isspace`.
|
||||
* `<kernaux/ntoa.h>` - added functions `kernaux_[u|i]toa`, `kernaux_[u|i]toa16`
|
||||
and related constants.
|
||||
|
||||
### Other changes
|
||||
|
||||
* Assertions are used more broadly.
|
||||
* `<kernaux.h>` - the header is now generated from template depending on
|
||||
configuration options, so you may safely require it when some packages are
|
||||
missing, it won't cause compilation error.
|
||||
* `<kernaux/printf.h>` - a potential buffer overflow is fixed.
|
||||
|
||||
|
||||
|
||||
0.2.0 (2022-01-22)
|
||||
------------------
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ zero). Work-in-progress APIs can change at any time.
|
|||
* Architecture-specific code (*work in progress*)
|
||||
* [Declarations](/include/kernaux/arch/)
|
||||
* [Functions](/include/kernaux/asm/)
|
||||
* [Assertions](/include/kernaux/assert.h) (*stable since* **0.1.0**, *non-breaking since* **?.?.?**)
|
||||
* [Assertions](/include/kernaux/assert.h) (*stable since* **0.1.0**, *non-breaking since* **0.3.0**)
|
||||
* [Assert: simple](/examples/assert_simple.c)
|
||||
* [Assert: guards](/examples/assert_guards.c)
|
||||
* [Panic: simple](/examples/panic_simple.c)
|
||||
|
@ -66,7 +66,7 @@ zero). Work-in-progress APIs can change at any time.
|
|||
* [To human](/examples/units_human.c)
|
||||
* Usual functions
|
||||
* [libc replacement](/include/kernaux/libc.h) (*stable since* **0.1.0**)
|
||||
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*stable since* **0.1.0**, *non-breaking since* **?.?.?**)
|
||||
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*stable since* **0.1.0**, *non-breaking since* **0.3.0**)
|
||||
* [printf replacement](/include/kernaux/printf.h) (*stable since* **0.1.0**)
|
||||
* Code from [https://github.com/mpaland/printf](https://github.com/mpaland/printf). Thank you!
|
||||
* [printf](/examples/printf.c)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
AC_PREREQ([2.68])
|
||||
AC_INIT([libkernaux],
|
||||
[0.2.0],
|
||||
[0.3.0],
|
||||
[https://github.com/tailix/libkernaux/issues],
|
||||
[libkernaux],
|
||||
[https://github.com/tailix/libkernaux])
|
||||
|
|
|
@ -19,8 +19,7 @@ MRuby::Build.new do |conf|
|
|||
# ...
|
||||
conf.gem github: 'tailix/libkernaux',
|
||||
path: 'pkgs/mruby',
|
||||
branch: 'v0.2.0',
|
||||
checksum_hash: '50e35b187426f8ce814b9580777b96c48767e4bc'
|
||||
branch: 'v0.3.0'
|
||||
# ...
|
||||
end
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MRuby::Gem::Specification.new 'mruby-kernaux' do |spec|
|
||||
spec.version = '0.0.0'
|
||||
spec.version = '0.3.0'
|
||||
spec.license = 'MIT'
|
||||
spec.homepage = 'https://github.com/tailix/libkernaux/tree/master/pkgs/ruby'
|
||||
spec.author = 'Alex Kotov'
|
||||
|
|
|
@ -15,7 +15,7 @@ Install
|
|||
Add the following to your `Gemfile`:
|
||||
|
||||
```ruby
|
||||
gem 'kernaux', '~> 0.2.0'
|
||||
gem 'kernaux', '~> 0.3.0'
|
||||
```
|
||||
|
||||
Or add the following to your `*.gemspec`:
|
||||
|
@ -23,7 +23,7 @@ Or add the following to your `*.gemspec`:
|
|||
```ruby
|
||||
Gem::Specification.new do |spec|
|
||||
# ...
|
||||
spec.add_runtime_dependency 'kernaux', '~> 0.2.0'
|
||||
spec.add_runtime_dependency 'kernaux', '~> 0.3.0'
|
||||
# ...
|
||||
end
|
||||
```
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
module KernAux
|
||||
# Gem version.
|
||||
VERSION = '0.2.0'
|
||||
VERSION = '0.3.0'
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "kernaux-sys"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
||||
edition = "2021"
|
||||
description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "kernaux"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
||||
edition = "2021"
|
||||
description = "Safe binding to libkernaux - auxiliary library for kernel development"
|
||||
|
@ -13,5 +13,5 @@ categories = ["api-bindings", "embedded", "parsing"]
|
|||
publish = true
|
||||
|
||||
[dependencies.kernaux-sys]
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
path = "../kernaux-sys"
|
||||
|
|
Loading…
Add table
Reference in a new issue