Repository navigation
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 NOTICEandRepository linkssections. DEPRECATED NOTICEexplains some details about the deprecation of this repository as a whole.Repository linksdirects 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
! Repositorywiki 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 2and--!native. - [NEW] Added
ComplexNumber:raw_clone()raw method. This raw method creates a newRawComplexNumberobject usingself. This is a raw method variant ofComplexNumber: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 fromisRawComplexNumber(). - [CHANGE] [INTERNAL] Other helper functions are changed to account for the changes above.
- [REMOVED] Inheritance from
ComplexNumberobject tomodule. 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 inputn.
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
fillbehavior in constructors. This allows user-defined tables to be created into an object. - [NEW] Added constructors for identity matrix for
MatrixandStaticMatrixobjects. - [NEW] Added elementary row operations for
MatrixandStaticMatrixobjects. - [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 fromfused multiply-addCPU 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 forMatrixandStaticMatrixobjects. - [NEW] [INTERNAL] Added helper functions for loose object checks.
- [NEW [INTERNAL] Added helper functions for object deep copy.
- [CHANGE] For constructors, defaults
fillassume its input is0. Wiki may provide further explanation. - [CHANGE] Renamed
ignore_OOBparameter name toclamped. - [CHANGE]
.__sub()metamethod fromMatrixandStaticMatrixto no longer call.__add()and.__mul()to perform computations. - [CHANGE]
StaticMatrix's.sizeproperty 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 thesnake_casenaming 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 withclampedenabled 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]
DynamicMatrixobjects are removed. Changed toTensorobjects. 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()andTimer: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
Timerobject tomodule. 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 2for level 2 optimization. - [NEW] [INTERNAL] Added
--!nativefor 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!