This project follows semantic versioning.
Possible header types:
Features
for any new features added, or for backwards-compatible changes to existing functionality.Bug Fixes
for any bug fixes.Breaking Changes
for any backwards-incompatible changes.
- Fix readme badge, as per badges/shields#8671.
AttachmentMeta
: make struct fieldsparent_id
andparent_type
as optional, since they don't appear to be populated in a Get Sheet response.- Add an example
sheet_with_attachments
to confirm that this is now fixed.
- Update model struct name:
Attachment
->AttachmentMeta
- Add support for the following API methods:
- Add method
SmartsheetApi::list_attachments
- Add method
SmartsheetApi::get_attachment
- Add support for the following API methods:
- Add helper struct
RowGetter
to find row(s) in a sheet that match a specified condition. - Add helper struct
CellFactory
which makes it easier to create newCell
s, useful when adding or updating rows in a sheet. - Add fluent methods to
Row
- Add convenience methods to
Row
such asRow::with_cells
- Add new convenience method
SmartsheetApi::get_sheet_with_multi_contact_info
- Also add an example
cell_multi_contact
, which demonstrates how to work withMULTI_CONTACT
cell types in smartsheet.
- Also add an example
- Add method
Sheet::get_row_by_id
- Add method
Sheet::id_to_row
- Add
CellValue::from
implementations, so we can more easily work with standard Rust types such as&str
. - Add
ColumnMapper::from
implementations, so we can more easily create it from aSheet
object, for example.
- Add
level
parameter toget_sheet_with_params
, so it's possible to retrieve the emails forMULTI_CONTACT
cells, for example. - Change parameter definitions that use
Option<T>
to useimpl Into<Option<T>>
instead, so it's possible for the user to just specify aT
as an input. - Update badges used in the docs.
- Trim down and refactor on the project dependencies.
- Make
hyper-rustls
the default TLS implementation, instead ofhyper-tls
. This should work out better for Linux deployments, for example on AWS Lambda. - Add optional and default features.
- Make the library logging opt-in.
- Add an implementation for
CellGetter::name_to_cell
method. - Refactor
ParamBuilder
usage so it conforms a little better to best practices in Rust.
- Comment out the
CellGetter::from_name_to_id
method, since I was fighting too long with the Rust compiler to make it work. I unfortunately ended up losing the battle there.
- Add new supported API methods to client
get_column
,get_column_with_params
get_sheet_by_name
get_column_by_title
- Update to support more query parameters, like filter a
get_sheet
response by a list ofcolumn_ids
- Add some new examples
- Add some new files
CHANGELOG.md
- let's document our changes!CONTRIBUTING.md
- I have docs on how to contribute!
- Add
version-sync
dependency for dev, so we know if we forget to bump the package version in theREADME.md
file!
- Update few methods like
CellGetter.by_name
to return aResult
instead ofOption
.
- Initial Release on crates.io 🎉