Releases: Nelson-Gon/urlfix
urlfix version 0.2.2 release notes
urlfix 0.2.2
Script mode now supports updating links in sub-nested directories.
DirURLFix now supports replacement of outdated links in sub-nested directories.
Now supporting ReStructured text (.rst) files.
Added support for RMarkdown (.rmd) files.
A recursive argument was added to script mode. The argument input-file was renamed inpath to reflect that this may be a file or directory.
DirURLFix is now fully recursive.
Extended tests to ensure that recursion works as expected.
Refactored dirurlfix's main replacement method to allow for greater flexibility in recursive replacements.
Fixed a bug due to differences in file orders between Linux and Windows.
Initial support for recursive link updates. See #24.
urlfix version 0.2.1 release notes
-
Download URL is now automated, please release new version as
v-version-number-here
. -
Script mode has been added as a
__main__.py
module. You can now therefore callurlfix
at the command line/Terminal
viapython -m urlfix
. -
A script mode has been added to enable commandline replacement of outdated links. See
#22. -
Fixed issues with links not being replaced following changes to directory replacement.
-
Restored inplace replacement. Using temporary files for now. See
#15 and #10. -
Versioning is now automated. You can now check version number via
urlfix.__version__
-
dirurlfix
is a new module dedicate to directory replacements. -
Fixed issues with markdown links in the format
[]()[]()
not being fully matched.
See #17 -
Fixed issues with double text appearing in the replacement file.
Related to Issue 20. -
Fixed issues with URLs not being matched if they are on the same line.
Issue #20. -
Users are now warned if a target URL is outdated and no newer URL exists.
See #18 -
Fixed issues with text loss in output markdown files. See #16
-
Fixed issues with tests failing when run consecutively
-
Inplace replacement is no longer supported via the
inplace=True
argument. -
Replacement of files now supports adding exceptions that is URLs whose links are known to be valid.
-
Added support for automatic detection of file extensions negating the need to manually specify file formats.
-
Initial support for directory replacements, thanks to nirolada.
urlfix 0.2.0
-
show_parsed_urls
was dropped. Future plans to find a better way to validate matched URLs. -
find_links
was dropped. Everything is now done underreplace_urls
. -
URLFix
is a new class to make it easier to write class methods and access class variables. -
show_parsed_urls
is no longer necessary and may be dropped in future versions. -
replace_urls
was refactored to avoid unnecessary loops that would otherwise slow down the process. -
Extended sanity tests to ensure that input and output files exist.
-
returned_matched
was dropped inreplace_urls
. Useshow_parsed_urls
for low level returns. -
verbose
inreplace_urls
is now more human friendly by providing the actual name of the output file. -
Updated
testurls.md
to ensure only markdown like links are replaced. -
The regular expression in
find_links
was replaced with a more robust one. -
visit_urls
was renamed toreplace_urls
and extended to allow inplace replacement (or not)
as well as writing to an output file. -
fixurls
was renamed tourlfix
. -
check_url
was removed but may be replaced. -
Add more sanity checks to ensure that the regular expressions used work as detected.
-
Made expected formats and return types more explicit.
-
Initial support for tests.
-
Fixed issues with installation
urlfix 0.1.0
- Initial release to preserve name on PyPI.
urlfix version 0.2.0 release notes
Welcome to urlfix's changelog
urlfix 0.2.0
-
show_parsed_urls
was dropped. Future plans to find a better way to validate matched URLs. -
find_links
was dropped. Everything is now done underreplace_urls
. -
URLFix
is a new class to make it easier to write class methods and access class variables. -
show_parsed_urls
is no longer necessary and may be dropped in future versions. -
replace_urls
was refactored to avoid unnecessary loops that would otherwise slow down the process. -
Extended sanity tests to ensure that input and output files exist.
-
returned_matched
was dropped inreplace_urls
. Useshow_parsed_urls
for low level returns. -
verbose
inreplace_urls
is now more human friendly by providing the actual name of the output file. -
Updated
testurls.md
to ensure only markdown like links are replaced. -
The regular expression in
find_links
was replaced with a more robust one. -
visit_urls
was renamed toreplace_urls
and extended to allow inplace replacement (or not)
as well as writing to an output file. -
fixurls
was renamed tourlfix
. -
check_url
was removed but may be replaced. -
Add more sanity checks to ensure that the regular expressions used work as detected.
-
Made expected formats and return types more explicit.
-
Initial support for tests.
-
Fixed issues with installation
urlfix 0.1.0
- Initial release to preserve name on PyPI.
urlfix: Check and Fix Outdated URLs
Welcome to urlfix's changelog
urlfix 0.1.0
-
check_url
was removed but may be replaced. -
Add more sanity checks to ensure that the regular expressions used work as detected.
-
Made expected formats and return types more explicit.
-
Initial support for tests.
-
Fixed issues with installation
-
Initial release to preserve name on PyPI.