Skip to content

Commit

Permalink
Update Project.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
co1emi11er2 committed Apr 22, 2024
1 parent b01d7e5 commit dbe62f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
TestHandcalcFunctions = "6ba57fb7-81df-4b24-8e8e-a3885b6fcae7"

[compat]
AbstractTrees = "0.4"
CodeTracking = "1.3"
LaTeXStrings = "1.3"
Latexify = "0.16"
Expand Down

2 comments on commit dbe62f3

@co1emi11er2
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

Release notes:

Added Features

  • Recursion through functions now works
  • @handcalcs macro suggested to be used for all cases now
  • not_funcs keyword to pass functions you do not want to unroll

Breaking changes

  • The @handcalcs macro will now automatically try to "unroll" the expressions within a function when the expression has the following pattern: variable = function_name(args...; kwargs...).
  • One issue that can arise are for the functions that you do not want to unroll. Consider the expression: y = sin(x) or y = x + 5. Both of these expressions match the format: variable = function_name(args...; kwargs...) and would be unrolled. This would result in an error since these functions don't have generic math expressions that can be latexified defining the function. You will need to use the not_funcs keyword to manually tell the @handcalcs macro to pass over these functions. Some of the common math functions that you will not want to unroll are automatically passed over.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/105350

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.0 -m "<description of version>" dbe62f3c350632dd1f2b7faab22fb85f995c7380
git push origin v0.3.0

Please sign in to comment.