Skip to content

v1.4.0

Latest

Choose a tag to compare

@EternalAbby EternalAbby released this 24 Dec 19:35
· 4 commits to main since this release
1c8398b

Version 1.4.0

Welcome to the release of version 1.4.0 of Dependency Injection Extravagant! This is the final release of this repository as it has been deprecated. You can refer to the README file on the repository for more details about this.

After months, I have had fun releasing open-sourced projects onto GitHub, but it is time for a change. Along with the deprecation of this repository, I have decided to move onto Codeberg. Details are irrelevant but my decision is final.

There were some changes in my initial plan in the release note for v1.3.0. Firstly, Timer will not getting an official variant anymore. Secondly, there is no additional module in this release. Not only was it to cut down the amount of work needed to complete this update, but also because I no longer have interests in creating them, especially the variant for Timer.

Overall, I hope to see greater future over on Codeberg!

Release note

In this release, there was a major overhaul in the source code of many files, most of which will receive their own repository after this is released!

This release also focuses heavily on the Matrix module. There are major changes along with some new methods in the module.

Other changes include the deprecation of some modules and minor changes to existing modules.

Pull request: #7

In the pull request, some files are committed without any changes. These are omitted.

Repository

Mirrors to GitHub may be added but this is on low priority and might never be implemented.

  • [UPDATE] README file. Added DEPRECATED NOTICE and Repository links sections.
  • DEPRECATED NOTICE explains some details about the deprecation of this repository as a whole.
  • Repository links directs to the new repository.

Wiki

Includes changes between v1.3.0 to now.

  • [UPDATE] All wiki pages are updated to be up-to-date with DIE v1.4.0.
  • [UPDATE] Changes to _Footer.
  • [UPDATE] Added a mention to tutorials in ! Repository wiki page.
  • [CHANGE] Repository wiki page is now ! Repository. This is to bump up the page thanks to the ordering.
  • [NEW] Added ! Tutorial wiki page. This was the central point for tutorials.
  • [NEW] Added Getting Started with ComplexNumber.
  • [NEW] Added Getting Started with Timer.
  • [FIX] Many spelling mistakes throughout the wiki pages.

ComplexNumber v1.1.3

This release did not focus much on the changes with this module.

Internally, the code structure had been changed so that it matches with a convention. However, this convention had been updated and this module no longer follows it properly. It is planned to be updated to it later on.

This module will get a Codeberg repository.

  • [UPDATE] Function descriptions.
  • [UPDATE] [INTERNAL] Added --!optimize 2 and --!native.
  • [NEW] Added ComplexNumber:raw_clone() raw method. This raw method creates a new RawComplexNumber object using self. This is a raw method variant of ComplexNumber:clone().
  • [CHANGE] __tostring() metamethod and :raw_tostring() raw method no longer use ambiguous characters to represent symbols.
  • [CHANGE] [INTERNAL] Source code follows a code structure convention. However, this has been outdated.
  • [CHANGE] [INTERNAL] Internal type annotations are manually created instead of automatic. This is to reduce errors from happening.
  • [CHANGE] [INTERNAL] isRawComplexNumber() helper function now includes a check for metatable. isModuleObject() helper function now has the original checks from isRawComplexNumber().
  • [CHANGE] [INTERNAL] Other helper functions are changed to account for the changes above.
  • [REMOVED] Inheritance from ComplexNumber object to module. Changed __index() metamethod to point to an internal table for the methods.

ExMath v1.0.1

This module may get its own Codeberg repository. However, there are no plans for this module.

  • [NEW] Added .binet_formula() function. Computes the Binet's formula with input n.

Matrix v1.1.0

This release focuses a lot on this module, so there were a lot of changes done to it.

As promised in v1.3.0, new operations are added. This includes row operations and square matrix operations.

Along with that, a lot of quality of life changes such as improved error handling and error message displays.

Finally, some bugfixes within the module since the last major release.

