All Versions
7
Latest Version
Avg Release Cycle
24 days
Latest Release
154 days ago

Changelog History

  • v2.0.1 Changes

    December 04, 2020

    v2.0.1 same as v1.2.0, releasing v2 because of the pkg.go.dev cache issues.
    please use v2 not v1.

  • v1.2.0 Changes

    December 04, 2020

    code is now more meaningful
    โž• added available slices mechanism to use remaining []byte from the filtered parts
    โž• added MaxParseCount variable to limit parse loop
    filter function now gets a []byte as a parameter
    ๐Ÿšš Storage removed
    ๐Ÿšš Marshaler removed
    โœ‚ removed Header related things from parser.Parse function,
    โž• added Part struct to access data easily
    โž• added NewParser function,
    ๐Ÿ“œ Options renamed to ParserOptions,
    ๐Ÿšš Parse method removed from Options,
    ๐Ÿ“œ Options struct not implements Parser anymore, parser implements Parser interface now,
    ๐Ÿ“œ parser can be created with NewParser function,
    now using Part struct instead of Header,
    not using Parts struct anymore, now using Request struct.

  • v1.1.1 Changes

    August 13, 2020

    ๐Ÿ›  fixed saving without extensions
    โž• added filtering what data to save with process.StoreWithout

  • v1.1.0 Changes

    August 11, 2020

    removed WithMultipartReader, WithParseMultipartForm options.
    library just uses multipart.Reader() now.
    โž• added ParseButMax function, so you can set a maxFileSize and maxFileCount limit to parser.
    ๐Ÿ›  you can give prefixes when storing the file now.

    process.Store("user\_image\_")// it will be like this in filesystem// user\_image\_1.jpg// user\_image\_2.png// user-image\_3.whatever
    

    ๐Ÿ–จ process.Filenames() for getting names of files
    ๐Ÿ–จ process.ContentTypes() for getting content types of files
    ๐Ÿ–จ process.Length() for getting total count of files

    // prints filenamesfmt.Println(process.Filenames())// prints total files countfmt.Println(process.Length())// prints content types of filesfmt.Println(process.ContentTypes())
    

    ๐Ÿ†• new struct Options for all parsing purposes.
    ๐Ÿ†• new struct Parts for all file operations.

  • v1.0.2 Changes

    August 10, 2020

    removed WithMultipartReader, WithParseMultipartForm options.
    library just uses multipart.Reader() now.
    ๐Ÿ›  you can give prefixes when storing the file now.

    process.Store("user\_image\_")// it will be like this in filesystem// user\_image\_1.jpg// user\_image\_2.png// user-image\_3.whatever
    

    ๐Ÿ–จ process.Filenames() for getting names of files
    ๐Ÿ–จ process.ContentTypes() for getting content types of files
    ๐Ÿ–จ process.Length() for getting total count of files

    // prints filenamesfmt.Println(process.Filenames())// prints total files countfmt.Println(process.Length())// prints content types of filesfmt.Println(process.ContentTypes())
    

    ๐Ÿ†• new struct Options for all parsing purposes.
    ๐Ÿ†• new struct Parts for all file operations.

  • v1.0.1 Changes

    July 18, 2020

    โž• added json extracting from request

  • v1.0.0

    July 15, 2020