1.3.0.1: Released 2021-02-06
* Fixed build with GHC 9.0.1 (Simon Jakobi).
* Improved test-suite; fixed memory leaks in some tests.
* Moved CI to GitHub Actions.
1.3.0: Released 2020-10-16
* Upgrade included Lua version to new bug-fix release 5.3.6. See the
upstream documentation https://www.lua.org/bugs.html#5.3.5 for the
bugs which have been fixed.
* Stop exporting c_loaded_table and c_prelad_table from module
Foreign.Lua.Raw.Auxiliary. Both values are defined only if the flag
HARDCODE_REG_KEYS is disabled, leading to compilation errors when
the flag is enabled.
* Add new function peekStringy to Peek module. It allows to peek a
value of any IsString type from an UTF-8 encoded string.
* Various improvements to the continuous integration setup, including
cleanup of the config files, version bumps to the ghc/cabal versions
used for testing, and running the linter in a dedicated GitHub
Action.
1.2.0: Released 2020-08-15
* New module Foreign.Lua.Call: the module offers an alternative method
of exposing Haskell functions to Lua. The focus is on
maintainability: types and marshaling methods are made explicit; the
possibility of adding documentation and parameter names improves
error messages and allows for automatic documentation extraction.
Work on this module is ongoing; the interface is likely to
change. Suggestions and feedback are welcome.
* New types Module, Field, and new functions registerModule,
preloadModule, pushModule, and render exported from
Foreign.Lua.Module: this builds on the new Call module and allows
the creation of documented modules as well as automatic generation
of Markdown-formatted module documentation.
* Export new items nth and top from Foreign.Lua.Core and
Foreign.Lua. They are short-hands for nthFromTop and stackTop.
* Performance improvements: Calling of Lua functions and creation of
Haskell data wrapping userdata has been sped up by about 10%. This
is mostly due to using of previously missed optimization
opportunities.
* All foreign imports have been moved to into the new Foreign.Lua.Raw
module. This module will replace the current Foreign.Lua.Core module
in the future and will be distributed as a separate package (likely
starting with the 2.0 release); the remaining parts of the current
Core module will be promoted one level in the module hierarchy.
* The Raw module can be used whenever the full power of HsLua is not
needed.
* Error-signaling of API wrapper functions has been changed: instead
of returning special integer values, functions now take an
additional pointer argument, which is set to the status result of
the computation.
* The Failable type in Core.Error is no longer needed and has been
removed.
* CI builds now include GHC 8.8 and GHC 8.10, ensuring that all GHC
8.* versions are supported.
1.1.2: Released 2020-06-27
* Revert signature of function pushList to it's proper 1.1 value. This
fixes a mistake which caused the 1.1.1 release to be in violation of
the PVP versioning policy.
* Module Foreign.Lua.Peek: add function pushKeyValuePairs (Alex
Loomis).
1.1.1: Released 2020-06-02
WARNING: This version does not conform to the PVP versioning policy,
due to a unintended signature change of function pushList. It is
recommended not to use this version.
* New module Foreign.Lua.Push: provides functions which marshal and
push Haskell values onto Lua's stack.
* Most functions in Foreign.Lua.Types.Pushable are now defined using
functions from this module.
* New module Foreign.Lua.Peek: provides functions which unmarshal and
retrieve Haskell values from Lua's stack. Contrary to peek from
Foreign.Lua.Types.Peekable, the peeker functions in this module will
never throw errors, but use an Either type to signal retrieval
failure.
* The error type PeekError should not be considered final and will
likely be subject to change in later versions.
* Module Foreign.Lua.Utf8: never throw errors when decoding UTF-8
strings. Invalid UTF-8 input bytes no longer cause exceptions, but
are replaced with the Unicode replacement character U+FFFD.
* Fixed missing and faulty Haddock documentation.
* Fixed a bug which caused unnecessary use of strings to represent
floating point numbers under certain configurations.
1.1.0: Released 2020-03-25.
WARNING: The changes in this release are experimental. It is
recommended to skip this release unless the newly introduced features
are required.
* Allow custom error handling: conversion of Lua errors to Haskell
exceptions and back is made configurable. Users can define their own
exception/error handling strategies, even opening up the option to
pass arbitrary exceptions through Lua.
- New types exported from Foreign.Lua.Types:
* ErrorConversion: defines the ways in which exceptions and errors
are handled and converted.
* LuaEnvironment: environment in which Lua computations are
evaluated. Contains the Lua interpreter state and the error
conversion strategy.
- The environment of the Lua type is changed from a plain Lua State
to the above mentioned LuaEnvironment.
- New functions run' is exported from Foreign.Lua.Util and
Foreign.Lua: it is analogous to run, but allows to run
computations with a custom error conversion strategy.
- New function runWithConverter exported from Foreign.Lua.Core.Types
and Foreign.Lua.Core; like run', but takes a custom state.
- New function unsafeRunWith exported from Foreign.Lua.Core.Types
and Foreign.Lua.Core; runs a computation without proper error
handling.
- New function errorConversion exported from Foreign.Lua.Core.Types
and Foreign.Lua.Core: extract the error conversion strategy from
the Lua type.
- New function throwErrorAsException exported from
Foreign.Lua.Core.Error and Foreign.Lua.Core: throws a Lua error as
Haskell exception, using the current error conversion strategy.
- Function runWith is moved from module Foreign.Lua.Core to
Foreign.Lua.Util.
- The module Foreign.Lua.Utf8 is now exported.
0.5.6
=====
- Fixed incompatible config version error.
0.5.5
=====
- Fix divide by zero error when screen size it too small.
- Significant reduction in CPU usage.
1.0.1.0
* Backwards-compatible support for bytestring ^>= 0.11 (#15)
1.0.0.0
* Merged omnibus PR doing a variety of things in (#10):
- Improves performance by 3-4x for encode, 4-5x for decode.
- The decode signature returning the tuple and actually returns an
error message with offset. The signature will now be ByteString ->
Either String ByteString.
- Actually tests using the test vectors defined in the RFC, and uses
property tests to ensure invariants hold.
- Adds lenient decoders to the API
- Adds -XTrustworthy annotations to the relevant exposed modules
- Rewrites the haddocks to be more up to date and fancy-styled.
- Adds benchmarks to the .cabal file so they can be run at toplevel,
and make them better.
- Bumps the Cabal version to 1.12
Because of the breadth of this change, we are calling this a new epoch
for the base16-bytestring library. Hence, the version 1.0.0.0.
0.1.1.7
- Fix some bugs in lazy decoding (#8).
1.2.0.1
* Package update: support for bytestring >=0.11
1.2.0.0
* Security fix: reject non-canonical base64 encoded values - (#38)
fixing issue #24.
* Security fix: reject bytestrings with improper padding that can be
"completed" by the unpadded-Base64url workflow, and homogenize error
messages (#33)
* Test coverage expanded to 98% of the library. All critical paths
covered.
1.1.0.0
* joinWith has been removed (#32)
* Bugfix: decode formerly allowed for padding chars to be interspersed
in a valid base64-encoded string. This is now not the case, and it
is fully spec-compliant as of #31
* The default behavior for Base64url decode is now to support
arbitrary padding. If you need strict padded or unpadded decode
semantics, use decodePadded or decodeUnpadded.
* Added strict unpadded and padded decode functions for Base64url
(#30)
* Added unpadded encode for Base64url (#26).
1.0.0.3
* Made performance more robust (#27).
* Improved documentation (#23).
* Improved the performance of decodeLenient a bit (#21).
1.5.6.0
* Make Show Value instance print object keys in lexicographic order.
1.5.5.1
* Fix a bug in FromJSON QuarterOfYear instance.
1.5.5.0
* Add instances for Month, Quarter and QuarterOfYear (from time-1.11),
thanks to Oleg Grenrus.
* The aeson repository has been moved to the haskell github
organization!
1.5.4.1
* Use Text.Encoding.decodeLatin1 to speed up ASCII string decoding,
thanks to Dmitry Ivanov.
* Support bytestring 0.11.* and th-abstraction 0.4.*, thanks to Oleg
Grenrus.
1.5.4.0
* Add instances for ToJSONKey and FromJSONKey to Const, thanks to Dan
Fithian.
* Add support for template-haskell 2.17, thanks to Galen Huntington.
* Documentation typo fix, thanks to Jean-Baptiste Mazon.
1.5.3.0
* Add instances for types in strict and data-fix packages, thanks to
Oleg Grenrus.
* CPP cleanup, thanks to Oleg Grenrus.
* Instances for dlist's Data.DList.DNonEmpty.DNonEmpty, thanks to Oleg
Grenrus.
1.5.2.0
* Add Ord Value instance, thanks to Oleg Grenrus.
* Export rejectUnknownFields from Data.Aeson
1.5.1.0
* Add instances for these, thanks to Oleg Grenrus.
1.5.0.0
* Fix bug in rejectUnknownFields not respecting fieldLabelModifier,
thanks to Markus Schirp.
* GFromJSON members are no longer exported from Data.Aeson(.Types), if
you are using gParseJSON consider switching to gParseJSON', thanks
to Oleg Grenrus.
* Aeson no longer accepts unescaped control characters, thanks to Oleg
Grenrus.
* Remove CoerceText since GHC >=7.8 has Coercible, thanks to Oleg
Grenrus.
* Rename the GToJSON class to GToJSON' and expose it, thanks to Oleg
Grenrus.
1.4.7.1
* GHC 8.10 compatibility, thanks to Ryan Scott.
1.4.7.0
Long overdue release (once again), so there's quite a bit of stuff
included even though it's a "minor" release. Big thanks to all the
contributors, the project would not exist without you!
Special thanks to Oleg Grenrus and Xia Li-Yao for reviewing tons of
stuff.
New stuff:
* Add rejectUnknownFields to Options which rejects unknown fields on
deserialization. Useful to find errors during development, but
enabling this should be considered a breaking change as previously
accepted inputs may now be rejected. Thanks to rmanne.
* FromJSON instance of Ratio a now parses numbers in addtion to
standard {numerator=..., denumerator=...} encoding. Thanks to
Aleksey Khudyakov.
* Add more information to parse errors, including a sample of the
surrounding text. Hopefully this will lead to less "Failed to read:
satisfy" confusion! Thanks to Sasha Bogicevic. We expect some
downstream test suites to break because of this, apologies in
advance. Hopefully you will like the improvement anyway :-)
* Add parseFail to Data.Aeson.Types. parseFail = fail but doesn't
require users to know about MonadFail. Thanks to Colin Woodbury.
* Make Template Haskell type family detection smarter when deriving
ToJSON1 instances, thanks to Ryan Scott.
* Optimize string parsing for the common case of strings without
escapes, thanks to Yuras.
Misc:
* Clean up compiler warnings and switch from base-compat to
base-compat-batteries. Thanks to Colin Woodbury & Oleg Grenrus.
* Clarification & fixes to documentation regarding treatment of Maybe
fields, thanks to Roman Cheplyaka.
* Add documentation for internal development workflows. Thanks to Guru
Devanla.
* Drop support for GHC < 7.8. We've chosen to support older GHCs as
long as it doesn't prevent us from adding new features, but now it
does! Thanks to Oleg Grenrus for the patch.
* Allow generic-deriving 1.13 in test suite.
* Some DRY fixes thanks to Mark Fajkus.
Changes in 0.11.2 [2020.09.30]
* This coincides with the base-compat-0.11.2 release. Refer to the
base-compat changelog for more details.
Changes in 0.11.1 [2020.01.27]
* This coincides with the base-compat-0.11.1 release. Refer to the
base-compat changelog for more details.
5.5.10 [2021.01.21]
* Fix a bug in which deriveBifoldable could generate code that
triggers -Wunused-matches warnings.
5.5.9 [2020.12.30]
* Explicitly mark modules as Safe or Trustworthy.
5.5.8 [2020.10.01]
* Fix a bug in which deriveBifunctor would fail on sufficiently
complex uses of rank-n types in constructor fields.
* Fix a bug in which deriveBiunctor and related functions would
needlessly reject data types whose two last type parameters appear
as oversaturated arguments to a type family.
5.5.7 [2020.01.29]
* Add Data.Bifunctor.Biap.
Changes in 0.8.4 [2020.12.09]
* Backport the Ord instances for TyCon and TypeRep to be available on
GHC 7.0.
Changes in 0.8.3 [2020.09.30]
* Backport new instances from GHC 9.0/base-4.15
- MonadFix and MonadZip instances for Complex
- Ix instances for tuples of size 6 through 15
Changes in 0.8.2 [2020.01.27]
* Backport new instances from GHC 8.10/base-4.14
- Bits, Bounded, Enum, FiniteBits, Floating, Fractional, Integral,
Ix, Real, RealFrac, RealFloat and Storable instances for
Data.Ord.Down
- Functor, Applicative, Monad, Alternative, and MonadPlus instances
for Kleisli
- Functor, Applicative, and Monad instances for (,,) a b and (,,,) a
b c
- Data instances for WrappedArrow and WrappedMonad
- Data and IsList instances for ZipList
- TestEquality instance for Compose
* Backport the Typeable (() :: Constraint) instance to be available on
GHC 7.8.
5.0.8 [2020.12.30]
* Explicitly mark modules as Safe or Trustworthy.
* The build-type has been changed from Custom to Simple. To achieve
this, the doctests test suite has been removed in favor of using
cabal-docspec to run the doctests.
5.0.7 [2020.12.15]
* Move FunctorWithIndex (TracedT m w) instance from lens. This
instance depends on the indexed-traversable package. This can be
disabled using the flag of the same name.
0.6.2.1 [2020.12.30]
* The build-type has been changed from Custom to Simple. To achieve
this, the doctests test suite has been removed in favor of using
cabal-docspec to run the doctests.
0.6.2 [2020.04.10]
* Make the Distributive instance for Tagged poly-kinded.
- Fixing comments on batch report, now compatible with PHP 7
- Try to fix recurring problems with test runs hanging when the last
test requires a rerun due to a knownbug
- #82 trying to support Python 3.9
Wireshark 3.4.5 Release Notes
What’s New
Bug Fixes
The following vulnerabilities have been fixed:
• wnpa-sec-2021-04[1] MS-WSP dissector excessive memory
consumption. Issue 17331[2].
The following bugs have been fixed:
• TShark does not print GeoIP information Issue 14691[3].
• TShark error when piping to "head" Issue 16192[4].
• Parts of ASCII representation in Packet Bytes pane are missing
Issue 17087[5].
• Buildbot crash output: fuzz-2021-02-22-1012761.pcap Issue
17254[6].
• NDPE attribute of NAN packet is not dissected Issue 17278[7].
• TECMP: reserved flag interpreted as part of timestamp Issue
17279[8].
• Master branch does not compile at least with gcc-11 Issue
17281[9].
• DNS IXFR/AXFR multiple response Issue 17293[10].
• File too large Issue 17301[11].
• Build fails with CMake 3.20 Issue 17314[12].
New and Updated Features
New Protocol Support
There are no new protocols in this release.
Updated Protocol Support
DECT, DNS, EAP, Kerberos, LDAP, MS-WSP, SMB2, Sysdig, TECMP, and WiFi
NAN
New and Updated Capture File Support
pcapng
* Add FunctorClassesDefault, an adapter newtype suitable for
DerivingVia, to Data.Functor.Classes.Generic.
* Fix a bug in which readsPrec1Default/liftReadsPrecDefault would
parse empty data types too strictly.
* Remove instances for Data.Semigroup.Option, which is deprecated as
of base-4.15.0.0.
* Allow building with template-haskell-2.17.0.0 (GHC 9.0).
* Fix a bug in which deriveAll1 would needlessly reject data types
whose last type parameter appears as an oversaturated argument to a
type family.
- Drop support for Perls prior to 5.6
- Fix bug in tests that fail could fail with parallel build
(rt#92313, HAARG++)
- Fixed typo in documentation (rt#90009, dsteinbrunner++)
- Incidentally fixed compatability with Perls that do not have `.` in @INC
(rt#121002)