Releases: rusterlium/rustler
Releases · rusterlium/rustler
rustler-0.26.0
What's Changed
- Improve documentation of derive macros by @turion in #429
- Document the usage of
schedule
flag fornif
macro by @philss in #444 - Update links in the docs and bump ex_doc by @philss in #445
- Fix compilation error of
Result
alias by @SeokminHong in #448 - Support more generalized macro for enum by @SeokminHong in #440
- ci: Test OTP 25 and remove OTP 22 by @evnu in #455
- Change map helper functions' arguments by @SeokminHong in #453
- Migrate GitHub Actions to erlef/setup-beam by @kianmeng in #457
- Adds Env.whereis_pid by @Qqwy in #456
- Fix moving out terms by @SeokminHong in #458
- Add support for large integers by @thomas9911 in #454
- Prepare rustler_bigint release by @evnu in #465
- Disambiguate
encode
anddecode
by @SeokminHong in #466 - Support .toml file extension for .cargo/config.toml by @evnu in #468
- Derive Clone and Copy for TermType by @dvic in #476
- Tagged enum usability & performance improvements by @cleaton in #482
- Fix lifetime handling in rustler_codegen by @evnu in #483
New Contributors
- @turion made their first contribution in #429
- @SeokminHong made their first contribution in #448
- @Qqwy made their first contribution in #456
- @dvic made their first contribution in #476
- @cleaton made their first contribution in #482
Full Changelog: rustler-0.25.0...rustler-0.26.0
rustler-0.25.0
What's Changed
- import NewBinary in lib by @ayrat555 in #436
- Add
Term::map_from_pairs
by @philss in #437 - Fix macos target in warning by @evnu in #438
- Abort compilation on macos if linker arguments are missing by @evnu in #439
- ci: Add macos runner by @evnu in #401
- Fix snake case warnings for rust analyzer by @philss in #441
- Fix year in changelog entry by @sickill in #442
New Contributors
Full Changelog: rustler-0.24.0...rustler-0.25.0
rustler-0.24.0
What's Changed
- Change supported Elixir and OTP versions by @philss in #415
- Fix typos by @kianmeng in #420
- Remove superfluous 'extern crate' by @evnu in #422
- Bump heck to 0.4 by @evnu in #421
- Relax Jason version requirement to ~> 1.0 by @aj-foster in #427
- file extensions should be set based on the compile target by @cocoa-xu in #423
- add
NewBinary
(enif_make_new_binary
) by @dlesl in #379 - Make TermType derive Eq and PartialEq by @hammsvietro in #432
- Rustler v0.24 by @evnu in #435
New Contributors
- @aj-foster made their first contribution in #427
- @cocoa-xu made their first contribution in #423
- @hammsvietro made their first contribution in #432
Full Changelog: rustler-0.23.0...rustler-0.24.0
rustler-0.23.0
What's Changed
- Define supported versions of OTP and Elixir by @evnu in #387
- Remove DUMMY variant from ErlNifCharEncoding by @evnu in #390
- codegen: change RaiseAtom to RaiseTerm by @dlesl in #378
- Crash if metadata cannot be retrieved by @evnu in #398
- Remove remaning code from unsupported NIF versions by @philss in #395
- cargo config for all macos architectures by @scrogson in #396
- Add NifException macro by @thomas9911 in #383
- Require step for range by @evnu in #399
- ci: Test against v1.12 by @evnu in #393
- Rewrite build of NIF APIs in Rust by @philss in #397
- Add FreeBSD support by @madninja in #404
- Fix unused var warning - rustler_mix by @philss in #407
- Implement Hash and [Partial]Eq for binary types by @JayKickliter in #400
- implement hashing for term (rebased) by @hazardfn in #410
- Fix "mix rustler.new" on Elixir 1.13 by @philss in #414
- Test mix rustler.new with Elixir v1.13 by @evnu in #416
- Prepare CHANGELOG for v0.23 by @evnu in #418
New Contributors
Full Changelog: rustler-0.22.2...rustler-0.23.0
rustler-0.22.2
What's Changed
- Don't call cargo when skip_compilation? is true by @karolsluszniak in #389
New Contributors
- @karolsluszniak made their first contribution in #389
Full Changelog: rustler-0.22.1...rustler-0.22.2
rustler-0.22.1
What's Changed
- Replace release.sh with prepare_release.sh by @evnu in #369
- Fix clippy by @evnu in #372
- Fix generic types for untagged enum codegen by @evnu in #371
- Allow specifying a channel for the system rustc by @jflatow in #347
- Fix project repo URL in error message by @ericlathrop in #373
- Point to HexDocs base URL for Rustler in lib.rs by @brainsnail in #384
- Extend rustler_mix to handle local dependencies with external_resources by @evnu in #386
New Contributors
- @jflatow made their first contribution in #347
- @ericlathrop made their first contribution in #373
- @brainsnail made their first contribution in #384
Full Changelog: rustler-0.22.0...rustler-0.22.1
rustler-0.22.0
What's Changed
- Fix module namespace by @mfeckie in #237
- Fix a Clippy warning (Clippy 0.0.212 / Rust 1.38.0) by @tatsuya6502 in #242
- Update unreachable requirement from 0.1 to 1.0 by @dependabot-preview in #243
- Remove superfluous use statements from proc-macros by @evnu in #240
- Update which requirement from 2 to 3 by @dependabot-preview in #247
- Bump dependencies and refactor attribute retrieval by @evnu in #234
- Support target pointer width. by @scrogson in #233
- Replace mem::uninitialized by MaybeUninit by @filmor in #239
- Fall back to precompiled API snippet if gen_api.erl fails by @filmor in #238
- Rename macros by @scrogson in #249
- Add a simple Debug impl for Error by @filmor in #248
- use $crate::Term in
init!
macro by @scrogson in #255 - Refactor codegen by @evnu in #251
- codegen: Support newtype and tuple structs by @evnu in #259
- GitHub Actions by @scrogson in #253
- Fix Binary Compilation by @scrogson in #261
- Deduplicate field atoms by @evnu in #257
- Adjust the test matrix by @scrogson in #262
- Instruct on
:rustler
instead:rustler_mix
by @BurntCaramel in #265 - Test rustler_mix generated files by @evnu in #266
- rustler_mix: Mix format by @evnu in #268
- rustler_mix: Fix template test on Elixir < 1.9 by @evnu in #269
- Revamp rustler_mix documentation by @evnu in #270
- Fix replacing rustler version in release script by @evnu in #267
- Delete config.exs by @josevalim in #271
- NIF Codegen rework by @scrogson in #264
- Added Error::Term for returning
{:error, <term>}
by @elbow-jason in #252 - Test renaming a NIF by @evnu in #278
- Validate NIF attributes by @evnu in #279
- Update Github workflow for clippy/rustfmt by @filmor in #273
- Windows long is always 4 bytes wide by @filmor in #285
- Do not include toml in runtime by @evnu in #288
- Make OwnedBinary NifReturnable by @szlend in #289
- Fix Segfault in OwnedEnv::send_and_clear by @scrogson in #291
- Rename Pid to LocalPid by @filmor in #292
- Revert "Remove superfluous use statements from proc-macros (#240)" by @evnu in #298
- Drop dependency on 'which' crate by @evnu in #295
- Tag releases and make release script more resilient by @evnu in #280
- Derive Debug for rustler::dynamic::TermType by @evnu in #301
- Allow using reserved keywords as field names in codegen by @evnu in #303
- Speed up generated decoder compilation times by @evnu in #300
- Remove lazy_static build dependency by @evnu in #304
- Run github actions on windows-latest by @evnu in #305
- Add Elixir v1.10 to github actions by @evnu in #306
- Add changelog entries for v0.22 by @evnu in #277
- Refactor compilation by @scrogson in #275
- Bump earmark to v1.4.4 by @evnu in #309
- Readd Copy and Clone on Binary by @filmor in #316
- Remove superfluous parantheses by @evnu in #318
- Implement Encode/Decode for HashMap by @evnu in #314
- Make the generated nif_init private by @filmor in #322
- Fix clippy lints by @evnu in #320
- ci: Test OTP 23 by @evnu in #325
- Fix clippy lint by @evnu in #328
- Remove OwnedBinary's release flag by @JayKickliter in #327
- Improve error messages on failure to derive by @JayKickliter in #329
- Improve binary documentation by @JayKickliter in #330
- Ignore target directory that produced by cargo by @wingyplus in #332
- Fix warnings by @thiamsantos in #334
- Fix clippy lints by @evnu in #337
- ci: Use stable toolchain for clippy and format by @evnu in #341
- Update rust linker flags to apply to macOS by @jtdowney in #340
- ci: Fix adding erlang to PATH in windows runnner by @evnu in #342
- ci: Run jobs on wednesday night by @evnu in #344
- Fix clippy lints by @evnu in #346
- ci: Switch from actions/setup-elixir to erlef/setup-elixir by @evnu in #349
- Disable lint for rustler_sys_api by @evnu in #352
- Fix f32 type conversion to be safe by @Virviil in #350
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #355
- Duplicate "add" function in the docs. by @likeanocean in #356
- Misc doc changes by @kianmeng in #353
- Update supported NIF API version to 2.16 by @filmor in #358
- Add workaround for missing lib by @evnu in #361
- Add deprecation note to CHANGELOG by @evnu in #362
- clippy: Allow breaking convention to avoid breaking change by @evnu in #366
- Add UPGRADE.md for v0.22 by @evnu in #365
- Set @Version in Mixfile on release by @evnu in #367
New Contributors
- @mfeckie made their first contribution in #237
- @tatsuya6502 made their first contribution in #242
- @dependabot-preview made their first contribution in #243
- @BurntCaramel made their first contribution in #265
- @josevalim made their first contribution in #271
- @elbow-jason made their first contribution in #252
- @szlend made their first contribution in #289
- @wingyplus made their first contribution in #332
- @thiamsantos made their first contribution in #334
- @jtdowney made their first contribution in #340
- @Virviil made their first contribution in #350
- @likeanocean made their first contribution in #356
Full Changelog: rustler-0.21.2...rustler-0.22.0
v0.21.0
Added
- Support for OTP22.
- Rust linting with clippy.
- Support for decoding IOLists as binaries,
Term::decode_as_binary
.
Changes
rustler_codegen
is now reexported by therustler
crate. Depending on therustler_codegen
crate is deprecated.erlang_nif-sys
has been renamed torustler_sys
and vendored into the rustler repo.- Replaced the hand-rolled TOML parser in
rustler_mix
with thetoml-elixir
package. - Improve error messages for derived encoders/decoders.
- Rust
bool
now corresponds only to booleans (false
,true
) in Elixir. Previously,nil
andfalse
were both decodable to
bool
. To use the previous behaviour, aTruthy
newtype was introduced.
Release 0.13.0
rustler release 0.13.0