Skip to content

Releases: clucompany/include_tt

v1.1.0

03 Aug 21:18
fd54021

Choose a tag to compare

  • package: update the library version to 1.1.0, this version will not be backward compatible, but I would like to rethink some things in the library a little
  • feat: rename common macro include_tt to inject, in future all # should define include type tt, array, str , ...
  • feat: improve documentation, rework examples, add more descriptions
  • feat: make it so that you no longer have to write ["test" "2"] to concatenate a file path, you can now just write "test" "2", but the old syntax is still preserved and works
  • feat: remove the requirement to add ! to the type of included data, this made sense before because it was the name of the macro, but now it is the data type
  • refactoring: fix build errors received during testing
  • feat: add the ability to escape # symbols in the inject macro via the - symbol. At the moment, make this abilit
  • y not the default, but via the escape_symbol feature
  • fix: fix the range for tokens that were replaced with empty ones, although this does not give any errors but it is po
  • ssible that someday it will
  • refactoring: replace old pieces of code related to Include with Inject (InjectTT, InjectCTT, InjectStr, ...)
  • feat: instead of functions with additional break functionality, add the marker AS_IS:, which excludes further par
  • sing and adds the macro structure after itself as is
  • feat: now the main macro inject accepts tt, ctt, arr/array, str, defining the type of data inclusion
  • refactoring: change the marker #POINT_TRACKER_FILES; to #POINT_TRACKER_FILES: to give more idea that it is a marker

What's Changed

Full Changelog: v1.0.7...v1.1.0

v1.0.7

03 Aug 18:44
e1e516b

Choose a tag to compare

  • feat: add the marker #POINT_TRACKER_FILES;. Initially, this marker is empty, but when any file is opened, it will contain code that must be included in the source code to track files and recompile the project depending on their changes. The marker can be placed anywhere, but it must be located above the group of the called macro.
  • feat: add to PointTrack the ability to control up to three tokens to further improve code generation (for example,
  • adding a module space that can be more easily controlled via declarative macros)
  • build: move the include.rs file out of macros/include.rs since all macros are in one file and no other directory is needed
  • refactoring: general improvement of the include_tt codebase, reworking and simplifying some methods
  • refactoring: slightly improve the codebase of ExprLit, ExprLitTryNewErr, shorten some moments
  • refactoring: rename ttry to tq for clarity (short for throw_question, short for tt + ?)
  • feat: improve code generator, eliminate dependency on allocator in main macro parsing
  • auto-refactoring: run cargo fmt and accept changes
  • refactoring: remove #![allow(clippy::redundant_field_names)], fix all new warnings generated by clippy
  • refactoring: remove #![allow(clippy::redundant_pattern_matching)], fix all new warnings generated by clippy
  • refactoring: remove #![allow(clippy::needless_return)], fix all new warnings generated by clippy
  • build: raise library version to 1.0.7

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.6

01 Aug 19:07
96d7602

Choose a tag to compare

  • refactor: replace sq_err with throw_sq_err
  • feat: improve error output details
  • fix: fix weird space indent for editorconfig
  • build: update library versions
  • refactor: switching from mandatory feature inline(always) to less mandatory inline
  • refactor: fix warnings for new clippy
  • build: update library version to 1.0.6

What's Changed

Full Changelog: v1.0.5...v1.0.6

v1.0.5

15 Apr 22:31

Choose a tag to compare

Support for new features from Rust 2024, plus some simplifications and minor fixes.

Highlights:

  • Added support for Rust 2024.
  • Updated versions of used libraries.
  • Added formatting fix to the project.
  • Simplified project structure: Removed the for_examples directory and integrated its data into example files.

1.0.4

14 May 13:16
32cd2a0

Choose a tag to compare

  1. updated dependencies
  2. improved documentation
  3. fixed minor bugs in code
  4. removed previously deprecated code
  5. renamed some examples

1.0.3

03 Apr 00:26

Choose a tag to compare

  1. Update readme.md
  2. Update dependencies
  3. Fix break macro test for new Rust compiler versions
  4. Improve examples
  5. Enhance documentation

1.0.2

04 Aug 22:42

Choose a tag to compare

  1. Refactoring ExprLit.
  2. Refactoring include_and_fix_unknown_start_token.
  3. Documentation improvement.
  4. Correction of empty types tt, str, arr.
  5. Improvement of tests.
  6. Minor bug fixes.
  7. Added the keyword #break_search_macro; in situations that require immediate termination of the search for key macros.

1.0.1

27 Jul 15:26

Choose a tag to compare

  1. Correction of licenses.
  2. Adding small tests

1.0.0

23 Jul 16:32

Choose a tag to compare

  1. Published on github.