                        Changes in version 1.7.2                        

  - added an optional Model Context Protocol (MCP) server that exposes a
    curated set of package functions (td_get2(), td_get_current(),
    get_yield_curve(), get_asset_info(), get_td_names()) as LLM-callable
    tools via mcp_server() and mcp_tools(); requires the suggested
    mcptools, ellmer, and jsonlite packages

                 Changes in version 1.7.1 (2026-09-10)                  

  - added td_get2() to retrieve bond data from the Tesouro Transparente
    CKAN portal
    (https://www.tesourotransparente.gov.br/ckan/dataset/taxas-dos-titulos-ofertados-pelo-tesouro-direto)
    with columns matching td_get()
      - updated td_get_current() to use td_get2() and fetch live daily
        prices without deprecation warnings
      - fixed get_yield_curve() (and get.yield.curve()) on Windows by
        specifying Latin1 encoding when parsing Anbima HTML tables,
        adding browser request headers, an SSL certificate fallback, and
        sanitized date extraction
      - deprecated td_get() using lifecycle::deprecate_warn() due to the
        closure of the Tesouro Direto data application in August 2026;
        users should use td_get2()

                 Changes in version 1.7.0 (2026-08-29)                  

  - restored and fixed td_get_current() to reliably fetch daily current
    prices and yields from Tesouro Direto using current-year asset files
      - added get_asset_info() helper function providing bond metadata
        (indexer, coupon structure, descriptions)
      - added visualization functions plot_yield_curve() and
        plot_td_series() built on ggplot2
      - added .rds file caching for parsed Excel files to accelerate
        data loading on repeat reads
      - added option for user-persistent caching in get_cache_folder()
        via tools::R_user_dir or options(GetTDData.persistent_cache =
        TRUE)
      - standardized all function outputs (td_get(), get_yield_curve(),
        td_get_current()) to return tibble data frames (tbl_df)
      - updated get_td_names() with support for NTN-B1 (covering RendA+
        and Educa+ instruments) and optional online CDN check
      - fixed dead return(TRUE) statement in td_get()
      - guarded covr::in_covr() checks in test suite to prevent test
        failures when covr package is missing

                 Changes in version 1.6.0 (2026-06-04)                  

  - implemented parallel file downloading using curl::multi_download to
    speed up asset fetching
      - implemented safe parallel sheet parsing using socket clusters
        (makeCluster and parLapply), improving read speed and preventing
        C++ fork deadlocks
      - optimized sheet-reading loop by accumulating data frames in a
        list and calling bind_rows once
      - vectorized date parsing in td_get to avoid row-by-row sapply
        calls
      - renamed get.yield.curve() to get_yield_curve() and provided a
        deprecated dot-case wrapper for backward compatibility
      - removed unused package dependency purrr from DESCRIPTION Imports
      - removed unused package dependency lubridate from DESCRIPTION
        Suggests and replaced with base R equivalents in tests
      - converted all internal dot-case variables and column names (e.g.
        n.biz.days, ref.date, current.date, possible.names) to
        snake_case
      - fixed and corrected roxygen2 documentation inconsistency details
        for parameters and return values

                 Changes in version 1.5.7 (2025-05-19)                  

  - removed use of pkg humanize (will be removed from cran)

                 Changes in version 1.5.6 (2024-08-20)                  

  - fixed bug at td_get_current(), the api endpoint is no longer
    available.

                 Changes in version 1.5.5 (2024-04-11)                  

  - added td_get_current(), for fetching current TD prices from the
    website.

                 Changes in version 1.5.4 (2023-05-15)                  

  - fixed issue with CRAN check. The vignette could fail in CHECK. The
    vignettes were deleted and the content is now part of Readme.Rmd
    file, which compiles locally.
      - set dependency for R > 4.1.0

                        Changes in version 1.5.3                        

  - deprecated functions download.TD.data() and read.TD.files(). Both
    are replaced by td_get()

                 Changes in version 1.5.2 (2023-01-06)                  

  - it now fails gracefuly when download of files fails.

                 Changes in version 1.5.1 (2022-05-11)                  

  - implemented change for bizdays::holidaysANBIMA (see issue 10)

                        Changes in version 1.5.0                        

  - improved github actions by adding codecov, pkgdown and LICENSE
      - added new tests and functions
      - removed arguments "maturity" and "asset.codes" from
        read.TD.files function

                 Changes in version 1.4.5 (2022-04-06)                  

  - Fixed issue in download related to product NTN-principal issue #8
      - removed "Date" from DESCRIPTION file (seems to be standard now)
      - increases min R version in DESCRIPTION to 4.0.0
      - improved github actions by adding codecov and pkgdown

                 Changes in version 1.4.4 (2022-03-02)                  

  - Fixed issue in cran check for oldrel (use of new pipeline operator,
    which is not available prior to R < 4.1)

                 Changes in version 1.4.3 (2022-02-21)                  

  - Major change in urls from Tesouro Direto (See issue #5)
      - Fixed issue with get.yield.curve()
      - Fixed issue with yields equal to 0 (see issue #3)

                 Changes in version 1.4.2 (2019-10-01)                  

  - Found an alternative address from Anbima. (see issue #1)

                 Changes in version 1.4.1 (2019-07-15)                  

  - Fixed bug in yield function (anbima site is down...). Need to find
    an alternative.

                  Changes in version 1.4 (2019-04-02)                   

  - Fixed bug in name importing of spreadsheets
      - Prices and yield are now cleaned (no values equal to zero)

                  Changes in version 1.3 (2017-09-14)                   

  - Added function for downloading current yield curve from Anbima
      - Fixed typos in vignettes
      - dev version now in github
      - fixed bug for names of NTN-Principal

                 Changes in version 1.2.5 (2016-11-08)                  

  - Added the maturities of the instruments as an extra column in the
    dataframe

                 Changes in version 1.2.4 (2016-08-16)                  

  - The package CHECK process no longer depends on the avaibility of
    Tesouro Direto website. All needed files are now local

                 Changes in version 1.2.3 (2016-05-24)                  

  - Fixed bug in html download. Now using a new function and a new
    algorithm to try the download 10 times before throwing an error

                 Changes in version 1.2.2 (2016-05-22)                  

  - The html structure of the Tesouro Website has changed and that
    resulted in CHECK errors in the package. This update fixed it.
      - Fixed TD names in read function (TD website is a mess!)
      - Now also using input asset.codes in read function

                 Changes in version 1.2.1 (2016-05-04)                  

  - Fixed bug in read.td.files (it was not reading data after 2012
    because of change of output type given switch from xlsx:read.xlsx to
    readxl::read_excel)

                  Changes in version 1.2 (2016-04-30)                   

  - Now using readxl::read_excel, a better excel reader, FASTER and
    without the java requirements
      - Additional error checks

                        Changes in version 1.1.0                        

  - Added a test for internet connection
      - Added a new option for overwriting or not the downloaded excel
        files (saves a lot of time for large batch downloads!)
      - Fixed typos and improved the text in the vignette

                        Changes in version 1.0.0                        
