Skip to content

Release 1.0.0: URL Corrections #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jul 22, 2024
Merged

Release 1.0.0: URL Corrections #2

merged 38 commits into from
Jul 22, 2024

Conversation

MooVC
Copy link
Owner

@MooVC MooVC commented Jul 22, 2024

No description provided.

MooVC and others added 30 commits May 29, 2024 23:23
- Params based extension generation for **Array** types, supporting additive operations.

### Fixed

- **Builder<T>** is now correctly invoked by the generated extension, applying the returned instance to the subject.
- **Class** instance **initialization** now correctly sets each member, including properties annotated with **Ignore**.
- The **generated constructor** for **partial record** types now correctly accounts for generic type parameters.
- Params based extension generation for types deriving from **ICollection<T>** that adhere to the **new()** constraint, supporting additive operations.
- Params based extension generation for **IEnumerable<T>**, **IReadOnlyCollection<T>** and **IReadOnlyList<T>**, supporting additive operations.
- The default descriptor for properties of type ``bool`` or ``bool?`` will now be the same name as the property, instead of ``With{PropertyName}``.

### Fixed

- An extension accepting a ``Builder<T>`` parameter is no longer generated for value types.
- An extension accepting a ``Builder<T>`` parameter is no longer generated for value types.
- Analyzer FY0002 that issues a Warning whenever the value provided for the Descriptor attribute is deemed unsuitable for use as a method name.
- README.md to Nuget package.
- Security Policy.
- Analyzer FY0001 that issues a Warning whenever the Fluentify attribute is attached to a class that does not have an accessible default constructor.
- Analyzer FY0003 that issues a Suggestion whenever the Ignore attribute is attached to a property that is already disregarded by Fluentify.
- Analyzer FLTFY01 that issues a Warning whenever the Fluentify attribute is attached to a class that does not have an accessible default constructor.
- Analyzer FLTFY02 that issues a Suggestion whenever the Descriptor attribute is attached to a property that is disregarded by Fluentify.
- Analyzer FLTFY03 that issues a Suggestion whenever the Descriptor attribute is attached to a property on a type that is not annotated with Fluentify.
- Analyzer FLTFY04 that issues a Warning whenever the value provided for the Descriptor attribute is deemed unsuitable for use as a method name.
- Analyzer FLTFY05 that issues a Suggestion whenever the Ignore attribute is attached to a property on a type that is not annotated with Fluentify.
- Analyzer FLTFY06 that issues a Suggestion whenever the Ignore attribute is attached to a property that is already disregarded by Fluentify.
- README.md to Nuget package.
- Security Policy.
- The Builder<T> delegate is now public, enabling generated extensions to be called from outside the scope of the current assembly.
- Auto Instantiation extension overloads to use the `Func<T, T>` delegae in place of `Builder<T>`, addressing a warning relating to ambigious types when an assembly referencing Fluentify is referenced by another assembly that also uses Fluentify.
- Nuget package metadata.

### Removed

- The BuilderDelegateGenerator, used to generate the Builder<T> delegate, formally used by Fluentify to support Auto Instantiation and onward configuration.
- Nuget metadata to include DevelopmentDependency, instructing consumers to set PrivateAssets to all.
- Nuget metadata to include PackageReadmeFile and PackageTags.
Signed-off-by: MooVC <50200071+MooVC@users.noreply.github.com>
Signed-off-by: MooVC <50200071+MooVC@users.noreply.github.com>
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.64%. Comparing base (56d7431) to head (02c9fc4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   94.64%   94.64%           
=======================================
  Files          83       83           
  Lines        1120     1120           
  Branches       93       93           
=======================================
  Hits         1060     1060           
  Misses         38       38           
  Partials       22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MooVC MooVC merged commit c3794ea into master Jul 22, 2024
4 checks passed
@MooVC MooVC deleted the release/1.0.0 branch July 22, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant