Skip to content

Commit

Permalink
Bump version (0.3.0) [1/2]
Browse files Browse the repository at this point in the history
  • Loading branch information
kotovalexarian committed May 28, 2022
1 parent 2676c04 commit bab58f4
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 23 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 1 addition & 6 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
2022-05-28 Alex Kotov <[email protected]>

* include/kernaux/printf_fmt.h: Change API
libkernaux 0.3.0 released

2022-05-24 Alex Kotov <[email protected]>

* 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 <[email protected]>

* configure.ac: Normalize args

2022-02-02 Alex Kotov <[email protected]>

* configure.ac: Generate position-independent code by default, disable with
Expand Down
32 changes: 32 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -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])
Expand Down
3 changes: 1 addition & 2 deletions pkgs/mruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion pkgs/mruby/mrbgem.rake
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions pkgs/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ 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`:

```ruby
Gem::Specification.new do |spec|
# ...
spec.add_runtime_dependency 'kernaux', '~> 0.2.0'
spec.add_runtime_dependency 'kernaux', '~> 0.3.0'
# ...
end
```
2 changes: 1 addition & 1 deletion pkgs/ruby/lib/kernaux/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module KernAux
# Gem version.
VERSION = '0.2.0'
VERSION = '0.3.0'
end
2 changes: 1 addition & 1 deletion pkgs/rust/kernaux-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kernaux-sys"
version = "0.2.0"
version = "0.3.0"
authors = ["Alex Kotov <[email protected]>"]
edition = "2021"
description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/rust/kernaux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kernaux"
version = "0.2.0"
version = "0.3.0"
authors = ["Alex Kotov <[email protected]>"]
edition = "2021"
description = "Safe binding to libkernaux - auxiliary library for kernel development"
Expand All @@ -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"

0 comments on commit bab58f4

Please sign in to comment.