Releases: danvergara/morphos
Releases · danvergara/morphos
v0.6.0
feat: add improvements to the http server (#65) * chore(main): Add graceful shutdown to the http service * build(compose): add a health check to the compose file * build(main): rename the temporary path environment variable * build(make): add changes to the makefile * fix(templates): fix zip files preview * fix(docker): add non-root user to the dockerfile * fix(templates): shorten the modal title * build(make): set the build target as prerequisite * feat(main): add api router * refactor(main): refactor the functions and handlers that are responsible to convert input files * docs(README): add documentation on how to use the api
v0.5.0
feat: add support for ebooks (#63) * feat(documents): add support to convert pdf files to epub * refactor(documents): refactor the conversion from pdf to docx * ci(actions): install calibre on ci * refactor(documents): refactor the conversion from pdf to image so it does not leave remaining files in the tmp directory longer than needed * build(docker): install calibre in the image * feat(ebooks): add support for ebooks specially epub * feat(ebooks): add epub to mobi * feat(ebooks): add support for mobi to epub * feat(ebooks): add support for mobi to pdf * feat(documents): add support for pdf to mobi * refactor(files): refactor the methods that call the ebook-converter binary by creating a new fuctions * refactor(csv): add small changes to the csv file * docs(main): add more doc comments to the main file * docs(readme): add matrices to show the new file formats supported
v0.4.0
feat: add dark mode (#58) * feat(templates): add a button to switch between dark and light modes * feat(templates): add js script to handle the switch of the modes when the switch is checked or not * refactor(templates): refactor the js template to use htmx javascript api
v0.3.0
feat: XLSX - CSV (#48) * build(gomod): add tealeg/xlsx as dep * feat(documents): add a csv struct that converts csv to xlsx files * test(document): add test function to test csv-xlsx * feat(xlsx): add a xlsx struct able to convert xlsx files to csv ones * test(documents): add a test function to make sure xlsx - csv works as expected * feat(documents): add changes to integrate the new kind of documents * refactor(csv): remove the outdir * feat(main): add the text kind of document to the main file * docs(readme): add the csv and xlsx kind of documents to the conversion matrix * build(gomod): resolve conflicts on go module
v0.2.0
feat: docx-pdf conversion (#40) * feat(document): add a way to convert pdf to docx using libreoffice * feat(documents): add the ability to convert docx to pdf using libreoffice * test(document): test both new features * ci(github-actions): install libreoffice on github actions * refactor(files): add a new method to the file interface to support mime types as they can differ from the know extensions * refactor(documents): add a new constant to the document package for docx * refactor(files): add the new method to every struct that implements the file interface * build(docker): install libreoffice at the release stage * docs(readme): add a new table on what's new in terms of file conversion * build(dockerfile): replace debian bookworm with debian trixie just to have more up to date image * refactor(pdf): add two buffers as stdout and stderr to see what's goin on at the time to convert pdf to docx * fix(pdf): use %q to make the filename a double-quoted string safely escaped with Go syntax * refactor(pdf): print the stderr when it is not empty * refactor(docx): replicate the changes added to the pdf file
v0.1.1
ci(github-actions): change the permissions to content from read to wr…