Skip to content

Commit

Permalink
Release 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marhop committed Sep 11, 2022
1 parent c8aac6c commit e8b204a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
55 changes: 30 additions & 25 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,63 @@
# Release 1.3.2

2022-09-11

* Internal maintenance.

# Release 1.3.1

2020-01-28

* Performance improvements for dot syntax (`.`).
* Performance improvements for dot syntax (`.`).

# Release 1.3.0

2019-11-03

* Hex syntax extension: The new *string* macro allows arbitrary text content
inside quotes like `"foo bar"` which produces a UTF-8 encoded byte sequence
representing the quoted string content.
* Hex syntax extension: In *repetition* macros, multiplicative suffixes may
now be added to quantifiers like `(00){2M}`, producing 2 MiB of NULL bytes.
* Hex syntax extension: The new *string* macro allows arbitrary text content
inside quotes like `"foo bar"` which produces a UTF-8 encoded byte sequence
representing the quoted string content.
* Hex syntax extension: In *repetition* macros, multiplicative suffixes may now
be added to quantifiers like `(00){2M}`, producing 2 MiB of NULL bytes.

# Release 1.2.1

2019-09-29

* Performance improvements for range macros.
* Performance improvements for range macros.

# Release 1.2.0

2019-06-24

* The hex macro syntax has been extended to make random byte sequences
possible: An *alternative* macro like `(00|ff|3333)` randomly produces one
of `00`, `ff` or `3333`. A *range* macro like `(0c-0f)` randomly produces
one of `0c`, `0d`, `0e` or `0f`. The special range macro `.` produces one
random byte.
* The hex macro syntax has been extended to make random byte sequences possible:
An *alternative* macro like `(00|ff|3333)` randomly produces one of `00`, `ff`
or `3333`. A *range* macro like `(0c-0f)` randomly produces one of `0c`, `0d`,
`0e` or `0f`. The special range macro `.` produces one random byte.

# Release 1.1.0

2018-10-21

* With the new CLI option `--plain` (or `-p`), hex code without surrounding
Markdown is accepted as input, allowing quick tests like this:
* With the new CLI option `--plain` (or `-p`), hex code without surrounding
Markdown is accepted as input, allowing quick tests like this:

$ echo '(00ff){42} 0a' | lb --plain
$ echo '(00ff){42} 0a' | lb --plain

* The new CLI option `--version` prints the current version number.
* The new CLI option `--version` prints the current version number.

* It is now possible to create really large files. For example, hex code like
`(41){5368709000}`, resulting in 5 GB of data, can be compiled regardless of
the available RAM. (It may take some time though.) Prior to this release,
this would cause memory errors.
* It is now possible to create really large files. For example, hex code like
`(41){5368709000}`, resulting in 5 GB of data, can be compiled regardless of
the available RAM. (It may take some time though.) Prior to this release, this
would cause memory errors.

* Error messages have been improved.
* Error messages have been improved.

# Release 1.0.0

2018-09-05

* Initial release.
* Initial release.

# Versioning Policy

Expand All @@ -68,8 +73,8 @@ The `lb` tool uses [semantic versioning][semver] which is summarized as follows:
Semantic versioning requires software to declare a public API. The public API of
`lb` is defined by two components:

1. The command line interface syntax (switches, options, arguments).
2. The hex string language understood by `lb` (hex characters, macros,
comments).
1. The command line interface syntax (switches, options, arguments).
2. The hex string language understood by `lb` (hex characters, macros,
comments).

[semver]: https://semver.org/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2021 Martin Hoppenheit
Copyright (c) 2018-2022 Martin Hoppenheit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ getOpts =
execParser $ info (helper <*> version <*> options) (fullDesc <> header hdr)
where
hdr = "lb - literate binary compiler"
version = infoOption "1.3.1" (long "version" <> help "Show version number")
version = infoOption "1.3.2" (long "version" <> help "Show version number")
options = Options <$> input <*> output <*> plain
input =
optional $
Expand Down
4 changes: 2 additions & 2 deletions literate-binary.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cabal-version: 3.0
name: literate-binary
version: 1.3.1
version: 1.3.2
synopsis: Integrate handcrafted binary and documentation
homepage: https://github.com/marhop/literate-binary
license: MIT
license-file: LICENSE
author: Martin Hoppenheit
maintainer: [email protected]
copyright: 2018-2021 Martin Hoppenheit
copyright: 2018-2022 Martin Hoppenheit
extra-source-files: README.md CHANGES.md

source-repository head
Expand Down

0 comments on commit e8b204a

Please sign in to comment.