This module will get a Codeberg repository.

  • [UPDATE] Function descriptions.
  • [NEW] Added error handling messages.
  • [NEW] Added secondary fill behavior in constructors. This allows user-defined tables to be created into an object.
  • [NEW] Added constructors for identity matrix for Matrix and StaticMatrix objects.
  • [NEW] Added elementary row operations for Matrix and StaticMatrix objects.
  • [NEW] Added :row_sub() as a self-imposed elementary row operation. Performs row subtraction instead of row addition. This is created for convenience.
  • [NEW] Added :row_fma() as a self-imposed elementary row operation. Performs multiply and then addition. Does not perform any rounding in the source code. Name taken from fused multiply-add CPU instruction. This is created for convenience.
  • [NEW] Added :sq_diagonal(), :sq_lower_triangular(), and :sq_upper_triangular() methods as square matrix operations.
  • [NEW] Added :trace() and :determinant() methods for Matrix and StaticMatrix objects.
  • [NEW] [INTERNAL] Added helper functions for loose object checks.
  • [NEW [INTERNAL] Added helper functions for object deep copy.
  • [CHANGE] For constructors, defaults fill assume its input is 0. Wiki may provide further explanation.
  • [CHANGE] Renamed ignore_OOB parameter name to clamped.
  • [CHANGE] .__sub() metamethod from Matrix and StaticMatrix to no longer call .__add() and .__mul() to perform computations.
  • [CHANGE] StaticMatrix's .size property has been changed into a read-only table. In other words, it is frozen.
  • [CHANGE] [CRITICAL] Changed row and column operations, like :addrow() to use the snake_case naming convention, like :add_row().
  • [CHANGE] [INTERNAL] Source code follows a code structure convention. However, this has been outdated.
  • [CHANGE] [INTERNAL] Internal type annotations are manually created instead of automatic. This is to reduce errors from happening.
  • [CHANGE] [INTERNAL] Replaced internal checks with a loose version. These are less strict and less expensive.
  • [FIX] Matrix:clr_col() not decrementing internal size properly.
  • [FIX] Matrix:clr_col() boundary check with clamped enabled being off by 1.
  • [FIX] Matrix:transpose() computation was incorrect for any non-square matrix.
  • [REMOVED] Inheritance from objects to module. Changed __index() metamethod to point to an internal table for the methods.
  • [REMOVED] [CRITICAL] DynamicMatrix objects are removed. Changed to Tensor objects. This name is more appropriate to the intention behind this object. As of v1.2.0, this object does not have further functionality.

Timer v1.2.0

Improvements onto this module from the initial commit.

  • [UPDATE] Improved time accuracy for Timer:Resume() and Timer:GetCurrentTime() methods. This was a bugfix.
  • [NEW] :IsActive(), :IsInactive(), and :IsPaused() methods now updates Timer state if needed.
  • [NEW] Added time conversion via __tostring() metamethod.
  • [CHANGE] [INTERNAL] Source code follows a code structure convention. However, this has been outdated.
  • [CHANGE] [INTERNAL] Internal type annotations are manually created instead of automatic. This is to reduce errors from happening.
  • [REMOVED] Inheritance from Timer object to module. Changed __index() metamethod to point to an internal table for the methods.
  • [REMOVED] [CRITICAL] Removed .getTimer() function. This function may cause possible malicious usages which can be a security risk.

[DEPRECATED] Direct v1.2.1

This module has been deprecated. I will no longer maintain this module.

  • [UPDATE] README file. Added DEPRECATED NOTICE.
  • [CHANGE] [EXPERIMENTAL] Internal cache is enabled differently. Now uses a constant variable in the source code.
  • [CHANGE] [INTERNAL] Other minor changes.

[DEPRECATED] TypeCheck v0.4.1

This module is deprecated because there are better runtime type checking modules that are open-sourced, like the t module. TypeCheck was inspired by this module but was never improved enough to have any significant advantages over the aforementioned module.

This module was made mainly as a helper module for runtime type checking. However, other modules in this repository have the type checking within their own source code already.

I may revisit this module another time.

  • [UPDATE] README file.
  • [NEW] [INTERNAL] Added --!optimize 2 for level 2 optimization.
  • [NEW] [INTERNAL] Added --!native for native code generation.
  • [CHANGE] [INTERNAL]

[CANCELLED] TimerRBX

Source code is made available.

Originally, there will be plans for Task and Timestamps. However, these features were never implemented before this module was cancelled.

What's next?

It has been a long ride but Dependency Injection Extravagant repository has come to an end.

I have decided that Codeberg will be the site where I will host my repositories from now on.

ComplexNumber, Matrix, Timer, and maybe ExMath will get their own repository on Codeberg soon. I will be updating their links on the main README file.

It was fun while it lasted!